On Tue, 3 Oct 2006, [UTF-8] Maciej Żenczykowski wrote: > So anyway, since I'm already here and asking questions: what is the > preferred method to perform many small (couple KB) random reads from a > USB mass storage device? I can simply read from /dev/sd? or /dev/ub? > (don't see much of a difference there, even though ub is supposed to > be slower) but that seems to result in very slow access (around 300 > reads per second, which seems to be off by a factor of 5 or more).
The preferred way to do random reads from a USB mass storage device is the same way you would do random reads from any other block device. Any slowdown you see is most likely caused by the device itself. You can get more detailed timing information by using usbmon. Alan Stern ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel