News:

Please note new Forum URL: forum.designcad.com

Main Menu
DesignCAD 3D Max 2027 box
Now available

DesignCAD 2027

Hatches that follow their boundaries, an on-screen dial to turn your model, and a way to find any command by name, in a clean Windows 11 look.

Screen regeneration

Started by Shipmodeler, November 27, 2011, 09:27:52 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

SciGraphics

Rob:
  I just got in on this test business. Ran three times with and without info box. With: 3 sec; without: 2 sec.

Running:
XP Home v2002 SP3

Intel Core 2 CPU
6600 @ 2.40 GHz
2.40 GHz, 3.25 GB RAM
Physical Address Extension

NVIDIA GeForce 7600 GS

Off screen bitmap turned on
Graphics acceleration off

Not sure what all the number mumbo jumbo means.

This is an assembled machine specifically for me as I do scientific illustration on it.
Put together by Mike Pollack of Mighty Mouse Computers (no longer in business).

Jim A., Tucson, AZ

Rob S


Now I'm really cheesed off, I thought I had a fast computer, and I bought Vipre specifically because it was supposed to be low overhead, and here I find myself with the slowest computer of all of you here.

I guess I'll have to try some Dr PR style cleanup, and see if that helps, problem being I have so little time to do it.
User since forever

Bob P

Rob,

Increase the value of "range" to 100 in the macro so it will run for a longer time.
Open up Taskmanager to the Processes tab and sort by CPU.
Run the macro in DC while you see whether anything else is sucking up CPU power.

MarkX

Quote from: Rob S on November 29, 2011, 07:57:47 AM

I wonder why the antivirus would be scanning software once it is already loaded and running? 
I think what some AV does is to scan EVERYTHING that gets written to the disk. The idea is to make sure that a virus hasn't found a back-door to setting itself up on your disk. I'm  pretty sure that DC generates image files while it works. If the AV is scanning these -- or worse, if it locks the file up before it is finished being created -- that will interfere with  DC operation.

Mark

Dr PR

Jim,

What "number mumbo jumbo" are you referring to?

Rob's macro reports the starting and ending times in time of day hours, minutes and seconds. Subtract the last from the first to get the elapsed time in seconds.

Phil
DesignCAD user since 1987

Dr PR

Bob P,

Good idea!

I looked at Task Manager while running the macro on my XP system. Five things were using CPU cycles:

Dcad21.exe              20-35%
csrss.exe               ~25%
explorer.exe              2%
System Idle Process   20-50%
taskmgr.exe              0-2%

csrss.exe is an essential Windows file. Only one copy is running. It spawns process threads.
explorer.exe is the Windows file manager and also is the display controller (writes the timing numbers as the macro runs?).

Isn't it interesting that DesignCAD is running 1/3 of the time or less and the system is idle up to half the time (usually about 25%)?

****

On the Vista 64 machine:

Dcad21.exe*32         23-56% (mostly ~46%)
csrss.exe                 6-11%
explorer.exe              2-6%
System Idle Process   30-40%
taskmgr.exe              2-6%

DesignCAD is getting a larger share of CPU cycles and csrss.exe is running less. There are two csrss.exe files open, maybe one per core. Only one is active when the macro is running.

The system is still idle quite a bit of the time. This doesn't mean it isn't doing anything, it is just doing operating system tasks it normally does between executing other programs.

Rob,

Is your machine running in Administrator mode? Both of my machines are. It might make a difference.

Phil
DesignCAD user since 1987

Rob S

#36
Mine is an I7 2000 processor, and so since DCAD uses only one cor, it runs at 12% CPU.

Other things use various percentages, but theoretically, designcad has one whole core to itself.

If you have dual-core processors, and DCAD is using 50%, then it's actually maxed out.

I think the problem is my video card, Radeon HD 6770M dual mode, and I suspect Designcad isn't turning on the high gear.

I tried the same test on my better half's two year old similarly configured HP laptop, Win 7 64 with a dual core AMD processor and it gets speeds of 2-3 seconds.

Now I'm really bummed, I may have to borrow hers if i want to do Cad.

I did try admin mode on mine, no difference.
User since forever

MarkX

Quote from: Rob S on November 30, 2011, 06:06:01 PM
Mine is an I7 2000 processor, and so since DCAD uses only one cor, it runs at 12% CPU.

