Emmanuel,

I have done some more test, on the 'big server' ( 8 CPUs), changing the
SocketAcceptor initialization with something like what you suggested :

      tcpAcceptor = new SocketAcceptor(
           Runtime.getRuntime().availableProcessors(),
threadPoolExecutor );

(we already have this threadPoolExecutor, so I reuse it).


BTW I thought I made a configuration parameter that set the number of
executor threads.
I'll have to check and see but this is great news regardless.


The result is huge : I can get as much as 6400 request/s, instead of
only 2000 previously ! And the CPU reach 85% of user+syst usage (70%
user, 10 to 15% system)

This is just what I expected :)

I have more tests to do, but this is a big step in the good direction !


Oh yeah!

Alex

Reply via email to