46
System / Threadlimit?
« on: October 01, 2008, 11:46:01 pm »
The absolute maximum for threads is (on normal workstations) given by Hardware, and approximately 8192 (but a little less) because of the limited amount of LDT entries in the GDT (I dont know if this value is increased e.g. for 64-bit-CPUsor Multicore CPUs).
But I think most OS prevent you from creating more than approx 800 threads/processes because of performance reasons. Not only that they need much time to switch, but they also use a big amount of memory, since they have own stacks and so on...
But I think most OS prevent you from creating more than approx 800 threads/processes because of performance reasons. Not only that they need much time to switch, but they also use a big amount of memory, since they have own stacks and so on...