开发者

Does set affinity ensure that only one core resources are used?

开发者 https://www.devze.com 2022-12-11 21:15 出处:网络
开发者_StackOverflow中文版I just wanted to find out if setting cpu affinity ensure that the application runs only on that core ?Yes, that\'s what affinity masks are for. However you need this very rar

开发者_StackOverflow中文版I just wanted to find out if setting cpu affinity ensure that the application runs only on that core ?


Yes, that's what affinity masks are for. However you need this very rarely. The only reasonable use case I can imagine is restricting the number of cores depending on the end-user license agreement.

0

精彩评论

暂无评论...
验证码 换一张
取 消