[ale] Linux kernel
Ed Cashin
ecashin at noserose.net
Wed Nov 15 19:14:00 EST 2023
It's funny that the code is pretty conventional and should be clear to
people who read kernel sources a lot, but *the comments* were wrong. And
people in the Reddit discussion are speculating that Linux should have 30%
comments like NVIDIA does.
But I'm not sure this is such a big deal---If you ignore the comments, the
code is just saying, "Let tasks stay on the CPU longer if there are more
CPUs, but only increase the time slice up to eight CPUs." If you let it
keep scaling, you'd have terrible latency on massively parallel machines.
If you had all your cores working hard on math, you'd try to launch a
process or interact with something and get a huge pause.
The scaling appears just based on a speculation that if you have multiple
CPUs, there might be a free one to help mitigate the increased latency. So
it seems good that they wouldn't get carried away. Maybe someone will just
try it and see.
On Wed, Nov 15, 2023 at 9:12 AM Boris Borisov via Ale <ale at ale.org> wrote:
> Read somewhere today that linux kernel has been accidentally locked to 8
> cores.
>
> Anyone to collaborate.
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> https://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo
>
--
Ed Cashin <ecashin at noserose.net>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.ale.org/pipermail/ale/attachments/20231115/e1a9d7eb/attachment.htm>
More information about the Ale
mailing list