Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.kernel > #65946
| From | Ben Hutchings <ben@decadent.org.uk> |
|---|---|
| Newsgroups | linux.debian.bugs.dist, linux.debian.kernel |
| Subject | Bug#947759: Configuration optimizations for the cloud variant |
| Date | 2019-12-31 18:10 +0100 |
| Message-ID | <zjtbP-mZ-1@gated-at.bofh.it> (permalink) |
| References | <ziYhH-6NN-1@gated-at.bofh.it> <ziYhH-6NN-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Cross-posted to 2 groups.
[Multipart message — attachments visible in raw view] - view raw
On Mon, 2019-12-30 at 00:03 -0800, Josh Triplett wrote: > Source: linux > Severity: wishlist > > A few requests for changes to the cloud configuration: Most of this looks reasonable, but: > - 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. LZO or LZ4 could be even 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. Unfortunately nothing will load it if it's a module. It's also a tiny piece of code. This might still be justifiable on the basis of reducing the default attack surface though. > - 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. Some of those are boolean options, and I believe all of those that can be modular already are. You'll have to be more specific. > - 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. Hyper-V and KVM both support PTP clocks, and PTP_1588_CLOCK selects PPS. > - 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. Ben. -- Ben Hutchings Experience is what causes a person to make new mistakes instead of old ones.
Back to linux.debian.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Bug#947759: Configuration optimizations for the cloud variant Josh Triplett <josh@joshtriplett.org> - 2019-12-30 09:10 +0100
Bug#947759: Configuration optimizations for the cloud variant Ben Hutchings <ben@decadent.org.uk> - 2019-12-31 18:10 +0100
Bug#947759: Configuration optimizations for the cloud variant Josh Triplett <josh@joshtriplett.org> - 2020-01-01 00:40 +0100
Bug#947759: Configuration optimizations for the cloud variant Josh Triplett <josh@joshtriplett.org> - 2020-01-21 01:50 +0100
Bug#947759: Configuration optimizations for the cloud variant Noah Meyerhans <noahm@debian.org> - 2020-01-21 03:00 +0100
Bug#947759: Configuration optimizations for the cloud variant Noah Meyerhans <noahm@debian.org> - 2020-02-04 21:10 +0100
Bug#947759: Configuration optimizations for the cloud variant Josh Triplett <josh@joshtriplett.org> - 2020-02-05 01:00 +0100
Bug#947759: Configuration optimizations for the cloud variant Noah Meyerhans <noahm@debian.org> - 2020-02-05 22:40 +0100
Bug#947759: Configuration optimizations for the cloud variant Josh Triplett <josh@joshtriplett.org> - 2020-02-06 03:00 +0100
Bug#947759: marked as done (Configuration optimizations for the cloud variant) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2020-04-17 05:10 +0200
csiph-web