git clone --recursive https://github.com/JustArchi/Gentooln -sfiles that you deem wanted/useful, considercponly when you want to refrain from their further updates by me. I generally suggest symlinking standalone files, but folders are possible as well.
ArchiPCincludes stuff specific to my configuration, you may create your own while making use of mine for inspiration, but blindly copying anything from there most likely won't end good for you.intelincludes stuff generic to all machines with Intel CPU. You don't want that stuff on AMD.systemdincludes stuff generic to all machines with systemd init daemon. You don't want that stuff onOpenRC.universalincludes universally good stuff. It may include stuff from other categories if I deem it as completely harmless, for example optional/etc/crypttabinclusion in dracut, despite being used solely bysystemd.
hostonly, a VERY important part which makescryptsetuponsystemda breeze, with not a singlegrubcmdline arg needed, on top of not embedding things that you don't needdm-cryptdriver included, as despitecryptmodule, this one is not always includedxzcompression, arguments forxzsame as kernel compression
I strongly advocate against wasting time maintaining your own kernel, while totally encouraging compilation and customization. This is why you can find a lot of parts here that further enhance gentoo-kernel package - parts that I classify as useful patches to adapt the kernel the way I want, without being forced to create a new config file with every minor release.
Instead of spending hours if not days creating your own kernel config (and usually still failing at it), I prefer "distribution config patching" approach instead, which allows you to patch the config prior to kernel compilation automatically based on your configuration, which instead results in maximum compatibility and customization, while still allowing distro maintainers to do their thing right and build minimal modular kernel for you to use. No, disabling all the modules won't make your kernel perform better, it'll only cut on compilation time - unused modules are not causing overhead. Distro configs are already very nicely optimized and only crucial stuff is marked as built-in.
- graysky's kernel patch for
gentoo-kernel, this one is included withexperimentalUSE flag forgentoo-sources, but no such feature forgentoo-kernel, sadly - my own CFLAGS patch, which should be combined with gentooLTO overlay for the best results, requires
gccwithgraphiteUSE flag - highly experimental, works fine for me, but you've been warned - automatic
grub.cfgregeneration, triggers only if you're currently usinggrub.cfg, safe to include even on non-grub machines, should be offered by Gentoo itself -march=nativefor intel, requires graysky's kernel patch, otherwise is a no-op when applied, naturally you don't want that on AMDsystemdtarget, naturally you don't want that onOpenRC- Disabled io-delay, not needed for modern machines, use at your own risk
xzcompression, gives the best compression ratio and very good decompression speed, overall boots faster compared togzipon myx64machine- Better responsiveness, includes
PREEMPTand 1000 Hz interrupts lz4-optimized zram,lz4is currently winning fastest decompression competition, it should be used instead of other alternatives such aslzolz4-optimized zswap, as per above, and automatic enable of it, as I/O access is crucial