On Wed, Jul 29, 2009 at 10:16 AM, John Wythe<[email protected]> wrote:
> Hello,
>
> I am trying to write a python application that uses the multiprocessing 
> module on OpenSolaris snv_117. I am guessing the python packages for 
> OpenSolaris do not ship with multiprocessing support, but I am lost as to 
> why. I've searched the web extensively but can not find an explanation for 
> this.

Also, beware of the Global Interpreter Lock.

http://raymondtay.blogspot.com/2008/11/python-performance-and-gil.html

On a particular highly multi-threaded workload, I captured the
following "prstat -mL" output below, notice that there is a lot of
time waiting on user level locks.

PID USERNAME USR SYS TRP TFL DFL LCK SLP LAT VCX ICX SCL SIG PROCESS/LWPID
16656 root 68 4.8 0.0 0.0 0.0 27 0.0 0.4 1K 0 13K 0 python2/152398
16656 root 68 3.2 0.1 0.0 0.0 17 12 0.3 1K 0 9K 0 python2/152397
16656 root 20 0.8 0.0 0.0 0.0 15 64 0.2 922 97 2K 0 python2/8
16656 root 8.8 1.4 0.1 0.0 0.0 51 39 0.5 2K 302 5K 0 python2/100558
16656 root 7.6 1.2 0.1 0.0 0.0 53 38 0.4 2K 303 4K 0 python2/53075
16656 root 7.4 1.2 0.0 0.0 0.0 53 38 0.4 2K 214 4K 0 python2/117545

Mike

-- 
Mike Gerdts
http://mgerdts.blogspot.com/
_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to