G
Guest
Anyone know if Windows places limits to the amount of CPU that a program can
use?
Here's why I ask. I'm running a series of computer simulations that were
written in Python 2.3 (an object oriented programming language see
www.python.org). Each simulation takes between 3 and 12 hours to complete and
there are 60 simulations in the series. The simulations are mostly a bunch of
mathematical calculations (summations, intregrals, numeric minimization,
etc.). Obviously, I'd like these simulations to run as fast as possible. When
I'm running a simulation and check the CPU usage using either the perfomance
program under administrative tools or the task manager, it always says the
program is using around 50% of the CPU (and no-where near the limits in
memory). Interestingly, if I run two simulations at once, then I'm using 100%
of the CPU, with each simulation using approximately 50%.
While I could simply continue to run two simulations at once to minimize the
time required to run all the simulations, I'm curious why each simulation
will only use 50% of my CPU?
Windows XP
3.2 GHz Pentium 4
512 RAM
use?
Here's why I ask. I'm running a series of computer simulations that were
written in Python 2.3 (an object oriented programming language see
www.python.org). Each simulation takes between 3 and 12 hours to complete and
there are 60 simulations in the series. The simulations are mostly a bunch of
mathematical calculations (summations, intregrals, numeric minimization,
etc.). Obviously, I'd like these simulations to run as fast as possible. When
I'm running a simulation and check the CPU usage using either the perfomance
program under administrative tools or the task manager, it always says the
program is using around 50% of the CPU (and no-where near the limits in
memory). Interestingly, if I run two simulations at once, then I'm using 100%
of the CPU, with each simulation using approximately 50%.
While I could simply continue to run two simulations at once to minimize the
time required to run all the simulations, I'm curious why each simulation
will only use 50% of my CPU?
Windows XP
3.2 GHz Pentium 4
512 RAM