Changes between Initial Version and Version 1 of SD_kaarten


Ignore:
Timestamp:
Nov 15, 2014, 9:01:12 AM (11 years ago)
Author:
ed
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SD_kaarten

    v1 v1  
     1= Benchmark SD card =
     2
     3Testing is done with the script on the end of this page.
     4
     5== Samsung ==
     6Write Test Running. Please Wait...
     7Unable to purge disk buffers: Operation not permitted
     8
     9Read Test Running. Please Wait...
     10
     11
     12Read Speed is: 460.111 MB/sec
     13Write Speed is: 7.68433 MB/sec
     14---------------------
     15
     16
     17== Test Script ==
     18
     19{{{
     20#!/bin/bash
     21echo "---------------------"
     22echo "Write Test Running. Please Wait..."
     23write=$(dd if=/dev/zero bs=2048k of=tstfile count=1024 2>&1 | grep sec | awk '{print $1 / 1024 / 1024 / $5, "MB/sec" }')
     24purge
     25echo ""
     26echo "Read Test Running. Please Wait..."
     27read=$(dd if=tstfile bs=2048k of=/dev/null count=1024 2>&1 | grep sec | awk '{print $1 / 1024 / 1024 / $5, "MB/sec" }')
     28clear
     29echo ""
     30echo "Read Speed is: $read"
     31echo "Write Speed is: $write"
     32echo "---------------------"
     33echo "Cleaning up. Please Wait..."
     34purge
     35rm tstfile
     36echo ""
     37exit 0
     38}}}
     39