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.

Dr PR

#45
Mark,

I have no real data to support my skepticism. My single core Pentium 4 XP machine appears as two graphs in the Task Manager CPU Usage History, so it is reporting two CPUs on a single core machine. According to Intel's data sheet for this processor there is one and only one core, although it does have "Hyperthreading."

The OS is apparently running two threads. I have no way to determine if the Vista machine is doing the same as XP (two threads on one core), or if it actually uses both cores in the processor.

I did experiment a bit using Rob's SelectTest file and macro. On the single core XP machine setting DesignCAD's priority to Realtime (highest) had no significant effect on SelectTest timing.

I modified the SelectTest macro to run 100 passes instead of 10.

With Dcad21.exe affinity set to "CPUs" 0 and 1 I got these times (seconds):

Priority
Realtime  39
Normal    41
Low        40

With Dcad21.exe affinity set to CPU 1 only I got this time (seconds):

Priority
Realtime  39

With affinity set to one "CPU" only the useage graph for that "CPU" pegs out at 100%, although Task Manager reports only 53% CPU useage. With affinity set to "CPUs" 0 and 1 neither graph pegs out at 100%, and CPU usage is still 53%. Task Manager reports 559 threads and 45 processes active - 45 processes are listed in the Process tab.

I'll try this on the Vista machine later. I will also try to find a program on the Internet that can figure out how many cores are being used and how many threads each is running.

Note: I had the nVidia performance slider disabled, and had selected "Let the application decide" whether to use performance or quality settings. I enabled the slider and set it to performance, and got essentially the same timing results (40 seconds with Realtime priority).

Phil
DesignCAD user since 1987

Dempsey

With Bob P's "10 * range" increase and dividing by the seconds by 10 then my results are:

Without Info Box -- 1.7 seconds (5 measurements)
With Info Box -- 2.3 seconds (5 measurements)

All four cores show about same increase activity with overall CPU load of 13%.
Dempsey

MarkX

Quote from: Dr PR on December 01, 2011, 04:38:50 PM
Mark,

I have no real data to support my skepticism. My single core Pentium 4 XP machine appears as two graphs in the Task Manager CPU Usage History, so it is reporting two CPUs on a single core machine. According to Intel's data sheet for this processor there is one and only one core, although it does have "Hyperthreading."

Yes, on your single core machine it's actually tracking a virtual core, or thread. Probably they needed to stub it that way so that the code didn't have to change drastically for each type of platform.

Mark