Welcome to Centmin Mod Community
Become a Member

Benchmarking an ssd disk

Discussion in 'System Administration' started by pamamolf, Oct 30, 2014.

  1. pamamolf

    pamamolf Well-Known Member

    3,113
    295
    83
    May 31, 2014
    Ratings:
    +530
    Local Time:
    7:19 PM
    Nginx-1.13.x
    MariaDB 10.1.x
    Hi

    How can i do an accurate benchmark of an ssd disk and get the real read and write speed of it?

    Thanks
     
  2. Josephm

    Josephm Active Member

    126
    43
    28
    Aug 26, 2014
    Ratings:
    +45
    Local Time:
    11:19 PM
    1.9.5
    10.0.21
    Try command below, for SSD speed should be more than 200MB/s:
    Code:
    dd if=/dev/zero of=iotest bs=64k count=16k conv=fdatasync && rm -rf iotest
    
     
  3. eva2000

    eva2000 Administrator Staff Member

    35,992
    7,897
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,177
    Local Time:
    2:19 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
  4. pamamolf

    pamamolf Well-Known Member

    3,113
    295
    83
    May 31, 2014
    Ratings:
    +530
    Local Time:
    7:19 PM
    Nginx-1.13.x
    MariaDB 10.1.x
    Ok great :)

    How long does it takes about for this to finish?

    Code:
    dd if=/dev/zero of=iotest bs=64k count=16k conv=fdatasync && rm -rf iotest
    And if the disk is sata and not ssd which command can i use?

    Thanks
     
  5. eva2000

    eva2000 Administrator Staff Member

    35,992
    7,897
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,177
    Local Time:
    2:19 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    you run command from the disk partition you want to test to test the particular disk you want

    as to time, varies depending on performance
     
  6. pamamolf

    pamamolf Well-Known Member

    3,113
    295
    83
    May 31, 2014
    Ratings:
    +530
    Local Time:
    7:19 PM
    Nginx-1.13.x
    MariaDB 10.1.x
    Can i use the same command for Sata disks?
     
  7. eva2000

    eva2000 Administrator Staff Member

    35,992
    7,897
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,177
    Local Time:
    2:19 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    yes.. dd info Linux and UNIX dd command help and examples

    pay attention though
     
    • Like Like x 1
  8. pamamolf

    pamamolf Well-Known Member

    3,113
    295
    83
    May 31, 2014
    Ratings:
    +530
    Local Time:
    7:19 PM
    Nginx-1.13.x
    MariaDB 10.1.x
    OK thanks :)
     
..