> >What I am after is to explicitly _control_ the maximum syscall rate to
> >select() - not simply max. out the box on syscall rate.
> >
> >Like: limit syscall rate to select() at 1000Hz - regardless how many
> >timers I issue per second.
> 
> In other words:
> 
> If you ask Twisted to wake up N times per second, is there an API to make
> Twisted wake up M (M<N) times per second instead?
> 
> Is that what you're looking for?

Yes, exactly.

I want to trade less precision (timers fire at less exact times) for higher 
efficiency (less context switches).

/Tobias

_______________________________________________
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Reply via email to