Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.kernel > #65950
| Path | csiph.com!4.us.feeder.erje.net!2.eu.feeder.erje.net!3.eu.feeder.erje.net!feeder.erje.net!news.unit0.net!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Josh Triplett <josh@joshtriplett.org> |
| Newsgroups | linux.debian.bugs.dist, linux.debian.kernel |
| Subject | Bug#947759: Configuration optimizations for the cloud variant |
| Date | Wed, 01 Jan 2020 00:40:01 +0100 |
| Message-ID | <zjzhf-3UP-3@gated-at.bofh.it> (permalink) |
| References | <ziYhH-6NN-1@gated-at.bofh.it> <zjtbP-mZ-1@gated-at.bofh.it> <ziYhH-6NN-1@gated-at.bofh.it> <zjtbP-mZ-1@gated-at.bofh.it> |
| X-Original-To | 947759@bugs.debian.org |
| X-Mailbox-Line | From debian-bugs-dist-request@lists.debian.org Tue Dec 31 23:36:08 2019 |
| Old-Return-Path | <debbugs@buxtehude.debian.org> |
| X-Spam-Flag | NO |
| X-Spam-Score | -1.65 |
| Reply-To | Josh Triplett <josh@joshtriplett.org>, 947759@bugs.debian.org |
| Resent-To | debian-bugs-dist@lists.debian.org |
| Resent-Cc | Debian Kernel Team <debian-kernel@lists.debian.org> |
| X-Debian-Pr-Message | followup 947759 |
| X-Debian-Pr-Package | src:linux |
| X-Debian-Pr-Source | linux |
| X-Spam-Bayes | score:0.0000 Tokens: new, 17; hammy, 150; neutral, 144; spammy, 0. spammytokens: hammytokens:0.000-+--sk:config_, 0.000-+--sk:CONFIG_, 0.000-+--H*RU:sk:josh@jo, 0.000-+--H*F:D*joshtriplett.org, 0.000-+--H*r:sk:josh@jo |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii |
| Content-Disposition | inline |
| X-Debian-Message | from BTS |
| X-Mailing-List | <debian-bugs-dist@lists.debian.org> archive/latest/1576563 |
| List-ID | <debian-bugs-dist.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-bugs-dist/> |
| Approved | robomod@news.nic.it |
| Lines | 74 |
| Organization | linux.* mail to news gateway |
| Sender | robomod@news.nic.it |
| X-Original-Date | Tue, 31 Dec 2019 15:27:25 -0800 |
| X-Original-Message-ID | <20191231232725.GA14425@localhost> |
| X-Original-References | <157769303470.46835.16683293894215256679.reportbug@s> <87be19d710bb2c5883d1f65dfb37b1d547b91b2f.camel@decadent.org.uk> <157769303470.46835.16683293894215256679.reportbug@s> <87be19d710bb2c5883d1f65dfb37b1d547b91b2f.camel@decadent.org.uk> |
| Xref | csiph.com linux.debian.bugs.dist:989339 linux.debian.kernel:65950 |
Cross-posted to 2 groups.
Show key headers only | View raw
On Tue, 31 Dec 2019 17:03:23 +0000 Ben Hutchings <ben@decadent.org.uk> wrote: > 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. It might. GZIP seemed like a more reasonable tradeoff to request, but I'd be all for LZ4 if that seems reasonable to you. That is indeed the fastest option (see https://smackerelofopinion.blogspot.com/2019/09/ for data to back that up). It might even be worth switching to LZ4 on the standard Debian kernels as well. > > - 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. I didn't realize it didn't autoload. But yes, it seems quite unlikely to be needed. > > - 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. I'd forgotten that several options became booleans and their code got merged into parent modules that are already modularized; nevermind on this one. > > - 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. Ah, I didn't realize Hyper-V provided a PTP device; that makes sense. - Josh Triplett
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