Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14

Thread: how to test SD read/write speed

  1. #11
    Join Date
    Jan 2012
    Beans
    1

    Re: how to test SD read/write speed

    Hey guys
    I tried this test, and now my ext. HD is... disfunctional. any hints on my f*** up?
    please note.. I am a newbie at ubuntu

    Quote Originally Posted by danwood76 View Post
    You can use DD to test disk speed, but it can easily lead to damaged data (partitions) if used incorrectly but is probably the most direct way of testing.

    So for example my second internal disk is mount /media/HD2 so running this gives me the write speed:
    Code:
    dd count=1k bs=1M if=/dev/zero of=/media/HD2/test.img
    1024+0 records in
    1024+0 records out
    1073741824 bytes (1.1 GB) copied, 7.69365 s, 140 MB/s
    that command writes 1GB to the disk, this large number is because the filesystem on the device will speed up the transfer by caching the data if a small transfer is carried out.

    --edit--
    This is a VERY dangerous command if you miss-type the output file so obviously take care using it and be sure to type correctly!

  2. #12
    Join Date
    Sep 2007
    Location
    Surrey, UK
    Beans
    1,903
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: how to test SD read/write speed

    You probably didn't read my instructions correctly and wrote zeros to the partition table of your disk. Probably over the first 1GB of data as well.

    Depending on the original filesystem the data on the drive may be toast. A program like testdisk might be able to recover the data that was on there.

    If there was no data on there just repartition using the Ubuntu disk utility.
    System Specs:
    Desktop: E6420 (@3.4GHz, Water Cooled), 4GB DDR2, 1.6 TB HDs, X1950 Pro (OS Driver),
    Dual Boot Win7/Jaunty, 19" 4:3 + 24" 16:9.
    Laptop: Toshiba L30, T2080 Pentium Dual Core, 2 GB DDR2, 250GB Hard disk.

  3. #13
    Join Date
    Sep 2006
    Location
    indonesia
    Beans
    28
    Distro
    Kubuntu 13.04 Raring Ringtail

    Re: how to test SD read/write speed

    Hi, i find this thread from Google and i want to share something here.

    You can test SD Card / MicroSD Card with H2testtw 1.4
    I Use it with wine 1.3.34 to test my MicroSD , i have Visipro 16GB Class 10

    Info from dmesg
    Code:
    device eth1 entered promiscuous mode
    usb 1-3: USB disconnect, address 21
    usb 1-3: new high speed USB device using ehci_hcd and address 22
    usb 1-3: New USB device found, idVendor=048d, idProduct=1336
    usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    usb 1-3: Product: Mass Storage Device
    usb 1-3: Manufacturer: Generic
    usb 1-3: SerialNumber: 00000000000006
    scsi29 : usb-storage 1-3:1.0
    scsi 29:0:0:0: Direct-Access     Generic  Storage Device   0.00 PQ: 0 ANSI: 2
    sd 29:0:0:0: Attached scsi generic sg4 type 0
    sd 29:0:0:0: [sde] 31291392 512-byte logical blocks: (16.0 GB/14.9 GiB)
    sd 29:0:0:0: [sde] Write Protect is off
    sd 29:0:0:0: [sde] Mode Sense: 03 00 00 00
    sd 29:0:0:0: [sde] Assuming drive cache: write through
    sd 29:0:0:0: [sde] Assuming drive cache: write through
    and here the h2testw result:


    I Hope it could help you guys.

  4. #14
    Join Date
    Nov 2012
    Beans
    1

    Re: how to test SD read/write speed

    Hi,

    The read write performance test can be done with the help of couple of tools available out there..Taking an average out of all of them will be a better way to determine the actual speed.
    Some tools are as below:
    fio
    iozone
    bonnie
    dd
    seeker
    hdparm
    etc...Some of the tools are explained here.
    read write performance test

Page 2 of 2 FirstFirst 12

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •