Hacker News new | ask | show | jobs
by stewartesmith 2027 days ago
I wasn't talking about the reading of the number of CPUs you could use, but rather how many threads you'd spawn based on that information.

There may be 10 CPUs in the machine, but if your in your container which is restricted to using only 1 of them, it's no use launching 10 threads in that container over just having one.

1 comments

Oh I see. My mistake. This makes more sense.