CPU Usage Windows
whisper at oz.net
Wed Jun 19 19:27:22 CEST 2002
Although billed as a true SMP OS, in fact NT, 2K and XP aren't quite. They
pretty much split I/O and system onto on CPU and applications get the other
one. I have seen the pattern you describe repeatedly on my old NT 4.0 dual
pentium pro. While it was never all that fast (200 MHZ CPU's), it took some
real effort to get it to slow down much, so I think there is some better
load sharing then what MS suggests (what I said above).
There are actually some obscurely documented programatic ways to force the
OS to actually use both (or more then 2 even) processors for one process, or
to get the OS to use both processors for applications, but I only knew about
them in passing and don't recall exactly where the information was in MSDN.
Seattle, WA USA
> -----Original Message-----
> From: python-list-admin at python.org
> [mailto:python-list-admin at python.org]On Behalf Of Rad
> Sent: Wednesday, June 19, 2002 3:34
> To: python-list at python.org
> Subject: CPU Usage Windows
> I've noticed that when I run Python script on
> Windows 2k Pro
> Dual Intel Xeon (2.2GHz)
> CPU Usage for pythonw.exe is only 50%?!
> Nothing else is running on the machine (apart form the OS). Some of
> the python programs are running for hours (large data sets) and even
> though python shell freeze's (doesn't refresh) CPU usage is still only
> System Idle Process is about 40%-50%
> Any ideas why is this and can I do anything about it?
> Is it something to do with python not being able to use the power of
> both processors?
More information about the Python-list