I need to run a program off of a USB key. On first execution, it is excruciatingly slow. I've tried different USB drives, without much impact. My drive is formatted with ext4. Any way to speed this up?
Tell me more
×
Ask Ubuntu is a question and answer site for
Ubuntu users and developers. It's 100% free, no registration required.
closed as too localized by Eric Carvalho, vasa1, hhlp, Chris Wilson, The Lord of Time Mar 24 at 15:51
This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, see the FAQ.
dd if=/dev/zero of=test.img bs=1024 count=0 seek=$[1024*1024]– Oli♦ Feb 16 '12 at 13:14time mv file /media/usb/to get an idea. The problem with writing to USB is it tends to buffer up (eg it looks like it's going really fast but it hasn't written anything to disk) so you need to measure the whole transfer and not just use the live speed. – Oli♦ Feb 16 '12 at 23:19