loaded modules?
Hello everyone
When I do lsmod it shows a bunch of modules that are currently loaded in my system. I'm wondering do I really need all those modules to be loaded ? As I see the used by column and some of the modules score 0 in this column. I'd like to remove the modules that are not used by anything without effecting my system just to speed things up Thank you |
How do these loaded modules slow you down? When they're not in use, they're swapped out.
|
What I had in my was if nobody is using the modules, isn't it better not to load the modules at all?
So are you saying that when the used by column shows a 0 it means the modules are swapped out/not in the kernel? who will swap back in the modules when they are needed after they got swapped out? How do I know whether I really a need a module or not? Thank you |
Quote:
Brian |
Quote:
The kernel uses the modules. If you have a module that is loaded then remove it. If the module is the wrong one then find out which is to be used for the hardware you want functional. Just don't arbitrarily remove a module. Do a 'lspci -vv' from console then see what is loaded to support the device(s). If you want to know a little more about the kernel then read the; 'Linux Kernel in a Nutshell' link which was referenced in 'Slackware-Links' formerly 'Slackware LQ Suggestions Links!' for other good online reference. The 'Linux Kernel in a Nutshell' has a good example on how to trace for hardware and modules needs. |
To answer one question which has not yet been addressed:
Quote:
In every case, when a program tries to access a segment of memory that has been swapped out, it's the kernel's job to bring the image of that memory back from swap space into real memory and then schedule the process to continue running. |
All times are GMT -5. The time now is 01:43 AM. |