Author: Robert Pawlak
Date: 02:42:06 02/02/01
Go up one level in this thread
On February 02, 2001 at 01:56:23, Gregor Overney wrote: >Almost every better commercial application for NT is multi-threaded. If the >application does not force NT to utilize only one CPU, NT will schedule the >threads on all LWP's that are available. (LWP = Light weight process = threads >with kernel awareness.) This is called a decent load-balancing. > >If you see 50% for both CPU's then this is because NT switches back and forth >between CPU's and your sampling rate is rather low. If you would increase your >sampling rate enough to be comparable with the switching time of NT's scheduler, >you should see 100/0...0/100...100/0...0/100... which averages out to be 50/50. >If you see a 50/50, the lion-share of Matlab seems not to be multi-threaded. >However, when you run Crafty on two CPU's you will see 100/100 (minus a little >CPU time for the rest of the system). > Gregor, Thanks for this very clear explanation! Now I understand what was going on, which fits in much better with my view of reality :). Also, thanks to everyone else that responded to this question. Bob
This page took 0 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.