[ale] Linux kernel
Jim Kinney
jim.kinney at gmail.com
Wed Nov 15 20:46:33 EST 2023
I see stuff like that and summarily dismiss everything the author said and
says from then on. Once a dufus, always a dufus until better data is
provided.
On Wed, Nov 15, 2023, 7:29 PM Jon "maddog" Hall via Ale <ale at ale.org> wrote:
> The other thing that surprised me was the passage that said "Comments just
> slow down the compilation".
>
> Paaaaleese! Even the heaviest commented source code on a compiled program
> would be a breeze for the compiler to handle. This excuse is fake news.
>
> On Wed, Nov 15, 2023, 19:14 Ed Cashin via Ale <ale at ale.org> wrote:
>
>> 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>
>> _______________________________________________
>> 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
>>
> _______________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.ale.org/pipermail/ale/attachments/20231115/9981c49b/attachment.htm>
More information about the Ale
mailing list