[Zope] Re: Unfair Linux Threads And Python Oh My

Tony McDonald tony.mcdonald@ncl.ac.uk
Wed, 26 Apr 2000 12:38:04 +0100


At 11:10 am +0200 26/4/00, Peter Sabaini wrote:
>On Wed, 26 Apr 2000, Chris McDonough wrote:
>
>:Can a few folks with BSD/Solaris/HPUX/whateverotherthanLinux boxes try
>:the script that Tony found and see what it does on their machines?

Ok.
Firstly, on our main site;
252 % uname -a
SunOS caddy 5.6 Generic_105181-17 sun4u sparc

253 % python thread.py
(nothing, no stars)

after a while, 'top' on another terminal gives;
   PID USERNAME THR PRI NICE  SIZE   RES STATE   TIME    CPU COMMAND
13601 bing       3 -15    0 2696K 2032K cpu/0   2:56 24.99% python

then, on another sun
102 % uname -a
SunOS tot 5.7 Generic sun4u sparc

103 % python thread.py
*********** .... **********  (ie line after line of them)

'top' on another terminal gives;
   PID USERNAME THR PRI NICE  SIZE   RES STATE   TIME    CPU COMMAND
   283 daemon     6  16    0 9208K 7928K run   257.6H 55.78% dwhttpd
15201 bing       4  26    0 4856K 2744K run     2:20 37.47% python

Does this imply I should upgrade our main server to 5.7 (or take the 
plunge and go to Solaris 8?)

TIA
Tone.
------
Dr Tony McDonald,  FMCC, Networked Learning Environments Project 
http://nle.ncl.ac.uk/
The Medical School, Newcastle University Tel: +44 191 222 5888
Fingerprint: 3450 876D FA41 B926 D3DD  F8C3 F2D0 C3B9 8B38 18A2