Questions tagged [cpu]
The CPU (Central Processing Unit), is the chip in the computer that actually performs the operations and calculations that are done as a program runs. It is essentially what executes a program.
872 questions
11
votes
1
answer
1k
views
How to do AMD CPU microcode update (not BIOS update)?
Yesterday, I updated my UEFI/BIOS to the latest version (about 11 days old only).
Summary of my HW/OS:
# hostnamectl | grep -v ' ID'
Static hostname: rog-g713pi
Pretty hostname: ASUS ROG Strix G17 ...
3
votes
5
answers
933
views
Determine which are P-cores/E-cores (Intel CPU)
I have a Intel Core Ultra 5 135U processor with heterogenous cores (performance, power-efficient and low power efficient).
How do I check which processor is which?
I tried to see /proc/cpuinfo, but ...
5
votes
1
answer
476
views
Unable to Access CPU Model Name in Debian VMWare
I am currently doing my HW using Debian 13 in VMWare fusion pro. I am trying to retrieve information of CPU model name (eg. Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz)
I have tried lscpu and cat /proc/...
2
votes
1
answer
35
views
Probing Hardware for Sensor Data with High Frequency (Temperature and CPU clock frequency)
I'm trying to learn how to probe my CPU sensor data. I need at most 1 to 2 ms sampling period. Using hwmon this could be possible for the temperature data.
But so far I only discovered the CPUfreq ...
0
votes
2
answers
162
views
Hot weather help! [closed]
I live in my car and it gets HOT in the summer. I've noticed when the temperature rises above normal room temperatures (like ~72f) my laptop proportionally starts to slow down to the point its ...
1
vote
1
answer
212
views
How to measure actual CPU utilization in Linux for multi core applications?
I have a computation intensive process that I need to run multiple times on a multi-core processor but "top" isn't showing utilization or load in a useful way.
For example, imagine my task ...
0
votes
1
answer
128
views
Unable to Mitigate GDS (gather_data_sampling) using Fedora 41, 40 Intel HP
I was using Fedora 40 and upgraded the system to Fedora 41 still getting this from my cpu information
$ cat /sys/devices/system/cpu/vulnerabilities/gather_data_sampling
Vulnerable: No microcode
The ...
19
votes
1
answer
2k
views
CPU number not equal to threads per core X cores per socket X sockets
As far as I understand, the number of CPUs in my computer should be given by
CPU = Thread(s) per core x Core(s) per socket x Socket(s)
Here are the first few lines of the lscpu output:
$ lscpu | head -...
0
votes
1
answer
634
views
Difference between RSI and RDI registers and what they do in syscalls
So I searched stack exchange, seeing this question as well (here: https://stackoverflow.com/questions/23367624/intel-64-rsi-and-rdi-registers) and is said:
These registers were originally implicitly ...
2
votes
1
answer
1k
views
Why does Windows 11 work in Qemu with CPU type qemu64?
I am not sure whether this question is more related to Linux or to Windows. However, here we go:
Using qemu-system-x86_64 7.2.15 on Debian bookworm with kernel 6.1.0 / amd64 on a server with two Xeon ...
0
votes
2
answers
71
views
Files in /dev/cpuset renamed?
I'm working on some old scripts that deal with cpusets, porting to openSUSE. The scripts worked fine with openSUSE 15.5, but now with 15.6 they fail because the /dev/cpuset files they expect aren't ...
1
vote
0
answers
97
views
Alternate way to get the CPU cache size
I have a project where I need to get the size of the cache on my Linux machine. I don't know the linux distro, and the /etc/os-release file does not exist.
I only know the kernel and architecture:
...
0
votes
1
answer
71
views
How to find out the reason of gpe10 CPU spikes every ~10 seconds
I would like to find out the reason for CPU spikes on my laptop. I've narrowed it down to /sys/firmware/acpi/interrupts/gpe10, but am not sure how to proceed further.
Here is what the spikes looks ...
2
votes
1
answer
3k
views
ASUS motherboard fan control under Linux
I built a machine using an ASUS TUF GAMING B650M-PLUS motherboard and a Ryzen 7 8700G CPU. Linux installed with no problems, but I am missing fan control and monitoring.
Under Windows, I use ASUS ...
0
votes
0
answers
233
views
Clarifications on perf_events data collection
Originally posted here on stackoverflow
I have never used the perf command before (but I need it), hence I have been reading the (really useful) PerfWiki.
The section devoted to Event-based sampling ...