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


Groups > linux.debian.user > #236816

Re: removing modules

From Hans <hans.ullrich@loop.de>
Newsgroups linux.debian.user
Subject Re: removing modules
Date 2021-07-03 20:10 +0200
Message-ID <CwSfv-7Gv-1@gated-at.bofh.it> (permalink)
References <CwQnn-6tT-3@gated-at.bofh.it> <CwRjs-74O-3@gated-at.bofh.it> <CwRjs-74O-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Am Samstag, 3. Juli 2021, 19:01:02 CEST schrieb IL Ka:

Hi all,

> I was thinking then to remove the unwanted modules to make the kernels
> 
> > smaller.
> 
Some years ago I tested a few things.
I built a monolithic kernel with all the modules statically built in, as I 
knew all modules I needed. 

Everything else, I did not need, I removed from the kernel. So I got a optimal 
kernel exactly for my machine.

Then I took the booting time.

After this I made a minimalistic kernel (nearly a microkernel) with only just 
the needed modules built in and left all other modules I needed as loadable 
modules.

Then I took the booting time.

At last I took the debian standard kernel and built it without any changes for 
my architecture.

Then I took the booting time.

What do you think? No, you are wrong, the difference among those three kernels 
in the booting time was not big, just maybe 1 to 3 seconds.

However, building an own kernel might improve security, i.e. on my servers I 
removed the usbmodule and cdrom stuff, so that no one could easy connect evil 
hardware to the servers (we sometimes got visitors in the data processing 
center)

Just my 2 cents...

Best 

Hans

 

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

removing modules mick crane <mick.crane@gmail.com> - 2021-07-03 18:10 +0200
  Re: removing modules Reco <recoverym4n@enotuniq.net> - 2021-07-03 18:20 +0200
  Re: removing modules The Wanderer <wanderer@fastmail.fm> - 2021-07-03 18:30 +0200
    Re: removing modules The Wanderer <wanderer@fastmail.fm> - 2021-07-03 19:10 +0200
      Re: removing modules The Wanderer <wanderer@fastmail.fm> - 2021-07-03 19:40 +0200
      Re: removing modules The Wanderer <wanderer@fastmail.fm> - 2021-07-03 19:40 +0200
    Re: removing modules IL Ka <kazakevichilya@gmail.com> - 2021-07-03 19:10 +0200
      Re: removing modules Hans <hans.ullrich@loop.de> - 2021-07-03 20:10 +0200
        Re: removing modules Sven Hartge <sven@svenhartge.de> - 2021-07-03 20:50 +0200
    Re: removing modules Reco <recoverym4n@enotuniq.net> - 2021-07-03 19:10 +0200
    Re: removing modules Greg Wooledge <greg@wooledge.org> - 2021-07-03 19:20 +0200
      Re: removing modules Greg Wooledge <greg@wooledge.org> - 2021-07-03 20:10 +0200
        Re: removing modules Stefan Monnier <monnier@iro.umontreal.ca> - 2021-07-03 20:30 +0200
          Re: removing modules Stefan Monnier <monnier@iro.umontreal.ca> - 2021-07-03 22:40 +0200
          Re: removing modules David Wright <deblis@lionunicorn.co.uk> - 2021-07-04 17:30 +0200
      Re: removing modules Brian <ad44@cityscape.co.uk> - 2021-07-03 21:10 +0200
        Re: removing modules Tom Dial <tddial@comcast.net> - 2021-07-04 05:10 +0200
          Re: removing modules Brian <ad44@cityscape.co.uk> - 2021-07-04 11:10 +0200
            Re: removing modules Tixy <tixy@yxit.co.uk> - 2021-07-04 14:50 +0200
              Re: removing modules Brian <ad44@cityscape.co.uk> - 2021-07-04 20:50 +0200
                Re: removing modules Brad Rogers <brad@fineby.me.uk> - 2021-07-04 21:20 +0200
                Re: removing modules Brian <ad44@cityscape.co.uk> - 2021-07-04 22:20 +0200
                Re: removing modules David Wright <deblis@lionunicorn.co.uk> - 2021-07-05 07:00 +0200
                Re: removing modules Brian <ad44@cityscape.co.uk> - 2021-07-05 12:10 +0200
    Re: removing modules David Wright <deblis@lionunicorn.co.uk> - 2021-07-03 19:40 +0200
  Re: removing modules IL Ka <kazakevichilya@gmail.com> - 2021-07-03 18:30 +0200

csiph-web