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/
It’s clickbait and doesn’t have any real impact. It just effects the amount of time each process has before being preempted for multi tasking. You wouldn’t want this number to scale to a large number even with a large number of cores.
The Linux kernel supports using more than 8 cores.
(*not an expert and this is just from reading around a bit)
yes it shows you the cores, that’s not the question but does the scheduler use them all or is he throwing the tasks between the cores which results in more latency/overhead to switch also the level1 or 2 cache inbetween. i running also linux for more then 5 years know, but it really would be a game changer if you not use all potential of all cores you have on your rig … i really want to believe it, because that would have a great impact on mutlicore systems
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.