Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> 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?



Using a 4k minimum was just one of the possible implementation strategies. It looks like there are several ways to get it much, much lower.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: