Comment 71 for bug 500069

Revision history for this message
elatllat (elatllat) wrote :

USB 1 is 001.5 MB/s
USB 2 is 060.0 MB/s
USB 3 is 625.0 MB/s

adri58 is getting 5.3 MB/s, I would bet that is the max speed of his device.
But if not please post the output of a disk speed testing tool from some other OS.

Speed tests showing how slow flash drives are:

---------------------------------------------------------------------------------------------------------------------------
--flash fat32 drive

Darwin imac 11.3.0 Darwin Kernel Version 11.3.0: Thu Jan 12 18:47:41 PST 2012; root:xnu-1699.24.23~1/RELEASE_X86_64 x86_64

writing:
1024+0 records in
1024+0 records out
102400000 bytes transferred in 32.315127 secs (3168795 bytes/sec)

reading:
1024+0 records in
1024+0 records out
102400000 bytes transferred in 3.597781 secs (28461989 bytes/sec)

---------------------------------------------------------------------------------------------------------------------------
--flash fat32 drive

Linux ubuntu 3.2.0-20-generic-pae #33-Ubuntu SMP Tue Mar 27 17:05:18 UTC 2012 i686 i686 i386 GNU/Linux

writing:
1024+0 records in
1024+0 records out
102400000 bytes (102 MB) copied, 47.9621 s, 2.1 MB/s

reading:
1024+0 records in
1024+0 records out
102400000 bytes (102 MB) copied, 3.9149 s, 26.2 MB/s

---------------------------------------------------------------------------------------------------------------------------
--sata ext4 drive

Linux ubuntu 2.6.32-39-generic #86-Ubuntu SMP Mon Feb 13 21:47:32 UTC 2012 i686 GNU/Linux

writing:
1024+0 records in
1024+0 records out
102400000 bytes (102 MB) copied, 0.759231 s, 135 MB/s

reading:
1024+0 records in
1024+0 records out
102400000 bytes (102 MB) copied, 1.74171 s, 58.8 MB/s

---------------------------------------------------------------------------------------------------------------------------
--usb ntfs drive

Linux ubuntu 2.6.32-39-generic #86-Ubuntu SMP Mon Feb 13 21:47:32 UTC 2012 i686 GNU/Linux

writing:
1024+0 records in
1024+0 records out
102400000 bytes (102 MB) copied, 3.08867 s, 33.2 MB/s

reading:
1024+0 records in
1024+0 records out
102400000 bytes (102 MB) copied, 3.27496 s, 31.3 MB/s

---------------------------------------------------------------------------------------------------------------------------
--3 usb lvm dm_crypt ext4 drives (dm_crypt is messing with the write speed here)

Linux ubuntu 2.6.32-39-generic #86-Ubuntu SMP Mon Feb 13 21:47:32 UTC 2012 i686 GNU/Linux

writing:
1024+0 records in
1024+0 records out
102400000 bytes (102 MB) copied, 0.463585 s, 221 MB/s

reading:
1024+0 records in
1024+0 records out
102400000 bytes (102 MB) copied, 3.04551 s, 33.6 MB/s

---------------------------------------------------------------------------------------------------------------------------
--the test used:

#!/bin/bash

#
# test_drive_speed.sh
#

OUT=./file1G.tmp
uname -a
echo "spin you right round" >$OUT;
sleep 1
echo -e "\nwriting:"
if [ "$1" == "-u" ]; then
 dd if=/dev/urandom of=/dev/shm/$OUT bs=100000 count=1024 >/dev/null 2>&1
 dd if=/dev/shm/$OUT of=$OUT bs=100000 count=1024
 rm /dev/shm/$OUT;
else
 dd if=/dev/zero of=$OUT bs=100000 count=1024
fi
sync
W=$(which purge);
if [ "$W" == "" ] ; then
 sudo echo 3 > /proc/sys/vm/drop_caches;
else
 purge;
fi
sleep 1
echo -e "\nreading:"
dd if=$OUT of=/dev/null bs=100000 count=1024
rm $OUT;