Adam Olsen <rhamph <at> gmail.com> writes:

> Can you try with a call to sched_yield(), rather than nanosleep()?  It
> should have the same benefit but without as much performance hit.
> 
> If it works, but is still too much hit, try tuning the checkinterval
> to see if you can find an acceptable throughput/responsiveness
> balance.
> 

I tried that, and it had no effect whatsoever. I suppose it would make an effect
on a single CPU or an otherwise heavily loaded SMP system but that's not the
secnario we care about.

_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to