Re: Drive performance bottleneck

From: Paulo Marques
Date: Thu Feb 03 2005 - 14:10:12 EST


Ian Godin wrote:
[...]
Definitely have been able to repeat that here, so the SG driver definitely appears to be broken. At least I'm glad I am not going insane, I was starting to wonder :)

I'll run some more tests with O_DIRECT and such things, see if I can figure out what the REAL max speed is.

FYI there was a patch running around last April that made a new option for "dd" to make it use O_DIRECT. You can get it here:

http://marc.theaimsgroup.com/?l=linux-kernel&m=108135935629589&w=2

Unfortunately this hasn't made it into coreutils. IIRC there were issues about dd being multi-platform and the way O_DIRECT was done in other systems.

Anyway, you can patch dd yourself and have a tool for debugging with O_DIRECT. I hope this helps,

--
Paulo Marques - www.grupopie.com

All that is necessary for the triumph of evil is that good men do nothing.
Edmund Burke (1729 - 1797)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/