TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

PCID is now a critical performance/security feature on x86

164 pointsby pedro84over 7 years ago

14 comments

brendangreggover 7 years ago
+1 yes, pcid makes a big improvement (I've been testing the KPTI patches with and without pcid).
snakyover 7 years ago
&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>
hannobover 7 years ago
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 未加载
MBCookover 7 years ago
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 未加载
the8472over 7 years ago
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 未加载
tveitaover 7 years ago
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.
bogomipzover 7 years ago
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 未加载
dannywover 7 years ago
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 未加载
earenndilover 7 years ago
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>
Szpadelover 7 years ago
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>
KerrickStaleyover 7 years ago
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 未加载
yuhongover 7 years ago
One problem is cross-vendor migration, because AMD don&#x27;t support PCID.
jimktrains2over 7 years ago
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 未加载
unitbooleanover 7 years ago
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 未加载