All of lore.kernel.org
 help / color / mirror / Atom feed
* 15000+ processes -- poor performance ?!
@ 2002-12-19  0:46 Till Immanuel Patzschke
  2002-12-19  0:47 ` [Lse-tech] " Martin J. Bligh
                   ` (4 more replies)
  0 siblings, 5 replies; 26+ messages in thread
From: Till Immanuel Patzschke @ 2002-12-19  0:46 UTC (permalink / raw)
  To: lse-tech; +Cc: linux-kernel@vger.kernel.org

Dear List(s),

as part of my project I need to run a very high number of processes/threads on a
linux machine.  Right now I have a Dual-PIII 1.4G w/ 8GB RAM -- I am running
4000 processes w/ 2-3 threads each totaling in a process count of 15000+
processes (since Linux doesn't really distinguish between threads and
processes...).
Once I pass the 10000 (+/-) pocesses load increases drastically (on startup,
although it returns to normal), however the system time (on one processor)
reaches for 54% (12061 procs) while the only non sleeping process is top -- the
system is basically doing nothing (except scheduling the "nothing" which
consumes significant system time).
Is there anything I can do to reduce that system load/time?  (I haven't been
able to exactly define the "line" but it definitly gets worse the more processes
need to be handled.)
Does any of the patchsets address this particular problem?
BTW: The processes are all alike...

Thanks for you help!

Immanuel


^ permalink raw reply	[flat|nested] 26+ messages in thread
* RE: 15000+ processes -- poor performance ?!
@ 2002-12-19  1:04 Perez-Gonzalez, Inaky
  2002-12-19  1:13 ` Robert Love
  2002-12-19  2:31 ` Alan Cox
  0 siblings, 2 replies; 26+ messages in thread
From: Perez-Gonzalez, Inaky @ 2002-12-19  1:04 UTC (permalink / raw)
  To: 'Till Immanuel Patzschke', lse-tech, linux-kernel


> 
> forgot the kernel version (2.4.20aa1)...

You need the O(1) scheduler; not sure if aa has it or not; if not, lots of
processes will suck your machine. I think -ac has the O(1) scheduler, or try
2.5. The old scheduler is pretty cool but not as scalable as the new one.

If it has it ... well, I have no idea - maybe Robert Love would know.

Inaky Perez-Gonzalez -- Not speaking for Intel - opinions are my own [or my
fault]


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

end of thread, other threads:[~2002-12-19 15:20 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-19  0:46 15000+ processes -- poor performance ?! Till Immanuel Patzschke
2002-12-19  0:47 ` [Lse-tech] " Martin J. Bligh
2002-12-19  0:53 ` Till Immanuel Patzschke
2002-12-19  1:15   ` William Lee Irwin III
2002-12-19  1:12     ` David Lang
2002-12-19  1:25       ` William Lee Irwin III
2002-12-19  1:20         ` David Lang
2002-12-19  1:36           ` William Lee Irwin III
2002-12-19  1:42           ` Robert Love
2002-12-19  1:44             ` David Lang
2002-12-19  2:05               ` [Lse-tech] " William Lee Irwin III
2002-12-19 15:05                 ` Denis Vlasenko
2002-12-19 10:27                   ` William Lee Irwin III
2002-12-19 10:37                     ` Alex Tomas
2002-12-19 10:55                       ` William Lee Irwin III
2002-12-19 15:24                       ` Martin J. Bligh
2002-12-19 15:15                     ` Denis Vlasenko
2002-12-19  1:24     ` William Lee Irwin III
2002-12-19  0:59 ` Jeff Garzik
2002-12-19  1:11 ` William Lee Irwin III
2002-12-19 14:59 ` Denis Vlasenko
  -- strict thread matches above, loose matches on Subject: below --
2002-12-19  1:04 Perez-Gonzalez, Inaky
2002-12-19  1:13 ` Robert Love
2002-12-19  2:31 ` Alan Cox
2002-12-19  1:58   ` Rik van Riel
2002-12-19  2:01   ` William Lee Irwin III

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.