[Twisted-Python] What's twistd doing on Windows?

Christopher Armstrong radix at twistedmatrix.com
Thu Apr 3 18:16:06 EST 2003

On Thu, Apr 03, 2003 at 05:16:02PM -0500, Alan McIntyre wrote:
> I did notice something that I'm curious about: I've been running two 
> Twisted web instances, one on a Win2k machine (1.4GHz P4, Python 2.2.2) 
> and one on a Debian machine (266MHz PII, Python 2.1.3) for a few days 
> now, and the Windows instance has accumulated almost an hour of CPU time 
> wherease the Debian instance has only used 2 seconds.  What's the Win32 
> instance doing while it's idle? (It's not a big deal, I'm just curious)

My first guess would be that the system calls involved (e.g., select)
are more expensive than on linux, but that's just a wild guess. I
doubt profiling would be much help, but maybe you (or someone) could
write a simple test that just recorded the time it takes to run an
immediately-returning select() a few thousand times.

 Twisted | Christopher Armstrong: International Man of Twistery
  Radix  |          Release Manager,  Twisted Project
---------+     http://twistedmatrix.com/users/radix.twistd/

More information about the Twisted-Python mailing list