News for hackers. Stuff that matters.
Re:Linux from Scratch by yjftsjthsd-h on Monday February 28, 2022 @01:08AM (#30496896)
Yeah, you can tell Gentoo to build with -O0 if you want to, so that's quite possible; likewise, you can try to overdo it and create performance regressions (https://stackoverflow.com/questions/17158219/in-which-scenar...).

Boot time crossed my mind, too, but Gentoo is happy to run with systemd so that's not really "Gentoo vs Ubuntu" so much as "this exact variant of Gentoo vs default Ubuntu" which is kind of fair. (Assuming, of course, that OpenRC is slower to boot than systemd, which would also be an interesting benchmark)

Re:Linux from Scratch by Shared404 on Monday February 28, 2022 @01:29AM (#30496988)
Overdoing it does seem quite likely - if I didn't know and was trying to do a test I could easily see myself just enabling all the optimizations and moving on.

I would as well. My understanding is that SystemD does more parallelization/magic to decrease boot time, but is a bigger system to try to comprehend and has more surface in general.

I believe parallelization is a configurable option on OpenRC though, I'll add that test to the list to try some time.