2 ms·
> 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-concu
by titzer 4y 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-stack-size-for-pthreads https://unix.stackexchange.com/questions/127602/default-stac...
- bheadmaster 4y agoI wouldn't call it quite "obvious" (it certainly didn't cross my mind), but thanks for the information. Quite interesting.