Hacker News new | ask | show | jobs
by titzer 1359 days ago
> On a server with 64GB of ram, that means you can't run more than ~64000 threads at once. That's not really a high number in the context of modern highly-concurrent servers.

Obviously the OS does not allocate megabytes of actual physical RAM to thread stacks, it's just address space. Just, this:

https://unix.stackexchange.com/questions/127602/default-stac...

1 comments

I wouldn't call it quite "obvious" (it certainly didn't cross my mind), but thanks for the information. Quite interesting.