Socket performance

John M McIntosh johnmci at smalltalkconsulting.com
Wed Nov 5 23:38:40 UTC 2003


Well I'd say 50 request could generate oh say 1000 (20 requests per  
page).


I don't think you said what platform. If unix I'd look at how often the  
aio logic is called..
Which platform drives how often checkinterrupts is called, so I can't  
say if it's 3ms, 1ms, or 10ms?
Also the number of listening socket handlers drives the thruput, aka...

socket listenOn: 44444 backlogSize: 4.

Of course if the backlogSize is actually used or ignored is dependent  
on the VM primitive and operating system

On Nov 5, 2003, at 11:32 AM, Stephen Pair wrote:

> Hmm...doing a little math, if we assume that we're only checking every  
> 3ms, with a buffer limit of 500, we'd be able to issue at most 166,666  
> signals during a given second (and that's only if the signals were  
> evenly distributed in each 3 ms interval).  Is it possible that 50  
> http requests could generate that many signals?  Is it possible that  
> we're falling well short of checking every 3 ms?
>
> - Stephen
--
======================================================================== 
===
John M. McIntosh <johnmci at smalltalkconsulting.com> 1-800-477-2659
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
======================================================================== 
===




More information about the Squeak-dev mailing list