<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.5730.11" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=244101400-19012007><FONT 
face="Bitstream Vera Sans Mono" color=#0000ff size=2>It would be interesting to 
know where the CPU time is actually going.&nbsp; From what I've seen of this 
thread, performance is worst on the SPARC hardware, but that doesn't necessarily 
mean that it's the root cause.&nbsp; It may be, e.g., the implementation of some 
service call for that hardware is especially slow.&nbsp; Do you have any 
profiling information that shows whether the&nbsp;CPU time is&nbsp;spent 
in&nbsp;Twisted code itself, or in some system call that it's 
making?</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=244101400-19012007><FONT 
face="Bitstream Vera Sans Mono" color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=244101400-19012007><FONT 
face="Bitstream Vera Sans Mono" color=#0000ff size=2>BTW, the fact that you get 
1k+ connections/s on the x86 hardware is still slow (if you're just running 
benchmarking code that isn't doing any work per request).&nbsp; With epoll you 
should be able to get way more than that.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=244101400-19012007><FONT 
face="Bitstream Vera Sans Mono" color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=244101400-19012007><FONT 
face="Bitstream Vera Sans Mono" color=#0000ff size=2>Just my 
$.02,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=244101400-19012007><FONT 
face="Bitstream Vera Sans Mono" color=#0000ff size=2></FONT></SPAN><SPAN 
class=244101400-19012007><FONT face="Bitstream Vera Sans Mono" color=#0000ff 
size=2></FONT></SPAN><SPAN class=244101400-19012007><FONT 
face="Bitstream Vera Sans Mono" color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=244101400-19012007><FONT 
face="Bitstream Vera Sans Mono" color=#0000ff size=2>-- 
Jacob</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> twisted-python-bounces@twistedmatrix.com 
[mailto:twisted-python-bounces@twistedmatrix.com] <B>On Behalf Of </B>Jarrod 
Roberson<BR><B>Sent:</B> Thursday, January 18, 2007 2:11 PM<BR><B>To:</B> 
Twisted general discussion<BR><B>Subject:</B> Re: [Twisted-Python] Twisted 
server is 5 times SLOWER on Solaris thanLinux?<BR></FONT><BR></DIV>
<DIV></DIV><BR><BR>
<DIV><SPAN class=gmail_quote>On 1/18/07, <B class=gmail_sendername><A 
href="mailto:glyph@divmod.com">glyph@divmod.com</A></B> &lt;<A 
href="mailto:glyph@divmod.com">glyph@divmod.com</A>&gt; wrote:</SPAN>
<BLOCKQUOTE class=gmail_quote 
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
  <DIV><SPAN class=q>On 01:59 am, <A 
  onclick="return top.js.OpenExtLink(window,event,this)" 
  href="mailto:jarrod@vertigrated.com" target=_blank>jarrod@vertigrated.com</A> 
  wrote:<BR><BR>&gt;We have LOTS and LOTS of test harness code and profiling 
  code to pinpoint <BR>&gt;where bottlenecks are. We are going to have process a 
  couple of terabytes a<BR>&gt;day thru this system. Latency thru the system is 
  a high priority because of<BR>&gt;what kind of system it is.<BR><BR></SPAN>If 
  you do manage to keep Twisted in the loop on this project, please share what 
  strategy you used. &nbsp;It is unfortunately rare that Twisted is itself a 
  really performance-critical component of any system (especially a highly 
  parallel system), so information about optimization is hard to find. 
<BR></DIV></BLOCKQUOTE></DIV><BR>It isn't really a failing of Twisted, on 
non-sparc hardware it preforms awesome! The SPARC hardware is the problem, and 
the T1000 / T2000 we have be benchmarking just doesn't place nice with single 
threaded CPU bound apps. <BR><BR>We are going to try and replace Twisted with 
Apache 2.2.x and create a module that does raw connection handliing, and go with 
the threaded mpm and see how that preforms with the same test client harness we 
are benchmarking with now. <BR><BR></BODY></HTML>