Dual Core Vs. Single
Author
Discussion

Goochie

Original Poster:

5,804 posts

250 months

Wednesday 27th June 2007
quotequote all
My work PC has an Intel Dual Core 2 processor at 2x1.8 GHz with 2gb RAM. My colleague's has a Pentium 4 at 3.00 GHz. with 1gb RAM.

They run identical software.

Why is it that my machine is noticable slower at number crunching CAD than his? Am I right in thinking that the dual core nonsense is a sales ploy which is only of use when running multiple applications?

The only thing mine does faster, is browsing PH while the CAD is busy.

kiwisr

9,335 posts

238 months

Wednesday 27th June 2007
quotequote all
Maybe your CAD software isn't optimised for dual-core CPUs

groomi

9,331 posts

274 months

Wednesday 27th June 2007
quotequote all
I run CAD software and my Dual Core machines are light years ahead.

chris watton

22,552 posts

291 months

Wednesday 27th June 2007
quotequote all
I use TurboCAD Pro, and that definitly is not optimised for duel core CPUs (although I have a quad core extreme 2.93GHz chip)

ThePassenger

6,962 posts

266 months

Wednesday 27th June 2007
quotequote all
To make full use of a Dual Core (or even a P4 with HT turned on) software needs to be 'SMP aware' a lot of CAD applications 'should be' but might not be by default (different executable, patch/update required). If you run a none SMP application on an SMP system you're in effect only firing on four cylinders of the V8 under the hood, it'll run, but be very rough. You may also need to apply the latests updates to Windows and double check the drivers are good for everything.

