lkml.org 
[lkml]   [1999]   [May]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Long `rm` times.
Date
From
I've found that "rm" times are much faster if the disk is configured
for write caching. Some disks are shipped with this enabled while
others aren't, depending on manufacturer and model. Scsiinfo/scsi-config
should be able to control this*.

I've no idea how to configure IDE disks, but I assume that they have
a similar option (and similar differences in default setting).

WARNING:
1) Write caching makes filesystem corruption more likely in cases of
power, hardware, or software failure;
2) Some disks have flaky write caching, and may scramble things good
(I've never seen this on any recent disk, but it has happened...);
3) You probably shouldn't attempt this unless you know what you are
doing...

Normal write performance doesn't seem to be affected nearly as much
by this setting as unlink() is.

-Ed




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

\
 
 \ /
  Last update: 2005-03-22 13:51    [W:0.098 / U:0.156 seconds]
©2003-2011 Jasper Spaans. Advertise on this site