Hacker News new | past | comments | ask | show | jobs | submit login

Can you limit the number of cores available to an application when you open it? I feel like there must be a way to do that.



On windows, no. You can use affinity to prevent the application from running on some of your cores but it will still spin up a ton of threads (which makes the situation even worse sometimes)


On Linux it’s taskset, numactl, etc.




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

Search: