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

From: Helge Hafting (helgehaf@idb.hist.no)
Date: Fri Nov 09 2001 - 06:16:49 EST


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/



This archive was generated by hypermail 2b29 : Thu Nov 15 2001 - 21:00:22 EST