[Twisted-Python] CPU choice for big twisted server.

Alec Matusis matusis at matusis.com
Tue Mar 13 21:51:30 EDT 2007

I am running a poll reactor with Twisted 2.2 on 2.6.11 kernel.
"top" currently shows 80-90% CPU utilization for this twistd process.
We have not switched to epoll Twisted 2.5 yet, although we are planning to.

We are going to add boxes to run these servers. We have a choice of getting
either Opteron 2216 with 1MB L2 cache and faster RAM access, or Intel
Woodcrest 5140 with 4MB L2 and slower FB-DIMM RAM access. 
The current RSS size of the twisted process is about 60MB. 
The main load comes from poll() and from modifying long dictionaries of the
protocol class instances (searching/modifying dictionaries of client

Where should we expect a better performance: on Woodcrest 5140 with bigger
L2 or on Opteron 2216 with faster RAM access? We need to order the new box
tomorrow afternoon, so if someone could reply today, it'd be great for us!



More information about the Twisted-Python mailing list