Bug#947759: Configuration optimizations for the cloud variant
Source: linux
Severity: wishlist
A few requests for changes to the cloud configuration:
- Please disable CONFIG_ACPI_BGRT; a cloud kernel doesn't need to spend
time or code space looking for a boot logo that won't exist.
- Please disable the CONFIG_CPU_SUP_* options for CPUs that no cloud
provider uses.
- Please disable CONFIG_GNSS_*, which won't be hooked up to a cloud
server.
- Please disable CONFIG_GTP for the same reason.
- Please configure CONFIG_INPUT_MOUSEDEV as a module, not built-in, as
most cloud servers won't have a mouse and probing for one takes time.
- Please consider changing the default kernel compression to GZIP, which
decompresses faster and thus boots faster.
- Please change CONFIG_NET_MPLS_GSO from y to m (and consider doing this
for the non-cloud kernel too); it doesn't need to be built into the
kernel.
- Please change CONFIG_NF_NAT_* and CONFIG_NF_MASQUERADE_* from y to m,
as many systems won't need those modules and shouldn't need to load
their code.
- Please compile in the NVME driver and the EXT4 filesystem; this will
allow many cloud systems to avoid using an initramfs at all, which
substantially improves boot time.
- Please disable CONFIG_NUMA_EMU, only used to create fake-NUMA systems
for debugging.
- Please disable CONFIG_PCIPCWATCHDOG, CONFIG_PPS, and CONFIG_RMI4_*,
which won't appear on a cloud server.
- Please enable CONFIG_SCHED_MC_PRIO (on both cloud and non-cloud
kernels).
- Please disable CONFIG_VFIO_PCI_VGA and CONFIG_VGA_SWITCHEROO, which
won't appear on cloud.
Reply to: