The Linux kernel has been accidentally hardcoded to a maximum of 8 cores
1–10 of 58 posts
Re: The Linux kernel has been accidentally hardcoded to a maximum of 8 cores
#2I can understand having a bug like that, but unnoticed for 15 years? more than 8 cores was rare 15 years ago, and as a percentage of chips sold is still rare, but presumably people with threadrippers ran benchmarks? optimized? etc? just doesn't seem possible
Re: The Linux kernel has been accidentally hardcoded to a maximum of 8 cores
#3> The Linux kernel has been accidentally hardcoded to a maximum of 8 cores for the past 15 years and nobody noticed I can understand having a bug like that, but unnoticed for 15 years? more than 8 cores was rare 15 years ago, and as a percentage of chips sold is still rare, but presumably people with threadrippers ran benchmarks? optimized? etc? just doesn't seem possible
Re: The Linux kernel has been accidentally hardcoded to a maximum of 8 cores
#4> The Linux kernel has been accidentally hardcoded to a maximum of 8 cores for the past 15 years and nobody noticed I can understand having a bug like that, but unnoticed for 15 years? more than 8 cores was rare 15 years ago, and as a percentage of chips sold is still rare, but presumably people with threadrippers ran benchmarks? optimized? etc? just doesn't seem possible
Yeah how come people running massive computers didn’t notice the limit?
Re: The Linux kernel has been accidentally hardcoded to a maximum of 8 cores
#5> The Linux kernel has been accidentally hardcoded to a maximum of 8 cores for the past 15 years and nobody noticed I can understand having a bug like that, but unnoticed for 15 years? more than 8 cores was rare 15 years ago, and as a percentage of chips sold is still rare, but presumably people with threadrippers ran benchmarks? optimized? etc? just doesn't seem possible
Yeah how come people running massive computers didn’t notice the limit?
Re: The Linux kernel has been accidentally hardcoded to a maximum of 8 cores
#6Re: The Linux kernel has been accidentally hardcoded to a maximum of 8 cores
#7Re: The Linux kernel has been accidentally hardcoded to a maximum of 8 cores
#8Earlier quoted context omitted.
Yeah how come people running massive computers didn’t notice the limit?
If i skimmed this correctly then its a malus on performance not a complete cliff. I guess people just thought "hohum - there gotta be some overhead in scheduling".
Still don't get after rereading the article, what is the malus, it must be small by that? Because you definitely saw linear scaling with parallelizable problems on >8 cores, otherwise people would have noticed?
Re: The Linux kernel has been accidentally hardcoded to a maximum of 8 cores
#9> The Linux kernel has been accidentally hardcoded to a maximum of 8 cores for the past 15 years and nobody noticed I can understand having a bug like that, but unnoticed for 15 years? more than 8 cores was rare 15 years ago, and as a percentage of chips sold is still rare, but presumably people with threadrippers ran benchmarks? optimized? etc? just doesn't seem possible
The number of cores in the heuristic used to calculate task switch frequency was capped to 8.
This is a reasonable thing to do as a heuristic, because you don’t want your time slice to grow indefinitely with core count on an interactive system.
Re: The Linux kernel has been accidentally hardcoded to a maximum of 8 cores
#10> The Linux kernel has been accidentally hardcoded to a maximum of 8 cores for the past 15 years and nobody noticed I can understand having a bug like that, but unnoticed for 15 years? more than 8 cores was rare 15 years ago, and as a percentage of chips sold is still rare, but presumably people with threadrippers ran benchmarks? optimized? etc? just doesn't seem possible
You'll lose your mind once you realise that Windows NT handles a lot of things single-threaded. I had a situation once where I was handling a few million packets per second of TCP on Windows and it only pins a single core.
Though: that's not what TFA is looking at: in this case you're not actually limited to 8 cores, you're limited to slicing your executions into 8 parts per cpu per "tick".
This is a known way of scheduling, you only get 1/8th of a tick with a fair scheduler.