Get the most out of your Centmin Mod LEMP stack
Become a Member

Benchmarking an ssd disk

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

  1. pamamolf

    pamamolf Well-Known Member

    2,725
    243
    63
    May 31, 2014
    Ratings:
    +434
    Local Time:
    2:46 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:
    6:46 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

    30,180
    6,786
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,139
    Local Time:
    9:46 PM
    Nginx 1.13.x
    MariaDB 5.5
  4. pamamolf

    pamamolf Well-Known Member

    2,725
    243
    63
    May 31, 2014
    Ratings:
    +434
    Local Time:
    2:46 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

    30,180
    6,786
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,139
    Local Time:
    9:46 PM
    Nginx 1.13.x
    MariaDB 5.5
    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

    2,725
    243
    63
    May 31, 2014
    Ratings:
    +434
    Local Time:
    2:46 PM
    Nginx-1.13.x
    MariaDB 10.1.x
    Can i use the same command for Sata disks?
     
  7. eva2000

    eva2000 Administrator Staff Member

    30,180
    6,786
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,139
    Local Time:
    9:46 PM
    Nginx 1.13.x
    MariaDB 5.5
    yes.. dd info Linux and UNIX dd command help and examples

    pay attention though
     
    • Like Like x 1
  8. pamamolf

    pamamolf Well-Known Member

    2,725
    243
    63
    May 31, 2014
    Ratings:
    +434
    Local Time:
    2:46 PM
    Nginx-1.13.x
    MariaDB 10.1.x
    OK thanks :)