* processes> 2^15
@ 2000-11-04 13:57 aprasad
2000-11-04 18:18 ` Alan Cox
2000-11-04 20:01 ` Andries Brouwer
0 siblings, 2 replies; 5+ messages in thread
From: aprasad @ 2000-11-04 13:57 UTC (permalink / raw)
To: linux-kernel
Hi all,
after reaching process count something around 30568, processes start
getting pid from start, which ever is the first free entry slot in process
table. that means we can't have simultaneously more than roughly 2^15
processes?
am i correct?
regards,
Anil
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: processes> 2^15
2000-11-04 13:57 processes> 2^15 aprasad
@ 2000-11-04 18:18 ` Alan Cox
2000-11-04 20:01 ` Andries Brouwer
1 sibling, 0 replies; 5+ messages in thread
From: Alan Cox @ 2000-11-04 18:18 UTC (permalink / raw)
To: aprasad; +Cc: linux-kernel
> after reaching process count something around 30568, processes start
> getting pid from start, which ever is the first free entry slot in process
> table. that means we can't have simultaneously more than roughly 2^15
> processes?
Yes
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: processes> 2^15
2000-11-04 13:57 processes> 2^15 aprasad
2000-11-04 18:18 ` Alan Cox
@ 2000-11-04 20:01 ` Andries Brouwer
2000-11-07 7:59 ` Arnaud S . Launay
1 sibling, 1 reply; 5+ messages in thread
From: Andries Brouwer @ 2000-11-04 20:01 UTC (permalink / raw)
To: aprasad; +Cc: linux-kernel
On Sat, Nov 04, 2000 at 07:27:58PM +0530, aprasad@in.ibm.com wrote:
> after reaching process count something around 30568, processes start
> getting pid from start, which ever is the first free entry slot in process
> table. that means we can't have simultaneously more than roughly 2^15
> processes?
> am i correct?
Yes.
(If that displeases you I can give you the trivial patch.
However, you really need some awesome machine before it
becomes reasonable to run that many processes.)
Andries
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: processes> 2^15
2000-11-04 20:01 ` Andries Brouwer
@ 2000-11-07 7:59 ` Arnaud S . Launay
2000-11-07 8:14 ` Matti Aarnio
0 siblings, 1 reply; 5+ messages in thread
From: Arnaud S . Launay @ 2000-11-07 7:59 UTC (permalink / raw)
To: Andries Brouwer; +Cc: aprasad, linux-kernel
Le Sat, Nov 04, 2000 at 09:01:58PM +0100, Andries Brouwer a écrit:
> > after reaching process count something around 30568, processes start
> > getting pid from start, which ever is the first free entry slot in process
> > table. that means we can't have simultaneously more than roughly 2^15
> > processes?
> > am i correct?
>
> Yes.
> (If that displeases you I can give you the trivial patch.
> However, you really need some awesome machine before it
> becomes reasonable to run that many processes.)
In the fact, the first limit to be reached will be NR_TASKS defined in
linux/tasks.h:
#define NR_TASKS 512 /* On x86 Max 4092, or 4090 w/APM configured. */
So I wonder if we could really have more than 4092 process under x86 ?
Arnaud.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: processes> 2^15
2000-11-07 7:59 ` Arnaud S . Launay
@ 2000-11-07 8:14 ` Matti Aarnio
0 siblings, 0 replies; 5+ messages in thread
From: Matti Aarnio @ 2000-11-07 8:14 UTC (permalink / raw)
To: Andries Brouwer, aprasad, linux-kernel
On Tue, Nov 07, 2000 at 08:59:11AM +0100, Arnaud S . Launay wrote:
> In the fact, the first limit to be reached will be NR_TASKS defined in
> linux/tasks.h:
> #define NR_TASKS 512 /* On x86 Max 4092, or 4090 w/APM configured. */
>
> So I wonder if we could really have more than 4092 process under x86 ?
That define doesn't exist in 2.4 (anymore)
> Arnaud.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2000-11-07 8:14 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-11-04 13:57 processes> 2^15 aprasad
2000-11-04 18:18 ` Alan Cox
2000-11-04 20:01 ` Andries Brouwer
2000-11-07 7:59 ` Arnaud S . Launay
2000-11-07 8:14 ` Matti Aarnio
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox