Re: speed difference between using hard-linked and modular drives?

Helge Hafting (helgehaf@idb.hist.no)
Fri, 09 Nov 2001 12:16:49 +0100


Rusty Russell wrote:

> Modules have lots of little disadvantages that add up. The speed penalty
> on various platforms is one, the load/unload race complexity is another.
>
Races can be fixed. (Isn't that one of the things considered for 2.5?)

Speed penalties on various platforms is there to stay, so you simply
have to weigh that against having more swappable RAM.

I use the following rules of thumb:

1. Modules only for seldom-used devices. A module for
the mouse is no use if you do all your work in X.
There's simply no gain from a module that never unloads.
A seldom used fs may be modular though. I rarely
use cd's, so isofs is a module on my machine.
2. No modules for high-speed stuff like harddisks and network,
that's where you might feel the slowdown. Low-speed stuff
like floppy and cdrom drivers are modular though.

Helge Hafting
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/