PDA

View Full Version : solution to slow USB hard drive with XFS


marko
2006-06-20, 09:35 PM CDT
I was noticing my XFS formatted usb 2.0 external drive was
really slow when I copied large files to it. Also the disk operations
had a weird pulsing sound to it like lots of transactions were going
on. I read the solution elsewhere: don't use the "sync" mount option
especially for usb drives. Before I read that, I thought it was
something esoteric about XFS making it's own inodes on the fly
but from what I've read XFS is pretty fast so I didn't buy that.

One of the trickier things about FC5 is that since udev mounts
the removable drives for you, the mount options are less in
your face then in the days when you'd edit your own /etc/fstab
file. You can go to your desktop usb drive icon, right click to get the
properties menu option, then select the "Mounting" tab and
unselect the "sync" checkbox. After doing this I had a big
speed up. Why FC5 defaulted to the slower setting I don't
know, it could be that on flakey hardware sync is safer?

Mark