Re: most lightweight debian server
- From: Mark Allums <mark@xxxxxxxxxx>
- Date: Mon, 31 Mar 2008 09:41:59 -0500
paragasu wrote:
i will love to find out all the option available. I just one to ask one more thing. i hope it
is not too much. Isn't the kernel have modular support. able to load and unload the
needed and unneeded modules on the fly?
How much is the improvement compare to the strip down version of kernel compared
to the modular version in term of performance? (i know disk space is out of question,
strip down produce small kernel size)
The kernel itself it not especially modular. However, there are many, many options to leave unnecessary code out of it.
The device drivers are the exception. The kernel was improved a long time ago to allow the loading of drivers as modules. Unloading has been possible, but it had to be done explicitly. Now the kernel can be configured to load and unload modules automatically. Be sure and enable that option when you are configuring your version of the kernel. (Well, maybe. That option will make the kernel bigger. It might be better to load and unload modules manually. Hmmmmm...)
The size of the kernel isn't the only factor. Many things require "kernel memory". The kernel keeps housekeeping information. For instance, the scheduler needs to keep track of how recently a thread has had the CPU (to prevent starvation). A simpler scheduler may use less memory, because it keeps track of fewer statistics.
All of these things I mentioned are merely examples. Other people can advise you better on the specific things you need to be considering.
--
Mark Allums
--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
- Follow-Ups:
- Re: most lightweight debian server
- From: Mark Allums
- Re: most lightweight debian server
- References:
- most lightweight debian server
- From: paragasu
- Re: most lightweight debian server
- From: Douglas A. Tutty
- Re: most lightweight debian server
- From: paragasu
- Re: most lightweight debian server
- From: Ron Johnson
- Re: most lightweight debian server
- From: Mark Allums
- Re: most lightweight debian server
- From: paragasu
- Re: most lightweight debian server
- From: Mark Allums
- Re: most lightweight debian server
- From: paragasu
- Re: most lightweight debian server
- From: Mark Allums
- Re: most lightweight debian server
- From: paragasu
- most lightweight debian server
- Prev by Date: svn command
- Next by Date: Re: Wireless2
- Previous by thread: Re: most lightweight debian server
- Next by thread: Re: most lightweight debian server
- Index(es):
Relevant Pages
- Questions about The Linux Kernel Module Programming Guide 2.6
... able to load and unload the first modules I compile with the book. ...
kernel with a different setting. ... recompile and load the module again. ...
(comp.os.linux.development.system) - [CFT][RFC] Module auto-unloading solution.
... I put together the script at the end of this ... It won't try to unload ethernet
drivers ... ## your kernel modules. ... # Create a regexp of ethernet
modules. ... (Linux-Kernel) - Unloading kernel modules (fault tarp error)
... I can easily load and unload them using ... I want to load them at startup.
... fault in kernel error and stop booting. ... (freebsd-questions) - Re: PATCH: (as177) Add class_device_unregister_wait() and platform_device_unregister_wait() to the
... >> but why do refcounting at all? ... not with the kernel. ...
Not being able to unload them _totally_ defeats the purpose of ... > concluded it's
extremely hard to solve and generally not worth the ... (Linux-Kernel) - Re: how can a kernel module unload itself?
... kernel and module loaded when needed. ... Dynamic load is cool and error
prone. ... When jobis over, unload B, A... ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
... (Debian-User)