Poor web serving performance
Brad Fitzpatrick
brad at danga.com
Thu Jan 25 23:42:59 UTC 2007
On Thu, 25 Jan 2007, Cal Henderson wrote:
> : And can you verify that the same number of perlbal child processes > are
> : hanging off the parent process?
>
> SERVER aio_mode = ioaio
> SERVER aio_threads = 30
>
> i've tried with values from 2-50 and some higher ones too - all give
> the same result. for any number of aio threads, i can only find a
> single child processes - ps, pstree and top all just show the two
> processes (i'm using IO::AIO).
>
> 16201 pts/0 Sl+ 0:00 /usr/local/bin/perl ./perlbal --config=my.conf
> 16202 pts/0 S+ 0:00 /usr/local/bin/perl ./perlbal --config=my.conf
>
>
> as far as i can see, IO::AIO::min_parallel(30) is being called
> sucessfully.
Sure doesn't look like it's working! Unless it's using NPTL? What
arch/kernel you using?
I'm on a 32-bit 2.6.11.12-xenU, and with IO::AIO with SERVER aio_threads
of 20, I see 20 child processes.
- Brad
More information about the perlbal
mailing list