this post was submitted on 14 Nov 2023
1 points (100.0% liked)

Homelab

371 readers
9 users here now

Rules

founded 11 months ago
MODERATORS
 

i just read now a article about hardcoded scaling on linux, which is a maximum of 8 cores (or maybe even threads?) a few days ago also read that the cpu scheduler get's an overhaul so i hope they fix this issue, too. Article: https://thehftguy.com/2023/11/14/the-linux-kernel-has-been-accidentally-hardcoded-to-a-maximum-of-8-cores-for-nearly-20-years/

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 10 months ago

Did you read the article? It says it just caps the maximum runtime per thread, which they assume is suboptimal, but they don’t do any real analysis, provide any data, or anything. Could the scaling factor be changed and allow threads to run longer? Sure. Would it make a difference? Who knows, because this guy made a claim and provided no evidence.

Will Linux use more than 8 cores? Of course it will. I’ve got 40 in my home server and I can saturate all of them with no issue. There’s super computers with single system images running thousands of cores on Linux that don’t have a problem.