Optimizing Modules w/o Kernel Recompile

I'm a little gun-shy about recompiling my own kernel, but I'm hoping to optimize my modules and hopefully decrease my memory usage a little.

First of all, is there any benefit for not loading modules that aren't useful for a given machine? For example, joydev, psmouse, snd*? Will I free up memory this way?

If I were to prevent something from loading in debian, which syntax is best?

blacklist module_name

alias module_name off


2 Replies


I don't know from your post if you know this or not. Just a little heads up. Unless you are using PV-GRUB, your Linode will be using host provided kernels.



You're talking about saving a few megabytes, and you'll have to run a custom kernel to do it… That's really not a good trade-off.


Please enter an answer

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct