Skip to content

Consider not download automatically (all) kernel modules #170

@moul

Description

@moul

On some kernels, we have about 470MB of optional kernel modules.

On the on the Alpine Linux image, it is ridiculusly 15 times higher than the 30MB original image size 😳.


Potential ways of optimization:

  • disable some loadable kernel modules
  • build more loadable kernel modules in the kernel (seems smaller in size when built-in)
  • do not call the sync-kernel-modules automatically but document it
  • find a way to "lazy-download" needed kernel modules
  • mount /lib/modules as a read-only network block device/nfs
  • use a compressed file system for /lib/modules

cc @QuentinPerez, @brmzkw, @bchatelard, @aimxhaisse

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions