[RC5] CPU Utilization in Task Manager (NT)

bwilson at fers.com bwilson at fers.com
Fri May 25 09:51:00 EDT 2001

I recall bovine or cyp (or one of the developers via the FAQ) stating that 
dnetc categorically cannot be removed from the Task Manager's CPU count on NT 
or 2000.  It has to do with the System Idle Process being an internal feature 
of the kernel, IIRC.  I think the explanation was that System Idle Process 
isn't really a process... it's just a section of code in the kernel which keeps

track of the occasions when there's nothing in the queue.  Since dnetc is 
something, not nothing, it must be counted with everything else. 

Tasks that run at idle priority can be affected by dnetc, though they typically

get an equal share of the CPU as dnetc.  This should only make it run half as 
fast, I would think.  Perhaps instead of pausing on taskman, you could pause on

the app-of-the-day you're debugging?  At least you could leave taskman open 
this way.  You could even pick a nothing-app like Calc as the "pause" app, then

just open or close it when you need dnetc to pause, and no need to reconfigure

every day. 

Different profiling tools must surely have a mechanism for ignoring certain 
processes.  Taskman is not a profiling tool, as you're well aware.  It occurs 
to me that there must be less brute-force ways of debugging than just 
determining if they have entered a spinloop by watching CPU to spike.  ;-)
Bruce Wilson, Manager, FERS Business Services
bwilson at fers.com, 312.245.1750, http://www.fers.com/
PGP KeyID: 5430B995, http://www.lasthome.net/~bwilson/

File not found. Make it up as I go along?
         [OK]         [Cancel] 

	rc5 at lists.distributed.net 
	05/24/2001 09:59 
		        To:        rc5 at lists.distributed.net 
		        cc:        (bcc: Bruce Wilson/Chicago/MP/RSMi) 
		        Subject:        RE: [RC5] CPU Utilization in Task Manager (NT)

The problem is not to obscure the existence of dnetc but to remove the
perceived CPU Utilization. Total CPU usage is a don't care for me. 

When dnetc takes 100% CPU it makes it difficult to use Task Manager to track
the "real" CPU usage during debugging. In this context, taskmgr.exe is often
run more or less continuously so pause-watch-plist is the same as not
running it at all. 

Also, several applications seem to monitor the CPU usage and delay their
startup if the system is busy. At least one application takes an order of
magnitude longer to start (6s vs. 60s) when dnetc is running. I know that
the application is broken, but it's reacting stupidly to a change caused by

So, how do I make dnetc behave as the Idle process in that it's totals do
not count towards the CPU Utilization in taskmgr.exe? 


-----Original Message-----
From: Chris Hessmann [mailto:news at hessmann.de]
Sent: Wednesday, May 23, 2001 8:20 PM
To: rc5 at lists.distributed.net
Subject: Re: [RC5] CPU Utilization in Task Manager (NT) 

Hello Chris, 

> I've seen somewhere the magic incantation to remove dnetc.exe from the
> items contributing to the CPU utilization.  I'm just trying to get the
> CPU utilization without dnetc. 

well, the first thing is to put: 


into your dnetc.ini. So, every time you start the taskmgr, d.net will be
paused and the CPU-Utilization of our holy cow goes down to 0%.
But this doesn't solve the problem that everyone can see dnetc.exe has
consumed nearly every percent of idle time.
I do not have a real solution for that problem, it is possible to rename
dnetc.exe to something like System Idle Process.exe, but it is quite
obvious, you have two idle-processes then, one with a .exe behind its
name, and it's not really a good trick... :( 

And, the most important part of all: It's against the policy of d.net to
run the client on machines you are not allowed to do that! Yes, we all
know it's hard to resist not to put d.net on the 1000 server in your
computer centre, all some kind of 8x Xeon 500 and all that stuff, but you
are not allowed to! ;) 

cu Chris
To unsubscribe, send 'unsubscribe rc5' to majordomo at lists.distributed.net
rc5-digest subscribers replace rc5 with rc5-digest
To unsubscribe, send 'unsubscribe rc5' to majordomo at lists.distributed.net
rc5-digest subscribers replace rc5 with rc5-digest 

To unsubscribe, send 'unsubscribe rc5' to majordomo at lists.distributed.net
rc5-digest subscribers replace rc5 with rc5-digest

More information about the rc5 mailing list