3 ms·
> It becomes possible to run millions of threads (either full NPTL threads or co-routines) in a 32-bit address space If the minimal "reserved stack space" per
by Peaker 16y ago
> It becomes possible to run millions of threads (either full NPTL threads or co-routines) in a 32-bit address space
If the minimal "reserved stack space" per thread is 4K, than a million threads would consume about 4GB of memory. That's not quite feasible in a 32-bit address-space. Would most threads run with even less than 4K of reserved stack space?
- jwecker 16y agoUsing a 4k minimum was just one of the possible implementation strategies. It looks like there are several ways to get it much, much lower.