lkml.org 
[lkml]   [2001]   [Nov]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: speed difference between using hard-linked and modular drives?
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/

\
 
 \ /
  Last update: 2005-03-22 13:13    [W:0.142 / U:2.640 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site