CPU anomaly does not use all cores

hello
on my home FW I noticed that I have a strange thing about the cpu usage
my machine is equipped with an I5 processor with 4 cores, but if I launch htop I noticed that only 2 are used and two are offline

No anomaly, everything is fine.
This CPU is a 2 core, as stated on your output
https://www.intel.com/content/www/us/en/products/sku/85212/intel-core-i55200u-processor-3m-cache-up-to-2-70-ghz/specifications.html
and by intel.

1 Like

Perhaps you are thinking of threads, not cores. It has 4 threads, but IPFire does not use simultaneous multi-threading.

1 Like

As @pike_it and @bloater99 pointed out, this CPU has two physical cores but provides four threads through Simultaneous Multi-Threading (SMT), which is disabled by default for security reasons.

You can read more about it here:
https://www.ipfire.org/blog/security-announcement-disabling-smt-by-default-on-affected-intel-processors

If you really need SMT, you can turn it on at the bottom of System > Hardware Vulnerabilities in the WUI. Although the blog post is from 2019, the same security concerns apply (even more so) today.

Thanks,
A G

4 Likes

thanks, yes in fact I got a bit confused, it must be because I was tired

1 Like