[Twisted-Python] Degrading under load
itamar at itamarst.org
Sat Mar 25 15:38:53 EST 2006
On Fri, 2006-03-24 at 22:36 -0800, Alec Matusis wrote:
> We finally upgraded 1.3 to 2.2 without changing the code. The load shown by
> 'top' for that twistd process may have dropped form 98-99% to 96-98%,
> although this is not clear. In any case, the load reduction was marginal, if
> Even though the main source of load is OS poll(), we did expect some
> improvement from the different scheduler algorithm in 2.2: we have
> setTimeout() on each new connection and resetTimeout() every 90 sec on each
> connection when keep-alives from the clients arrive.
Looks like you want epoll().
More information about the Twisted-Python