Compiling an OpenBSD kernel 50% faster
flak.tedunangst.com
flak.tedunangst.com
What a fun post!
> The object files are so large because the kernel is initially compiled with debug symbols.
Is there a way to build without producing debug symbols in the first place?
Probably takes all of 15 minutes to identify the flags needed and then run the new makefile lol
[0] https://gcc.gnu.org/onlinedocs/gcc/Debugging-Options.html
https://github.com/openbsd/src/blob/master/sys/arch/amd64/co...
For years i was searching for an answer to the question: why some company registers so many patents. It never occured to me that this might be the answer. Thanks for the hint.
I think the core issue is that it needs to keep two complete copies of the kernel in memory at the instant in time where it hands off from one to another.
Adding a ccache dependency to the bootup sequence would be in keeping in tone with the rest of the article though.
Straight outta The Martian! Kudos, I got a good laugh.
Likewise with the conclusion. :)