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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

PCID is now a critical performance/security feature on x86

164 点作者 pedro84超过 7 年前

14 条评论

brendangregg超过 7 年前
+1 yes, pcid makes a big improvement (I've been testing the KPTI patches with and without pcid).
snaky超过 7 年前
&gt; I did manage to pull out an old Lenovo ThinkPad W510 with an Intel Core i7 720QM Clarksfield that is from 2009 and lacks PCID but is affected by this cpu_insecure issue.<p>&gt; On that old Clarksfield-era ThinkPad I wasn&#x27;t going to be surprised if the performance was disastrous, but it wound up being better than I had anticipated given all the ongoing drama... In general purpose workloads there was no reportable performance difference in our frequent benchmark test cases. Under I&#x2F;O, the PTI-using kernel did yield some slower results but not by the margins seen on the newer systems with faster storage. The laptop consumer-grade HDD in this laptop appeared to be the main bottleneck and kernel inefficiencies weren&#x27;t causing as dramatic slowdowns.<p>&gt; To some surprise, when carrying out network benchmarks with netperf&#x2F;iperf3, in at least those contexts PTI didn&#x27;t have a noticeable impact on the network throughput performance.<p><a href="https:&#x2F;&#x2F;www.phoronix.com&#x2F;scan.php?page=article&amp;item=linux-more-x86pti&amp;num=1" rel="nofollow">https:&#x2F;&#x2F;www.phoronix.com&#x2F;scan.php?page=article&amp;item=linux-mo...</a>
hannob超过 7 年前
Can anyone confirm that the way to identify if a linux system has pcid support is to check &#x2F;proc&#x2F;cpuinfo? Or is that merely to identify if the hw supports it, independent of the kernel support?<p>I checked two ubuntu servers, one 14.04, the other 16.04, both have it. Which seems odd given the claim that it&#x27;s only been added recently to the kernel.<p>Also I see nothing showing up in dmesg, no config option and no proc interface on any system.
评论 #16101058 未加载
评论 #16101482 未加载
MBCook超过 7 年前
I saw a post in the last few days that said that most Macintoshes have this feature and Apple has been using it. Can anyone confirm that?
评论 #16095486 未加载
the8472超过 7 年前
It seems to be a double win for bare metal machines. They always have PCID and they&#x27;re less at risk in the first place since they don&#x27;t share the hardware.<p>Virtualbox seems to lack PCID too.
评论 #16101583 未加载
tveita超过 7 年前
This will be good to keep in mind when looking at performance reports.<p>The main performance numbers I&#x27;ve seen so far are from two kinds of sources:<p>1. Local benchmarks like the Phoronix benchmarks, which I think are all on physical hardware with PCID.<p>2. Reports from cloud customers like <a href="https:&#x2F;&#x2F;forums.aws.amazon.com&#x2F;thread.jspa?threadID=269858" rel="nofollow">https:&#x2F;&#x2F;forums.aws.amazon.com&#x2F;thread.jspa?threadID=269858</a> and <a href="https:&#x2F;&#x2F;twitter.com&#x2F;chanian&#x2F;status&#x2F;949457156071288833" rel="nofollow">https:&#x2F;&#x2F;twitter.com&#x2F;chanian&#x2F;status&#x2F;949457156071288833</a>. These are with a patched host, but with an unpatched guest OS. The best case scenario here seems to be that it doesn&#x27;t degrade much further when the guest OS is patched.<p>I don&#x27;t think I&#x27;ve seen any numbers yet for AWS with a patched guest OS - this would be interesting to see on instances with and without PCID support.
bogomipz超过 7 年前
I had a question, the author states:<p>&gt;&quot;The PCID (Processor-Context ID) feature on x86-64 works much like the more generic ASID (Address Space IDs)&quot;<p>Is ASID the RISC instruction that accomplishes the same thing that PCID does on x86 then?
评论 #16097731 未加载
dannyw超过 7 年前
Can PCID (like HyperThreading, full L3 cache, or extra PCI-e slots in the latest i7s and i9s) be enabled with an update that blows those (e)fuses.
评论 #16101708 未加载
评论 #16102341 未加载
评论 #16100985 未加载
earenndil超过 7 年前
Desktop link: <a href="https:&#x2F;&#x2F;archive.fo&#x2F;KkmED" rel="nofollow">https:&#x2F;&#x2F;archive.fo&#x2F;KkmED</a> &#x2F; <a href="https:&#x2F;&#x2F;groups.google.com&#x2F;forum&#x2F;#!topic&#x2F;mechanical-sympathy&#x2F;L9mHTbeQLNU" rel="nofollow">https:&#x2F;&#x2F;groups.google.com&#x2F;forum&#x2F;#!topic&#x2F;mechanical-sympathy&#x2F;...</a>
Szpadel超过 7 年前
I created script for detecting system status against Meltdown issue if anyone is interested if system is patched: <a href="https:&#x2F;&#x2F;gist.github.com&#x2F;Szpadel&#x2F;003798ac7f4d98bc3583c2a5f3064cb3" rel="nofollow">https:&#x2F;&#x2F;gist.github.com&#x2F;Szpadel&#x2F;003798ac7f4d98bc3583c2a5f306...</a>
KerrickStaley超过 7 年前
One thing I still don&#x27;t understand about all this:<p>Why is there still a (smaller) performance hit from the KPTI patch when PCID is used?
评论 #16102156 未加载
评论 #16102097 未加载
评论 #16101871 未加载
yuhong超过 7 年前
One problem is cross-vendor migration, because AMD don&#x27;t support PCID.
jimktrains2超过 7 年前
I hate that you can&#x27;t even view Google groups without an account. It also requires us to do nothing but show text. To me groups and blogger has always represented what a terrible web application is.
评论 #16099209 未加载
评论 #16098482 未加载
评论 #16100635 未加载
评论 #16096760 未加载
评论 #16096517 未加载
unitboolean超过 7 年前
Many people said that if your processor support PCID, the performance will not be reduced a lot by the new patches. However, after installing new updates for windows and for my very new CPU 7600U everything becomes extremely slow. My laptop is now literally unusable. Even the simplest tasks are very slow. Before this update I was able to watch youtube videos in 4K, now I&#x27;m struggling even to watch 480p... I will never buy Intel processors again. In the last few months I only hear lies from Intel regarding Meltdown, Management Engine and other &quot;holes&quot; in their products. Now I can throw my super expensive laptop in garbage. Thank you Intel.
评论 #16101611 未加载