You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Irving, Dave" <da...@logicacmg.com> on 2005/11/08 10:29:39 UTC
RE: [mina] Multiple IO processors?
Hi Trustin,
I know this is a long shot - but is there any way to set up more than
one underlying IO processor?
Im currently working on an 8 CPU box: Overall cpu usage isn't getting
anywhere near the limit, but after profiling, Im seeing the selector
loop thread getting hit with quite a bit of starvation. Would there be
any benifit in having more than one selector loop in environments with a
large number of cpus?
Oh - just to keep you up to date with my tests: Im getting throughput of
around 6k HTTP requests per second and see very stable behaviour right
up in to the 7k simultaneous connections Im currently testing with.
Thanks again for such a stable and easy to use framework!
D
This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.
Re: [mina] Multiple IO processors?
Posted by Trustin Lee <tr...@gmail.com>.
Hi Dave,
2005/11/8, Irving, Dave <da...@logicacmg.com>:
>
> I know this is a long shot - but is there any way to set up more than one
> underlying IO processor?
>
Not yet, but we'll have to experiment if multiple I/O processors can boost
the performance in a multi-processor machine. I'm busy now implementing
StartTLS for ApacheDS, so it would be great if you can modify
SocketIoProcessor a little bit. I think the modification should not be that
hard. (~1 hr task)
Im currently working on an 8 CPU box: Overall cpu usage isn't getting
> anywhere near the limit, but after profiling, Im seeing the selector loop
> thread getting hit with quite a bit of starvation. Would there be any
> benifit in having more than one selector loop in environments with a large
> number of cpus?
>
AFAIK, there's no much benefit, but we have to experiment and let users
choose the number of selector loops if it can bring them any performance
gain.
Oh - just to keep you up to date with my tests: Im getting throughput of
> around 6k HTTP requests per second and see very stable behaviour right up in
> to the 7k simultaneous connections Im currently testing with. Thanks again
> for such a stable and easy to use framework!
>
This is great! It would be also great if we can compare Apache 2.1.x, Tomcat
5.5.x, and your MINA HTTP codec and announce the performance in my ApacheCon
US 2005 session.
Thank you for continuing contribution!
Trustin
--
what we call human nature is actually human habit
--
http://gleamynode.net/
RE: [mina] Multiple IO processors?
Posted by Julien Vermillard <jv...@archean.fr>.
Le mardi 08 novembre 2005 à 09:29 +0000, Irving, Dave a écrit :
> Hi Trustin,
>
> I know this is a long shot - but is there any way to set up more than
> one underlying IO processor?
> Im currently working on an 8 CPU box: Overall cpu usage isn't getting
> anywhere near the limit, but after profiling, Im seeing the selector
> loop thread getting hit with quite a bit of starvation. Would there be
> any benifit in having more than one selector loop in environments with
> a large number of cpus?
>
Silly question you tried to add a ProtocolThreadPoolFilter ?
Julien