Skip to content

Instantly share code, notes, and snippets.

@handymenny
Last active August 29, 2015 14:09
Show Gist options
  • Save handymenny/a9e74f038670ccb153ac to your computer and use it in GitHub Desktop.
Save handymenny/a9e74f038670ccb153ac to your computer and use it in GitHub Desktop.
SDcard benchmark
Kernel 3 UMS (same results with CONFIG_PM_RUNTIME disabled)
Read (38 MB): 12.58 MB/s* $ sudo hdparm -t --direct /dev/sdc1
Write(42 MB): max 811 KB/s, avg 530 KB/s $ dd bs=1M count=40 if=/dev/zero of=test conv=fdatasync
Kernel 3 MTP (jmtpfs)
Read (42 MB): 9.8 MB/s* $ time bash -c "(cp test /tmp/test)"
Write(42 MB): 3.7 MB/s* $ dd bs=1M count=40 if=/dev/zero of=test conv=fdatasync
Kernel 3 ADB
Pull (42 MB): 3.16 MB/s* $ adb pull /sdcard/test /tmp/test
Push (42 MB): 3.12 MB/s* $ adb push test /sdcard/test
Kernel 3 SD Tools benchmark (https://play.google.com/store/apps/details?id=ales.veluscek.sdtools)
Read Speed : 12.7 MB/s**
Write Speed: 9.6 MB/s**
---------------------------------------------------------------------------------------------------
Kernel 2.6 UMS
Read (42 MB): 13 MB/s* $ sudo hdparm -t --direct /dev/sdc1
Write(42 MB): 6.45 MB/s* $ dd bs=1M count=40 if=/dev/zero of=test conv=fdatasync
Kernel 2.6 MTP (jmtpfs)
Read (42 MB): 12.6 MB/s* $ time bash -c "(cp test /tmp/test)"
Write(42 MB): 4.4 MB/s* $ dd bs=1M count=40 if=/dev/zero of=test conv=fdatasync
Kernel 2.6 ADB
Pull (42 MB): 3.88 MB/s* $ adb pull /sdcard/test /tmp/test
Push (42 MB): 3.63 MB/s* $ adb push test /sdcard/test
Kernel 2.6 SD Tools benchmark (https://play.google.com/store/apps/details?id=ales.veluscek.sdtools)
Read Speed : 13.4 MB/s**
Write Speed: 14.3 MB/s**
---------------------------------------------------------------------------------------------------
I/O Scheduler: deadline
Governor CPU: ondemand
BT on
WIFI on
Screen off
KSM on
zRam SWAP on
SD-ext not mounted
SD swap off
Filesystem: exFAT
Device: cooper
* 1 MB= 10^3 KB
**1 MB= 2^10 KB
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment