TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

CPU Pinning and CPU Sets (2020)

55 点作者 arnold_palmur超过 3 年前

8 条评论

sm_ts超过 3 年前
I&#x27;ve maintained a QEMU fork with pinning support, and even coauthored a research paper on the Linux pinning performance topic, and the results have been... underwhelming; &quot;sadly&quot; the Linux kernel does a pretty good job at scheduling :)<p>I advise pinning users to carefully measure the supposed performance improvement, as there is a tangible risk of spending time on imaginary gains.
评论 #29388093 未加载
评论 #29384258 未加载
评论 #29385349 未加载
评论 #29383385 未加载
评论 #29385553 未加载
评论 #29383188 未加载
评论 #29384598 未加载
foton1981超过 3 年前
Kubernetes makes CPU pinning rather simple. Just need to meet conditions to reach Guaranteed QoS. <a href="https:&#x2F;&#x2F;kubernetes.io&#x2F;docs&#x2F;tasks&#x2F;administer-cluster&#x2F;cpu-management-policies&#x2F;" rel="nofollow">https:&#x2F;&#x2F;kubernetes.io&#x2F;docs&#x2F;tasks&#x2F;administer-cluster&#x2F;cpu-mana...</a><p>We are running lots of Erlang on k8s and CPU pinning improves performance of Erlang schedulers tremendously.
评论 #29382410 未加载
评论 #29381758 未加载
Sohcahtoa82超过 3 年前
Tangental, but does anyone know of a Windows utility for automatically pinning processes?<p>I like to keep up with several cryptocurrency prices on Coinbase, but the Coinbase Pro pages consume a pretty significant amount of CPU time. I&#x27;d love to be able to just shove all of those processes to a single CPU thread to reduce the impact on overall system performance.<p>I suppose it wouldn&#x27;t be too hard to write a Python script that does this automatically...scan Window titles to look for &quot;Coinbase Pro&quot;, find the owning PID, then call SetAffinity...
评论 #29384132 未加载
bogomipz超过 3 年前
This class looks great. I noticed the course page states:<p>&gt;&quot;This class overlaps significantly with CS392 ``Systems Programming&#x27;&#x27; -- if you have taken this class, please talk to me in person before trying to register for CS631.&quot;[1]<p>Does anyone know if the videos for CS392 might also be online? I tried to some basic URL substitutions however I came up empty.<p>[1] <a href="https:&#x2F;&#x2F;stevens.netmeister.org&#x2F;631&#x2F;" rel="nofollow">https:&#x2F;&#x2F;stevens.netmeister.org&#x2F;631&#x2F;</a>
nuclx超过 3 年前
Does anyone know how the methods mentioned by the author map to &#x27;taskset&#x27;?
评论 #29384008 未加载
1_player超过 3 年前
CPU pinning is pretty useful for virtual machines, i.e. I&#x27;ve used it myself to improve performance on a VFIO setup, by limiting which cores where qemu runs on and thus improving cache locality.<p><a href="https:&#x2F;&#x2F;wiki.archlinux.org&#x2F;title&#x2F;PCI_passthrough_via_OVMF#CPU_pinning" rel="nofollow">https:&#x2F;&#x2F;wiki.archlinux.org&#x2F;title&#x2F;PCI_passthrough_via_OVMF#CP...</a><p>What are other real-world uses of CPU pinning?
评论 #29380569 未加载
评论 #29380419 未加载
评论 #29385260 未加载
评论 #29380416 未加载
lclarkmichalek超过 3 年前
Much cheaper than CPU cgroups if you want some corse grained isolation when stacking workloads
inetknght超过 3 年前
CPU pinning can be particularly important if you&#x27;re running virtual machines and&#x2F;or hyperthreading-friendly workloads
评论 #29380600 未加载