this post was submitted on 30 Aug 2026
44 points (100.0% liked)

Linux

14871 readers
185 users here now

A community for everything relating to the GNU/Linux operating system (except the memes!)

Also, check out:

Original icon base courtesy of lewing@isc.tamu.edu and The GIMP

founded 3 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] SteveTech@aussie.zone 4 points 3 days ago* (last edited 3 days ago)

It's only slightly faster. cpuid is a serialising instruction, which means all the instructions before it have to complete, removing any gains from pipelining and out of order execution. However for a VM this also triggers a VM exit, where the hypervisor takes over to modify the values for the guest.