Re: [PATCH 0/2] execve scalability issues, part 1

From: Mateusz Guzik
Date: Wed Aug 23 2023 - 13:12:19 EST


On 8/23/23, Jan Kara <jack@xxxxxxx> wrote:
> On Wed 23-08-23 18:10:29, Mateusz Guzik wrote:
>> So the question is how much does this matter. My personal approach is
>> that avoidable slowdowns (like atomics here) only facilitate further
>> avoidable slowdowns as people can claim there is a minuscule change in
>> % to baseline. But if the baseline is already slow....
>
> I get your point but over the years I've also learned that premature
> optimization isn't good either as we will be dragging the maintenance
> burden for a long time ;) It's a balance.
>

Mate, your proposal is not maintenance burden-free either. ;)

I claim mine is simpler and faster for single threaded case, but is
not generic so should another consumer show up with the single vs
multithreaded need, there may or may not be more work to accommodate
it.

--
Mateusz Guzik <mjguzik gmail.com>