storage_tests
This is an old revision of the document!
Test script:
#!/bin/bash bd=/dev/mmcblk0p6 mp=/media/big fgrep -q $bd /etc/mtab && umount $bd mkfs.ext4 -q -m1 $bd mount -o noatime,nodiratime,discard $bd $mp #mkfs.btrfs $bd #mount -o noatime,nodiratime,discard,ssd,compress=zlib $bd $mp cd $mp cp ~/Downloads/marvin24-marvin24s-kernel-l4t-r16-ac100.tar.gz ./ echo "Unzip test" time tar -xzf marvin24-marvin24s-kernel-l4t-r16-ac100.tar.gz echo "Del test" time rm -rf ac100-marvin24s-kernel
Results:
- ext4 noatime,nodiratime,discard
Unzip test real 2m14.023s user 0m27.990s sys 0m19.360s Del test real 1m10.995s user 0m0.320s sys 0m9.750s
- nilfs2 noatime,nodiratime,discard
Unzip test real 1m42.091s user 0m37.550s sys 0m24.060s Del test real 0m8.791s user 0m0.350s sys 0m5.580s
- btrfs noatime,nodiratime,discard,ssd,compress=lzo
Unzip test real 1m50.623s user 0m30.640s sys 0m26.480s Del test real 0m11.551s user 0m0.100s sys 0m10.810s
storage_tests.1349383843.txt.gz · Last modified: 2012/10/04 22:50 by fly-away