public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* linux scheduler limitations?
@ 2001-03-29 21:19 Fabio Riccardi
  2001-03-29 21:26 ` David Lang
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Fabio Riccardi @ 2001-03-29 21:19 UTC (permalink / raw)
  To: linux-kernel

Hello,

I'm working on an enhanced version of Apache and I'm hitting my head
against something I don't understand.

I've found a (to me) unexplicable system behaviour when the number of
Apache forked instances goes somewhere beyond 1050, the machine
suddently slows down almost top a halt and becomes totally unresponsive,
until I stop the test (SpecWeb).

Profiling the kernel shows that the scheduler and the interrupt handler
are taking most of the CPU time.

I understand that there must be a limit to the number of processes that
the scheduler can efficiently handle, but I would expect some sort of
gradual performance degradation when increasing the number of tasks,
instead I observe that by increasing Apache's MaxClient linit by as
little as 10 can cause a sudden transition between smooth working with
lots (30-40%) of CPU idle to a total lock-up.

Moreover the max number of processes is not even constant. If I increase
the server load gradually then I manage to have 1500 processes running
with no problem, but if the transition is sharp (the SpecWeb case) than
I end-up having a lock up.

Anybody seen this before? Any clues?

 - Fabio



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2001-04-02 22:57 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-03-29 21:19 linux scheduler limitations? Fabio Riccardi
2001-03-29 21:26 ` David Lang
2001-03-29 21:55   ` Fabio Riccardi
2001-03-30  1:45     ` Mike Kravetz
2001-03-30  2:58       ` Fabio Riccardi
2001-03-29 21:35 ` J . A . Magallon
2001-03-29 22:12   ` Fabio Riccardi
2001-03-29 22:33     ` J . A . Magallon
2001-03-29 22:51       ` Fabio Riccardi
2001-03-30  6:52 ` Giuliano Pochini
2001-04-02 22:58 ` Alan Cox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox