Messages in this thread | | | From | "Andrew E. Mileski" <> | Subject | Re: NR_TASKS=4096 | Date | Tue, 22 Apr 1997 10:29:04 -0400 (EDT) |
| |
> Should I run into problems with NR_TASKS above 1024? I got a locked > system at 4096, it locks right after decompressing the kernel before it > does anything else. This is a ppro and 2.0.30. It's running fine now at > 1024 now, but it needs far more (lots of light weight 80k processes).
The maximum is determined by the GDT, which can only hold 8192 descriptors, and you need 1 descriptors per task. The first is the CPU null descriptor, and the next 7 are reserved by the kernel. If APM is enabled, that takes the last 3 descriptors. So the maximum for NR_TASKS is 4092/4090 with/without APM.
-- Andrew E. Mileski mailto:aem@netcom.ca Linux Plug-and-Play Hardware Support http://www.redhat.com/linux-info/pnp/ XFree86 Matrox Team http://www.bf.rmit.edu.au/~ajv/xf86-matrox.html
| |