Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #66177

Bug#947759: Configuration optimizations for the cloud variant

From Josh Triplett <josh@joshtriplett.org>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#947759: Configuration optimizations for the cloud variant
Date 2020-01-21 01:50 +0100
Message-ID <zqPTX-y9-5@gated-at.bofh.it> (permalink)
References <ziYhH-6NN-1@gated-at.bofh.it> <zjtbP-mZ-1@gated-at.bofh.it> <zjzhf-3UP-3@gated-at.bofh.it> <ziYhH-6NN-1@gated-at.bofh.it> <zjzhf-3UP-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


Following up on this, here's a simplified list of optimizations for the
cloud variant in one place, taking into account the previous reply.
Would it help to get this in the form of a patch or MR on
https://salsa.debian.org/kernel-team/linux/ ?

- 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 consider changing the default kernel compression to LZ4, which
  decompresses much faster and thus boots faster. (Benchmarks to support
  this: https://smackerelofopinion.blogspot.com/2019/09/ ) Please
  consider doing this on the non-cloud configuration as well.

- 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 (concretely, please disable everything except
  CONFIG_CPU_SUP_AMD and CONFIG_CPU_SUP_INTEL).

- 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 change CONFIG_NET_MPLS_GSO from y to m. While nothing will
  automatically load it, it's sufficiently rare that loading it manually
  seems reasonable, and this would reduce attack surface and boot time.

- Please disable CONFIG_NUMA_EMU, only used to create fake-NUMA systems
  for debugging.

- Please disable CONFIG_PCIPCWATCHDOG 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.

Thank you,
Josh Triplett

Back to linux.debian.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


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