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

 


Reply via email to