Linux-kernel mailing list archive 1999-34,: Re: Re: When are the number of processes/pthreads increase ?

# Re: Re: When are the number of processes/pthreads increase ?

=?iso-8859-1?Q?Magnus_N=E4slund?= (magnus@graphicomp.se)
Mon, 23 Aug 1999 16:57:44 +0200

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Heinz Diehl: "Re: VIA chipset hangs???"
- Previous message: Chuck Lever: "Seagate cheetah on NCR53C896"

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/

- Next message: Heinz Diehl: "Re: VIA chipset hangs???"
- Previous message: Chuck Lever: "Seagate cheetah on NCR53C896"