@xuanruiqi probably is an addition of some optimizations and some additional options enabled in XanMod that are not in Arch. Also XanMod bzImage is compressed with lz4 and Arch with zstd. In my case I compile XanMod with modprobed-db and the result is less than Arch:
figue on pluto /tmp ➜ ls -lh vmlinuz-linux.uncompressed vmlinuz-linux-xanmod.uncompressed
-rw-r--r-- 1 figue users 45M feb 27 09:54 vmlinuz-linux-xanmod.uncompressed
-rw-r--r-- 1 figue users 49M feb 27 09:55 vmlinuz-linux.uncompressed
Of course, my configs and modules enabled are less than Arch:
figue on pluto /tmp ✗ zgrep '=y' /proc/config.gz | wc -l
1941
figue on pluto /tmp ➜ zgrep '=m' /proc/config.gz | wc -l
242
figue on pluto /tmp ➜ grep '=y' arch.config | wc -l
2522
figue on pluto /tmp ➜ grep '=m' arch.config | wc -l
5167
If we compare it with XanMod's default config:
figue on pluto /tmp ➜ grep '=y' xanmod.config | wc -l
2637
figue on pluto /tmp ➜ grep '=m' xanmod.config | wc -l
5618
Cheers
Pinned Comments
figue commented on 2018-12-14 00:50 (UTC) (edited on 2023-02-27 20:00 (UTC) by figue)
This package have several variables to enable/disable features.
Personally I'm running now xanmod kernel compiled with this:
Also, you can now create the file myconfig in your local repo to build this package with a custom config or use ${XDG_CONFIG_HOME}/linux-xanmod/myconfig. This file can be a full kernel config or be a script with several entries to add/remove options (you have several examples in PKGBUILD by using scripts/config):
Code involved: