lkml.org 
[lkml]   [1999]   [Aug]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Re: When are the number of processes/pthreads increase ?
Date
So there's no problem firing up like 4000 threads (I know it's bad
programming style, but I need to port the original code fast) on a 2.3.1[x]
kernel?
Is that true for 2.2.11+ also?
Are there any numbers or limits I should know of, or is it like win32, you
can alloc as many threads you wan't but it will become sluggish (as hell)
after a certain number...

Thanks for the quick reply :)

Magnus Näslund


-----Original Message-----
From: Mark Hahn <hahn@coffee.psychology.mcmaster.ca>
To: Magnus Näslund <magnus@graphicomp.se>
Date: den 23 augusti 1999 16:45
Subject: Re: When are the number of processes/pthreads increase ?


>> I can't use the same code for an massive threaded server that uses
blocking
>> IO, the processes simply run out of resources. Even if I modify the count
>> with ulimit, I still run out of resources...
>> Is there some kind of patch for this?
>
>yes, it's called "use a modern kernel". I'm guessing you're probably
>using the old 2.2.5 that shipped with RH6, or even something more
primitive.
>you should really try 2.3.14 or so; the vm and threading system has been
>radically revamped and obviating many of the old sanity-limits. note that
>2.3 will become the "stable" kernel within couple months.
>
>


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:53    [W:0.528 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site