trying to unload unnecessary kernel modules
Dear Gurus
I remember reading elsewhere that unloading unnecessary kernel modules will help in increasing laptop battery life. Any ideas how to determine which are the unnecesary modules. Is unloading a module under use crash the system? Any pointers greatly appreciated... |
The unnecessary modules would report the module usage count of 0 in the output of "lsmod" or "cat /proc/modules".
However, if the module is not coded properly, this might be a false value and the module might actually be in use while reporting the module usage count of 0. So, unless you're absolutely sure of it, don't remove arbitrary modules as it MAY crash the system. You've been warned !!!! ;) |
Quote:
but won't it be a temporary crash ??? reboot the machine in safe mode and re-insert that particular module using #insmod or #modprobe regards |
Quote:
But generally, linux is known for its stability - no frequent reboots - even after installing a piece of s/w unlike the big OS from Redmond. Besides, if you were to try it on a shared/production server, it might not be feasible to reboot it. As far as just testing and understanding goes, almost anything is ok ;) |
Quote:
|
All times are GMT -5. The time now is 08:52 AM. |