Dan Sugalski wrote:
> On Thu, 21 Aug 2003, Tom Locke wrote:
> 
> > My big requirement is for lightweight microthreads (hopefully
> > *very* lightweight - I'm considering one scheduler that can
> > handle *millions* of threads on a single machine).
[...]
> 
> Parrot's going to live on top of the system thread library, 
> so you may run into some issues that way. Not all systems can
> handle lots of threads--many of them (including Linux) have
> very low limits relative to what most microthread-based systems
> expect.

Not so... with the new Native POSIX Thread Library

  http://kerneltrap.org/node/view/422

> One test mentioned in Ulrich's email - running 100,000 
> concurrent threads on an IA-32 - generated some interesting
> discussion. Ingo Molnar explained that with the current
> stock 2.5 kernel such a test requires roughly 1GB RAM, and
> the act of starting and stopping all 100,000 threads in
> parallel takes only 2 seconds. 

That still isn't millions... but they did mention an IA32 configuration that
would support 564,000.

--
Garrett Goebel
IS Development Specialist

ScriptPro                   Direct: 913.403.5261
5828 Reeds Road               Main: 913.384.1008
Mission, KS 66202              Fax: 913.384.2180
www.scriptpro.com          garrett at scriptpro dot com

Reply via email to