lkml.org 
[lkml]   [2011]   [Dec]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/2] kbuild: add target to install gzipped modules
On Fri, Dec 30, 2011 at 11:23:58AM +0100, Michal Marek wrote:
> On 29.12.2011 18:21, Dave Jones wrote:
> > On Thu, Dec 29, 2011 at 01:50:18PM -0200, Lucas De Marchi wrote:
> > > Add target in Makefile to compress the module after it's installed.
> > > Module-init-tools and libkmod can handle gzipped modules.
> > >
> > > This is not much useful for distributions because the package will gzip
> > > the modules and call depmod in a install rule.
> >
> > It might actually be a worthwhile thing for distributions.
> >
> > For a Fedora kernel, gzipping modules saves around 80MB of diskspace per
> > installed kernel. That the RPM is compressed is irrelevant, the on-disk
> > footprint is more interesting, given that the bulk of the modules installed
> > will never even be loaded.
>
> But it kills performance of the tools.

How often do you run depmod ?

If modprobe is a bottleneck, you have other problems.

Dave



\
 
 \ /
  Last update: 2011-12-30 16:41    [W:0.043 / U:1.372 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site