In XP, in the task manager, you can watch two histories for the cores (apparently one history for each). When I render in DC, it appears to be making use of both cores, though one more than the other. In the attached, the peaks represent rendering times. The second set of peaks represent the second time rendering, which is slightly lower than the first.  The CPU usage number appears to combine the two peaks, because what I see in one chart is lower than the max CPU and what I see in the other is higher. The aggregate max CPU number I typically see is around 54%.

If your machine has a video card, then maybe some of the CPU work is offloaded to the card, which is why your CPU value is so low. Its possible that DC is better optimized for running off the straight CPU.

Mark

Rob S

#38
Well, for Windows 7 owners who don't already know this, I figured out most of my problem.

I went into "Control Panel, Performance information and tools, adjust visual effects", and found it was set for "best Appearance"

I tried "best Performance" which automatically unchecked all the options, and without even a system restart, my times are now 2-3 seconds also!!!

I've been slowly turning things back on, and so far with everything except the "animate..." and "Fade.." turned back on, I'm still good.

Totally amazed how much difference those settings made, because in fact they don't really affect what I see in the program window.

Now we're cookin'  ;D
User since forever

Dempsey

On my system:

  • without Info Box -- 2 seconds
  • with Info Box -- 70% 2 seconds, 30% 3 seconds
Dempsey

Bob P

Quote from: Dempsey on November 30, 2011, 08:32:01 PM
On my system:

  • without Info Box -- 2 seconds
  • with Info Box -- 70% 2 seconds, 30% 3 seconds

Since the timer only measures in whole seconds, change the "range" value in the macro by a factor of 10 and divide the resulting time by 10 to get a more accurate measured speed.

SciGraphics

Rob:
  I'm really glad to hear that! I don't think XP has that choice between speed and quality. At least I couldn't find it. See, aren't you glad you didn't throw your CPU out the window (even if you do live in a basement)?

  Jim A., Tucson, AZ

Dr PR

I think the performance/quality thing is a video card driver feature. I have it on my XP and Vista 64 machines - both have nVidia video boards with drivers that allow performance/quality settings. On some machines this may show up as a "hardware acceleration" setting - go for maximum acceleration.

Rob, I had forgotten about this - I have both of my cards set for maximum performance. Like you, I can see no visible difference between low and high quality.

I see the dual process window that Mark posted on my single core XP machine. The two "CPUs" are actually two threads running on one CPU. I see the same thing on my dual core Vista 64 machine. I do not know if it represents useage of two cores (I doubt it) or two threads on a single core. I do recall seeing a Task Manager on some machine that showed four processor useage graphs - don't remember where that was now. Again, I have no idea if that was four cores in use, four threads on one core, or a combination. Task Manager isn't very useful for determining that.

Phil
DesignCAD user since 1987

MarkX

Quote from: Dr PR on December 01, 2011, 12:19:12 PM
I see the dual process window that Mark posted on my single core XP machine. The two "CPUs" are actually two threads running on one CPU. I see the same thing on my dual core Vista 64 machine. I do not know if it represents useage of two cores (I doubt it) or two threads on a single core.
Hi Dr Pr,

Why do you doubt it? Its definitely hard to get quality information on this topic, but as far as I can tell, its for-real.

If you go into the process list and right-click on the DC process you can set the core affinity -- set which core handles that process. When you change the affinity, and then challenge your process, you can  see a difference in the two graphs. Setting the DC affinity on mine to CPU 0 and then rendering, one core maxed out at 100% while the other core just sat there. The rendering time may have been as good as when using both cores.

I could see this as a strategy for separating DC from video processing, for instance.

Does your single-core machine let you set affinity? On mine, you can see that they have greyed-out affinities for up to 32 CPU's. They also have a way to set priorities for each process, though I'd be worried to mess with that.

Thanks!
Mark

Rob S


I'm pretty sure the settings I'm talking about above under "Control Panel, Performance information and tools, adjust visual effects",  are strictly windows 7 Eye-candy, and have little to do with the video card.

By the way, I checked and the other HP laptop I tried it on these were already set for maximum performance.

I had already spent quite a bit of time setting the performance settings of my video card, and those made little difference.

By the way, my windows I7 process manager actually shows 8 boxes probably enough to display the activities of all seven cores, even though I've not seen more than 4 of them showing activity at any one time.
User since forever