Messages in this thread | | | Subject | Re: Long `rm` times. | Date | Mon, 24 May 1999 18:54:49 -0700 | From | Ed Hall <> |
| |
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/
| |