Actually, thinking about it, if you're using a hardcore CAD program (AutoCAD and its siblings come to mind) it might be bouncing off a piss poor graphics card, it can and will make use of OpenGL to enhance the performance, if you're cards drivers are old (or ATi, who's OGL performance is poor, even in their workstation offerings) you will also see poor performance.

As you've mentioned 'the other guy' I'm assuming you're at work. Get your pet geeks on the blower and whinge.

ETA: The 1.8Ghz C2D is the entry level unit, the P4 3.0Ghz/3.2Ghz is their top end offering. But you shouldn't be seeing that big a difference.

Edited by ThePassenger on Wednesday 27th June 13:56

Munter

31,331 posts

272 months

Wednesday 27th June 2007
quotequote all
Goochie said:
Am I right in thinking that the dual core nonsense is a sales ploy which is only of use when running multiple applications?

The only thing mine does faster, is browsing PH while the CAD is busy.
Kind of. A computer program can run multiple "threads" (Think of it as a train of thought). A thread can only be processed on one processing core at any one point in time. Therefore if your version of CAD is doing all it's number crunching in one thread you'll only use one of your cores. So essentially it'll be running the same as it would on one 1.8Ghz chip. And the other core will be busy running your web browser. Dual Core is good for keeping a computer responsive, but pants at single threaded number crunching.

Of course you might have less ram as well....

Goochie

Original Poster:

5,804 posts

250 months

Wednesday 27th June 2007
quotequote all
Well I've had the IT chap around who ran some tests and couldtn work out what the problem was.

One thing we did notice was that when the CAD was hard at it, the likke "processor usage" indicator in Task manager only went to 50%, with both of the line graphs showing some activity.

To me that says the CAD is only using one core.


Munter

31,331 posts

272 months

Wednesday 27th June 2007
quotequote all
Goochie said:
Well I've had the IT chap around who ran some tests and couldtn work out what the problem was.

One thing we did notice was that when the CAD was hard at it, the likke "processor usage" indicator in Task manager only went to 50%, with both of the line graphs showing some activity.

To me that says the CAD is only using one core.
Yes thats exactly spot on. It's a single threading process so it's only running on one core at any one point in time. Although it can and will move cores so you'll see activity on both but its processing on no1 then no2 then no1 then no2 etc. Wrong hardware for the job or wrong software for the hardware.

ThePassenger

6,962 posts

266 months

Wednesday 27th June 2007
quotequote all
Munter said:
Goochie said:
Well I've had the IT chap around who ran some tests and couldtn work out what the problem was.

One thing we did notice was that when the CAD was hard at it, the likke "processor usage" indicator in Task manager only went to 50%, with both of the line graphs showing some activity.

To me that says the CAD is only using one core.
Yes thats exactly spot on. It's a single threading process so it's only running on one core at any one point in time. Although it can and will move cores so you'll see activity on both but its processing on no1 then no2 then no1 then no2 etc. Wrong hardware for the job or wrong software for the hardware.
yes

Which CAD application is it and what version? Might be worth seeing if their is another exe in the things install folder marked 'SMP' or 'multi-processor'. If so, run that one instead.

Goochie

Original Poster:

5,804 posts

250 months

Wednesday 27th June 2007
quotequote all
ThePassenger said:
Munter said:
Goochie said:
Well I've had the IT chap around who ran some tests and couldtn work out what the problem was.

One thing we did notice was that when the CAD was hard at it, the likke "processor usage" indicator in Task manager only went to 50%, with both of the line graphs showing some activity.

To me that says the CAD is only using one core.
Yes thats exactly spot on. It's a single threading process so it's only running on one core at any one point in time. Although it can and will move cores so you'll see activity on both but its processing on no1 then no2 then no1 then no2 etc. Wrong hardware for the job or wrong software for the hardware.
yes

Which CAD application is it and what version? Might be worth seeing if their is another exe in the things install folder marked 'SMP' or 'multi-processor'. If so, run that one instead.
The package is Alibre Design Expert. I've had a look and cant find anything relating to SMP in the documentation or on the install - I've dropped their support team an eamil asking what they suggest.

theboss

7,555 posts

250 months

Wednesday 27th June 2007
quotequote all
Any decent CAD package should support SMP as CAD workstations have traditionally been fairly heavyweight machines, for which SMP has been available for years (in the form of multiple processors). I'm not familiar with the product in question, are you using a recent version?

qube_TA

8,405 posts

276 months

Wednesday 27th June 2007
quotequote all
Probably already doing this but your operating system also needs to be running an SMP enabled kernel before your software can make use of the additional cores/threads.


Munter

31,331 posts

272 months

Wednesday 27th June 2007
quotequote all
qube_TA said:
Probably already doing this but your operating system also needs to be running an SMP enabled kernel before your software can make use of the additional cores/threads.
True. As the OP refers to Task Manager I think we can assume it's windows. And I doubt it's older than Win2000... Though you never know! wink

ThePassenger

6,962 posts

266 months

Wednesday 27th June 2007
quotequote all
Munter said:
qube_TA said:
Probably already doing this but your operating system also needs to be running an SMP enabled kernel before your software can make use of the additional cores/threads.
True. As the OP refers to Task Manager I think we can assume it's windows. And I doubt it's older than Win2000... Though you never know! wink
NT4 Workstation supported 2 CPU's. So covered either way.

TheExcession

11,669 posts

281 months

Wednesday 27th June 2007
quotequote all
ThePassenger said:
Munter said:
qube_TA said:
Probably already doing this but your operating system also needs to be running an SMP enabled kernel before your software can make use of the additional cores/threads.
True. As the OP refers to Task Manager I think we can assume it's windows. And I doubt it's older than Win2000... Though you never know! wink
NT4 Workstation supported 2 CPU's. So covered either way.
yes Ineededy, I blew my inherritance when mummy died on a 2xPII Pro with 96MB RAM running NT4 - all back in 1997. Cost a frigging fortune but ever since then I've known how to write 'thread safe' code.

qube_TA

8,405 posts

276 months

Thursday 28th June 2007
quotequote all
Although I'm not that clued up on Windows I seem to recall that certain versions would only support up to 2 CPU's, if you have a dual core Intel with HT that would make 4.

Just a thought.



Goochie

Original Poster:

5,804 posts

250 months

Thursday 28th June 2007
quotequote all
Well having posted on the Alibre CAD forum (it is a package widely used in the US, written by ex-Pro/Engineer people) and waited overnight for them to reply, it would seem that it can only use one processor at a time frown

Disappointing news that explains why the Pentium 4 machine is faster.

Munter

31,331 posts

272 months

Thursday 28th June 2007
quotequote all
qube_TA said:
Although I'm not that clued up on Windows I seem to recall that certain versions would only support up to 2 CPU's, if you have a dual core Intel with HT that would make 4.
Just a thought.
Now I might be missing something. But as I understand it Dual Core and HT are essentially the same thing. 2 Processors printed on the same piece of sillicone. So a dual core with HT just wouldn't happen. That would just be a Quad core chip.

Win2000 Pro will only go upto 2 cores. So if you have 2 dual core chips it "should" use one core on each chip. After that I thought they had got it sorted out so it "knew" about dual core chips and allowed 4 cores on 2 chips. But I haven't read up on this in a long time.

RobM77

35,349 posts

265 months

Thursday 28th June 2007
quotequote all
1) Remember that the CPU clock speed is not a reliable measure of performance on a PC. How efficiently a CPU uses each 'heartbeat' is constantly improving, to the extent that a modern 2Ghz (i.e. one of your CPUs) should be faster than a 3 year old 3Ghz. Other factors such as memory speed also determine performance. I ran a thread on this in autumn last year (I was asking why this was architecturally) and had some interesting replies.

2) Your application may not be multi-threading, but Windows XP is isn't it? (correct me if I'm wrong!), so a dual core processor machine can have one processor dedicated to running an application whilst the other one gets on with the background admin (of which there has been more and more of with Windows over the years!)

Munter

31,331 posts

272 months

Thursday 28th June 2007
quotequote all
RobM77 said:
1) Remember that the CPU clock speed is not a reliable measure of performance on a PC. How efficiently a CPU uses each 'heartbeat' is constantly improving, to the extent that a modern 2Ghz (i.e. one of your CPUs) should be faster than a 3 year old 3Ghz. Other factors such as memory speed also determine performance. I ran a thread on this in autumn last year (I was asking why this was architecturally) and had some interesting replies.

2) Your application may not be multi-threading, but Windows XP is isn't it? (correct me if I'm wrong!), so a dual core processor machine can have one processor dedicated to running an application whilst the other one gets on with the background admin (of which there has been more and more of with Windows over the years!)
1)Yep compareing Ghz is like compareing engine capacity to workout BHP, it's not a direct relationship. If your lucky you'll find the "power" of the systems have been benchmarked and you can compare them. www.spec.org covers a lot of systems but they are mainly servers rather than desktops!

2)Yes Windows will run a thread on every available processing core at the same time. So in essance core 1 is working on the CAD thread and core 2 is running everything else. However everything else is probably only 2 - 3% of that 2nd core if all hes running is 1 main application and thumb twiddleing while it calculates.