Jump to content


Disk Speed Test (Read/Write): SSD Performance in Linux

ssd benchtest speed linux nvme

  • Please log in to reply
38 replies to this topic

#1 OFFLINE   abarbarian

abarbarian

    Thread Kahuna

  • Forum MVP
  • 5,616 posts

Posted 09 August 2018 - 01:41 PM

Whenever I want to buy a new piece of kit I always look for benchmarking test results comparing several different manufacturers offerings. Once I have the kit I run a few tests on my own pc to see if they match the test results posted in articles.
Sometimes you do not need to buy the latest and best kit to get a decent up grade. Sometimes buying a middle of the road piece of kit will save you a load of loot and you will still get almost the same performance as a high end high cost piece of kit.

So here is a simple way to benchmark a ssd which will only take a few moments of your time. If you run the tests and post the output here, along with the operating system used and the ssd model and manufacturer information it may help someone to save some loot. At the very least it would be a fun geeky thing to do. An we are all dye in the wool geeks ain't we.

https://www.shellhac...rfomance-linux/

Samsung SP951 NVME 256 GB with Arch 64 on  20/100 GB root/home partitions.

$ sync; dd if=/dev/zero of=tempfile bs=1M count=1024; sync
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 0.436009 s, 2.5 GB/s

$ dd if=tempfile of=/dev/null bs=1M count=1024
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 0.0811887 s, 13.2 GB/s

$ sudo /sbin/sysctl -w vm.drop_caches=3
vm.drop_caches = 3

$ dd if=tempfile of=/dev/null bs=1M count=1024
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 0.559377 s, 1.9 GB/s

$ sudo hdparm -Tt /dev/nvme0n1p5
/dev/nvme0n1p5:
Timing cached reads:   34302 MB in  1.99 seconds = 17217.89 MB/sec
Timing buffered disk reads: 4330 MB in  3.00 seconds = 1443.31 MB/sec

Results can vary so it is best to run the tests several times and cherry pick the top results :blissysmile:

I'll try and post some results from a different ssd later on. :breakfast:
Install ARCH
You'll never need to install it again
"I did and I'm really happy"

Posted Image~~~~~~~~~~~~~Posted Image

#2 OFFLINE   V.T. Eric Layton

V.T. Eric Layton

    Nocturnal Slacker

  • Forum Admins
  • 21,491 posts

Posted 09 August 2018 - 06:50 PM

SSD. Ah... one day. Currently, above my pay grade. I'm stuck with mechanical relics that whir, hum, and occasionally go clank, boing, and bang.

#3 OFFLINE   abarbarian

abarbarian

    Thread Kahuna

  • Forum MVP
  • 5,616 posts

Posted 10 August 2018 - 04:31 AM

View PostV.T. Eric Layton, on 09 August 2018 - 06:50 PM, said:

mechanical relics that whir, hum, and occasionally go clank, boing, and bang.

:hysterical: :hysterical: :hysterical: :Laughing: :Laughing: :Laughing:
Install ARCH
You'll never need to install it again
"I did and I'm really happy"

Posted Image~~~~~~~~~~~~~Posted Image

#4 OFFLINE   raymac46

raymac46

    Discussion Deity

  • Forum MVP
  • 3,776 posts

Posted 10 August 2018 - 08:12 AM

Haven't done any tests yet on my creaky 2013 model Toshiba SSD but I suspect you have already won the sweepstakes with that NVME PCI connected drive.
In my view, the big advantage of even a SATA connected SSD is in the performance boost you get over the traditional HDD. Conventional SATA III SSD models offer great value nowadays.
My older hardware does not support the M.2 variety of drive but most of it has a SATA III connection - and I have made use of it. Both desktops, a Thinkpad and an old Toshiba netbook rock some sort of SSD. In fact, the only thing that makes the netbook usable is the presence of a cheap SSD.
Posted Image

Registered Linux User 445659

#5 OFFLINE   raymac46

raymac46

    Discussion Deity

  • Forum MVP
  • 3,776 posts

Posted 10 August 2018 - 09:19 AM

OK Here goes:
Toshiba THNSNH128GBST Linux Mint 19 64 Bit
ray@ray-basement-SSD ~ $ sync; dd if=/dev/zero of=tempfile bs=1M count=1024; sync
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 0.942638 s, 1.1 GB/s
ray@ray-basement-SSD ~ $ dd if=tempfile of=/dev/null bs=1M count=1024
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 0.273185 s, 3.9 GB/s
ray@ray-basement-SSD ~ $ sudo /sbin/sysctl -w vm.drop_caches=3
[sudo] password for ray:
vm.drop_caches = 3
ray@ray-basement-SSD ~ $ dd if=tempfile of=/dev/null bs=1M count=1024
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 1.96241 s, 547 MB/s
ray@ray-basement-SSD ~ $ sudo hdparm -Tt /dev/sda
/dev/sda:
Timing cached reads:   5258 MB in  2.00 seconds = 2629.81 MB/sec
Timing buffered disk reads: 1570 MB in  3.00 seconds = 522.69 MB/sec

Posted Image

Registered Linux User 445659

#6 OFFLINE   raymac46

raymac46

    Discussion Deity

  • Forum MVP
  • 3,776 posts

Posted 10 August 2018 - 09:27 AM

http://ssd.userbench...A-THNSNH128GBST
Posted Image

Registered Linux User 445659

#7 OFFLINE   abarbarian

abarbarian

    Thread Kahuna

  • Forum MVP
  • 5,616 posts

Posted 10 August 2018 - 12:06 PM

View Postraymac46, on 10 August 2018 - 09:19 AM, said:

OK Here goes:
Toshiba THNSNH128GBST Linux Mint 19 64 Bit
ray@ray-basement-SSD ~ $ sync; dd if=/dev/zero of=tempfile bs=1M count=1024; sync
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 0.942638 s, 1.1 GB/s
ray@ray-basement-SSD ~ $ dd if=tempfile of=/dev/null bs=1M count=1024
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 0.273185 s, 3.9 GB/s
ray@ray-basement-SSD ~ $ sudo /sbin/sysctl -w vm.drop_caches=3
[sudo] password for ray:
vm.drop_caches = 3
ray@ray-basement-SSD ~ $ dd if=tempfile of=/dev/null bs=1M count=1024
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 1.96241 s, 547 MB/s
ray@ray-basement-SSD ~ $ sudo hdparm -Tt /dev/sda
/dev/sda:
Timing cached reads: 5258 MB in 2.00 seconds = 2629.81 MB/sec
Timing buffered disk reads: 1570 MB in 3.00 seconds = 522.69 MB/sec

Considering 128 GB ssd's always run slower than the larger models those are darn good results.

In real life usage I only notice a very small difference in speed between an ordinary ssd and my spiffy nvme drive. The one area it does make a difference is in games. Loading games is so darn quick and very noticeable in the slightly older games. It can be quite disconcerting at times as I have been so used to taking a breather after dying that instant reincarnation comes as quite a shock. :laugh:
Install ARCH
You'll never need to install it again
"I did and I'm really happy"

Posted Image~~~~~~~~~~~~~Posted Image

#8 OFFLINE   raymac46

raymac46

    Discussion Deity

  • Forum MVP
  • 3,776 posts

Posted 10 August 2018 - 02:08 PM

One more result from my Thinkpad T430.
Samsung MZ7PC128HAFU-00H1 Debian Stretch 64 Bit.

ray@ray-debian-T430:~$ sync; dd if=/dev/zero of=tempfile bs=1M count=1024; sync
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 1.33347 s, 805 MB/s
ray@ray-debian-T430:~$ dd if=tempfile of=/dev/null bs=1M count=1024
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 0.185669 s, 5.8 GB/s
ray@ray-debian-T430:~$ sudo /sbin/sysctl -w vm.drop_caches=3
[sudo] password for ray:
vm.drop_caches = 3
ray@ray-debian-T430:~$ dd if=tempfile of=/dev/null bs=1M count=1024
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 2.22186 s, 483 MB/s
ray@ray-debian-T430:~$ sudo hdparm -Tt /dev/sda
/dev/sda:
Timing cached reads:   12662 MB in  2.00 seconds = 6343.71 MB/sec
Timing buffered disk reads: 1404 MB in  3.00 seconds = 467.70 MB/sec

http://ssd.userbench...PC128HAFU-000H1
Posted Image

Registered Linux User 445659

#9 OFFLINE   raymac46

raymac46

    Discussion Deity

  • Forum MVP
  • 3,776 posts

Posted 10 August 2018 - 02:33 PM

My only games are train sims I run in Windows but I have them on an SSD and they do load up quicker. These are rather massive sets of assets and scenes and I don't worry about loading speed TOO much since it takes more than an hour to drive a Castle class steam loco from Oxford to London Paddington. It is never a good idea to die in a train sim. :medic:

Posted Image

Edited by raymac46, 10 August 2018 - 02:46 PM.

Posted Image

Registered Linux User 445659

#10 OFFLINE   securitybreach

securitybreach

    CLI Phreak

  • Forum Admins
  • 23,837 posts

Posted 10 August 2018 - 07:28 PM

I ran these several times and the results are all over the board. This may have been reliable with spinning drives but the results can vary so much that you cannot even count on these tests anymore. I had some vary from 14 GB/s to 800 MB/s.
Posted ImagePosted Image Posted Image
CNI Radio/G+ Profile/Configs/PGP Key/comhack π

"Do you begin to see, then, what kind of world we are creating? It is the exact opposite of the stupid hedonistic Utopias that the old reformers imagined. A world of fear and treachery and torment, a world of trampling and being trampled upon, a world which will grow not less but more merciless as it refines itself. Progress in our world will be progress toward more pain." -George Orwell, 1984

#11 OFFLINE   raymac46

raymac46

    Discussion Deity

  • Forum MVP
  • 3,776 posts

Posted 10 August 2018 - 07:47 PM

Quote

I had some vary from 14 GB/s to 800 MB/s.
Interesting. I assume you have one of those NVME drives. Mine are SATA III and I only ran one test. Results seem plausible if a bit optimistic.
Posted Image

Registered Linux User 445659

#12 OFFLINE   securitybreach

securitybreach

    CLI Phreak

  • Forum Admins
  • 23,837 posts

Posted 10 August 2018 - 08:10 PM

View Postraymac46, on 10 August 2018 - 07:47 PM, said:

Quote

I had some vary from 14 GB/s to 800 MB/s.
Interesting. I assume you have one of those NVME drives. Mine are SATA III and I only ran one test. Results seem plausible if a bit optimistic.

Nah, its Samsung EVO 860 250gb but I also have 9 drives in this machine so it could be looking at various drive ??
Posted ImagePosted Image Posted Image
CNI Radio/G+ Profile/Configs/PGP Key/comhack π

"Do you begin to see, then, what kind of world we are creating? It is the exact opposite of the stupid hedonistic Utopias that the old reformers imagined. A world of fear and treachery and torment, a world of trampling and being trampled upon, a world which will grow not less but more merciless as it refines itself. Progress in our world will be progress toward more pain." -George Orwell, 1984

#13 OFFLINE   abarbarian

abarbarian

    Thread Kahuna

  • Forum MVP
  • 5,616 posts

Posted 10 August 2018 - 08:49 PM

Quote

$ sync; dd if=/dev/zero of=tempfile bs=1M count=1024; sync
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 1.7818 s, 603 MB/s
$ dd if=tempfile of=/dev/null bs=1M count=1024
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 0.110958 s, 9.7 GB/s
$ sudo /sbin/sysctl -w vm.drop_caches=3
vm.drop_caches = 3
$ dd if=tempfile of=/dev/null bs=1M count=1024
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 0.563008 s, 1.9 GB/s
$ sudo hdparm -Tt /dev/nvme0n1p5

/dev/nvme0n1p5:
Timing cached reads:   26446 MB in  1.99 seconds = 13270.18 MB/sec
Timing buffered disk reads: 3494 MB in  3.00 seconds = 1162.84 MB/sec
$ sync; dd if=/dev/zero of=tempfile bs=1M count=1024; sync
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 1.44164 s, 745 MB/s
$ dd if=tempfile of=/dev/null bs=1M count=1024
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 0.108811 s, 9.9 GB/s
$ sudo /sbin/sysctl -w vm.drop_caches=3
vm.drop_caches = 3
$ dd if=tempfile of=/dev/null bs=1M count=1024
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 0.606591 s, 1.8 GB/s
$ sudo hdparm -Tt /dev/nvme0n1p5

/dev/nvme0n1p5:
Timing cached reads:   25598 MB in  1.99 seconds = 12843.23 MB/sec
Timing buffered disk reads: 4162 MB in  3.00 seconds = 1387.26 MB/sec

I ran two tests in quick succession and got pretty consistent results. They are down on my first set as I left BOINC running this time which will have had an impact albeit a small one.

These tests run on hdd's aswell so if any one is running their os on a hdd it would be nice to see results from one of those. It might take a tad longer to run the tests but the results would be interesting to see. :devil:
Install ARCH
You'll never need to install it again
"I did and I'm really happy"

Posted Image~~~~~~~~~~~~~Posted Image

#14 OFFLINE   securitybreach

securitybreach

    CLI Phreak

  • Forum Admins
  • 23,837 posts

Posted 10 August 2018 - 09:08 PM

View Postabarbarian, on 10 August 2018 - 08:49 PM, said:

I ran two tests in quick succession and got pretty consistent results. They are down on my first set as I left BOINC running this time which will have had an impact albeit a small one.

These tests run on hdd's aswell so if any one is running their os on a hdd it would be nice to see results from one of those. It might take a tad longer to run the tests but the results would be interesting to see. :devil:

I dunno then :ermm:
Posted ImagePosted Image Posted Image
CNI Radio/G+ Profile/Configs/PGP Key/comhack π

"Do you begin to see, then, what kind of world we are creating? It is the exact opposite of the stupid hedonistic Utopias that the old reformers imagined. A world of fear and treachery and torment, a world of trampling and being trampled upon, a world which will grow not less but more merciless as it refines itself. Progress in our world will be progress toward more pain." -George Orwell, 1984

#15 OFFLINE   V.T. Eric Layton

V.T. Eric Layton

    Nocturnal Slacker

  • Forum Admins
  • 21,491 posts

Posted 11 August 2018 - 02:31 PM

View PostV.T. Eric Layton, on 09 August 2018 - 06:50 PM, said:

SSD. Ah... one day. Currently, above my pay grade. I'm stuck with mechanical relics that whir, hum, and occasionally go clank, boing, and bang.

Hmm... my Secret (early) Santa dropped ship something to me from the North Pole ...er, I mean NewEgg today. I can no longer say that I do not have an SSD. The Ol' Luddite moves into the new millennium. ;)

Oh, and it's actually compatible with my ericsbane07 GigaByte mobo. When my next system overhaul comes up, I'll be installing this in that system. YAY!

Thank you, Secret Santa! I never met so many wonderful folks till I got on the Internets. :)

===

And just for fun, I found some specs for my old clunky mechanical drives. They're respectable specs... for old clunky mechanical drives, of course; not for an SSD.

ericsbane07 hard drive specs:

WD Blue 500G SATA III (Slackware64 14.1)
Maxtor 500G SATA II (Slackware64 14.1 rsync backup)
WD 320G SATA II (MS Windows 7 Enterprise SP2 + common storage)
WD 320G SATA II (MS Windows 7 Enterprise SP2 + common storage - Clonezilla mirror)

ericsbane07 hard drive performance:

           ---Drive Tests---

Key:    sda = Western Digital 500G/7200 primary drive with Slackware OS + storage
    sdb = Maxtor 500G/7200 backup drive with sync'd Slackware OS + storage (rsync)
    sdc = Western Digital 320G/7200 secondary drive with MS Win 7 + common_storage
    sdd = Western Digital 320G/7200 backup drive with MS Win 7 image +         common_storage image (Clonezilla)

Transfer rates:

root@ericsbane07/home/vtel57:# hdparm -tT /dev/sda

/dev/sda:
Timing cached reads:   7218 MB in  2.00 seconds = 3609.82 MB/sec
Timing buffered disk reads: 362 MB in  3.01 seconds = 120.30 MB/sec

root@ericsbane07/home/vtel57:# hdparm -tT /dev/sdb

/dev/sdb:
Timing cached reads:   7176 MB in  2.00 seconds = 3589.18 MB/sec
Timing buffered disk reads: 232 MB in  3.01 seconds =  77.04 MB/sec

root@ericsbane07/home/vtel57:# hdparm -tT /dev/sdc

/dev/sdc:
Timing cached reads:   7180 MB in  2.00 seconds = 3591.10 MB/sec
Timing buffered disk reads: 192 MB in  3.03 seconds =  63.38 MB/sec

root@ericsbane07/home/vtel57:# hdparm -tT /dev/sdd

/dev/sdd:
Timing cached reads:   7252 MB in  2.00 seconds = 3626.28 MB/sec
Timing buffered disk reads: 312 MB in  3.01 seconds = 103.82 MB/sec

SATA Capabilities:

root@ericsbane07/home/vtel57:# hdparm -I /dev/sda | grep -i speed
       *    Gen1 signaling speed (1.5Gb/s)
       *    Gen2 signaling speed (3.0Gb/s)
       *    Gen3 signaling speed (6.0Gb/s)
root@ericsbane07/home/vtel57:# hdparm -I /dev/sdb | grep -i speed
       *    Gen1 signaling speed (1.5Gb/s)
       *    Gen2 signaling speed (3.0Gb/s)
root@ericsbane07/home/vtel57:# hdparm -I /dev/sdc | grep -i speed
       *    Gen1 signaling speed (1.5Gb/s)
       *    Gen2 signaling speed (3.0Gb/s)
root@ericsbane07/home/vtel57:# hdparm -I /dev/sdd | grep -i speed
       *    Gen1 signaling speed (1.5Gb/s)
       *    Gen2 signaling speed (3.0Gb/s)

Drive Information:

/dev/sda:

ATA device, with non-removable media
    Model Number:    WDC WD5000AAKX-22ERMA0   
    Serial Number:   WD-WCC2EMJ12973
    Firmware Revision:  17.01H17
    Transport:   Serial, SATA 1.0a, SATA II Extensions, SATA Rev 2.5, SATA Rev 2.6, SATA Rev 3.0
Standards:
    Supported: 8 7 6 5
    Likely used: 8
Configuration:
    Logical        max    current
    cylinders    16383    16383
    heads        16    16
    sectors/track    63    63
    --
    CHS current addressable sectors:   16514064
    LBA    user addressable sectors:  268435455
    LBA48  user addressable sectors:  976773168
    Logical/Physical Sector size:    512 bytes
    device size with M = 1024*1024:   476940 MBytes
    device size with M = 1000*1000:   500107 MBytes (500 GB)
    cache/buffer size  = 16384 KBytes
Capabilities:
    LBA, IORDY(can be disabled)
    Queue depth: 32
    Standby timer values: spec'd by Standard, with device specific minimum
    R/W multiple sector transfer: Max = 16    Current = 0
    DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 udma5 *udma6
     Cycle time: min=120ns recommended=120ns
    PIO: pio0 pio1 pio2 pio3 pio4
     Cycle time: no flow control=120ns  IORDY flow control=120ns
Commands/features:
    Enabled    Supported:
       *    SMART feature set
            Security Mode feature set
       *    Power Management feature set
       *    Write cache
       *    Look-ahead
       *    Host Protected Area feature set
       *    WRITE_BUFFER command
       *    READ_BUFFER command
       *    NOP cmd
       *    DOWNLOAD_MICROCODE
            Power-Up In Standby feature set
       *    SET_FEATURES required to spinup after power up
            SET_MAX security extension
       *    48-bit Address feature set
       *    Device Configuration Overlay feature set
       *    Mandatory FLUSH_CACHE
       *    FLUSH_CACHE_EXT
       *    SMART error logging
       *    SMART self-test
       *    General Purpose Logging feature set
       *    64-bit World wide name
       *    {READ,WRITE}_DMA_EXT_GPL commands
       *    Segmented DOWNLOAD_MICROCODE
       *    Gen1 signaling speed (1.5Gb/s)
       *    Gen2 signaling speed (3.0Gb/s)
       *    Gen3 signaling speed (6.0Gb/s)
       *    Native Command Queueing (NCQ)
       *    Host-initiated interface power management
       *    Phy event counters
       *    NCQ priority information
       *    DMA Setup Auto-Activate optimization
       *    Software settings preservation
       *    SMART Command Transport (SCT) feature set
       *    SCT Read/Write Long (AC1), obsolete
       *    SCT Write Same (AC2)
       *    SCT Features Control (AC4)
       *    SCT Data Tables (AC5)
            unknown 206[12] (vendor specific)
            unknown 206[13] (vendor specific)
Security:
    Master password revision code = 65534
        supported
    not    enabled
    not    locked
        frozen
    not    expired: security count
        supported: enhanced erase
    88min for SECURITY ERASE UNIT. 88min for ENHANCED SECURITY ERASE UNIT.
Logical Unit WWN Device Identifier: 50014ee208f32a87
    NAA        : 5
    IEEE OUI    : 0014ee
    Unique ID    : 208f32a87
Checksum: correct

===

/dev/sdb:

ATA device, with non-removable media
    Model Number:    MAXTOR STM3500630AS   
    Serial Number:   6QG0YEY5
    Firmware Revision:  3.AAE  
Standards:
    Supported: 7 6 5 4
    Likely used: 7
Configuration:
    Logical        max    current
    cylinders    16383    16383
    heads        16    16
    sectors/track    63    63
    --
    CHS current addressable sectors:   16514064
    LBA    user addressable sectors:  268435455
    LBA48  user addressable sectors:  976773168
    Logical  Sector size:    512 bytes
    Physical Sector size:    512 bytes
    device size with M = 1024*1024:   476940 MBytes
    device size with M = 1000*1000:   500107 MBytes (500 GB)
    cache/buffer size  = 16384 KBytes
Capabilities:
    LBA, IORDY(can be disabled)
    Queue depth: 32
    Standby timer values: spec'd by Standard, no device specific minimum
    R/W multiple sector transfer: Max = 16    Current = ?
    Recommended acoustic management value: 254, current value: 0
    DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 udma5 *udma6
     Cycle time: min=120ns recommended=120ns
    PIO: pio0 pio1 pio2 pio3 pio4
     Cycle time: no flow control=120ns  IORDY flow control=120ns
Commands/features:
    Enabled    Supported:
       *    SMART feature set
            Security Mode feature set
       *    Power Management feature set
       *    Write cache
       *    Look-ahead
       *    Host Protected Area feature set
       *    WRITE_BUFFER command
       *    READ_BUFFER command
       *    DOWNLOAD_MICROCODE
            SET_MAX security extension
       *    48-bit Address feature set
       *    Device Configuration Overlay feature set
       *    Mandatory FLUSH_CACHE
       *    FLUSH_CACHE_EXT
       *    SMART error logging
       *    SMART self-test
       *    General Purpose Logging feature set
       *    Gen1 signaling speed (1.5Gb/s)
       *    Gen2 signaling speed (3.0Gb/s)
       *    Native Command Queueing (NCQ)
       *    Phy event counters
            Device-initiated interface power management
       *    Software settings preservation
Security:
    Master password revision code = 65534
        supported
    not    enabled
    not    locked
        frozen
    not    expired: security count
    not    supported: enhanced erase
Checksum: correct

===

/dev/sdc:

ATA device, with non-removable media
    Model Number:    WDC WD3200KS-75PFB0     
    Serial Number:   WD-WCAPD4388243
    Firmware Revision:  21.00M21
Standards:
    Supported: 7 6 5 4
    Likely used: 8
Configuration:
    Logical        max    current
    cylinders    16383    16383
    heads        16    16
    sectors/track    63    63
    --
    CHS current addressable sectors:   16514064
    LBA    user addressable sectors:  268435455
    LBA48  user addressable sectors:  625142448
    Logical/Physical Sector size:    512 bytes
    device size with M = 1024*1024:   305245 MBytes
    device size with M = 1000*1000:   320072 MBytes (320 GB)
    cache/buffer size  = 16384 KBytes
Capabilities:
    LBA, IORDY(can be disabled)
    Queue depth: 32
    Standby timer values: spec'd by Standard, with device specific minimum
    R/W multiple sector transfer: Max = 16    Current = 0
    Recommended acoustic management value: 128, current value: 128
    DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 udma5 *udma6
     Cycle time: min=120ns recommended=120ns
    PIO: pio0 pio1 pio2 pio3 pio4
     Cycle time: no flow control=120ns  IORDY flow control=120ns
Commands/features:
    Enabled    Supported:
       *    SMART feature set
            Security Mode feature set
       *    Power Management feature set
       *    Write cache
       *    Look-ahead
       *    Host Protected Area feature set
       *    WRITE_BUFFER command
       *    READ_BUFFER command
       *    NOP cmd
       *    DOWNLOAD_MICROCODE
            Power-Up In Standby feature set
       *    SET_FEATURES required to spinup after power up
            SET_MAX security extension
            Automatic Acoustic Management feature set
       *    48-bit Address feature set
       *    Device Configuration Overlay feature set
       *    Mandatory FLUSH_CACHE
       *    FLUSH_CACHE_EXT
       *    SMART error logging
       *    SMART self-test
       *    General Purpose Logging feature set
       *    WRITE_{DMA|MULTIPLE}_FUA_EXT
       *    Gen1 signaling speed (1.5Gb/s)
       *    Gen2 signaling speed (3.0Gb/s)
       *    Native Command Queueing (NCQ)
       *    Host-initiated interface power management
       *    Phy event counters
       *    DMA Setup Auto-Activate optimization
            Device-initiated interface power management
       *    Software settings preservation
       *    SMART Command Transport (SCT) feature set
       *    SCT Read/Write Long (AC1), obsolete
       *    SCT Write Same (AC2)
       *    SCT Error Recovery Control (AC3)
       *    SCT Features Control (AC4)
       *    SCT Data Tables (AC5)
            unknown 206[12] (vendor specific)
Security:
    Master password revision code = 65534
        supported
    not    enabled
    not    locked
        frozen
    not    expired: security count
    not    supported: enhanced erase
Checksum: correct

===

/dev/sdd:

ATA device, with non-removable media
    Model Number:    WDC WD3200AAKS-61L9A0   
    Serial Number:   WD-WCAV2K446493
    Firmware Revision:  01.03E01
    Transport:   Serial, SATA 1.0a, SATA II Extensions, SATA Rev 2.5
Standards:
    Supported: 8 7 6 5
    Likely used: 8
Configuration:
    Logical        max    current
    cylinders    16383    16383
    heads        16    16
    sectors/track    63    63
    --
    CHS current addressable sectors:   16514064
    LBA    user addressable sectors:  268435455
    LBA48  user addressable sectors:  625142448
    Logical/Physical Sector size:    512 bytes
    device size with M = 1024*1024:   305245 MBytes
    device size with M = 1000*1000:   320072 MBytes (320 GB)
    cache/buffer size  = 16384 KBytes
Capabilities:
    LBA, IORDY(can be disabled)
    Queue depth: 32
    Standby timer values: spec'd by Standard, with device specific minimum
    R/W multiple sector transfer: Max = 16    Current = 0
    Recommended acoustic management value: 128, current value: 128
    DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 udma5 *udma6
     Cycle time: min=120ns recommended=120ns
    PIO: pio0 pio1 pio2 pio3 pio4
     Cycle time: no flow control=120ns  IORDY flow control=120ns
Commands/features:
    Enabled    Supported:
       *    SMART feature set
            Security Mode feature set
       *    Power Management feature set
       *    Write cache
       *    Look-ahead
       *    Host Protected Area feature set
       *    WRITE_BUFFER command
       *    READ_BUFFER command
       *    NOP cmd
       *    DOWNLOAD_MICROCODE
            Power-Up In Standby feature set
       *    SET_FEATURES required to spinup after power up
            SET_MAX security extension
            Automatic Acoustic Management feature set
       *    48-bit Address feature set
       *    Device Configuration Overlay feature set
       *    Mandatory FLUSH_CACHE
       *    FLUSH_CACHE_EXT
       *    SMART error logging
       *    SMART self-test
            Media Card Pass-Through
       *    General Purpose Logging feature set
       *    64-bit World wide name
       *    URG for READ_STREAM[_DMA]_EXT
       *    URG for WRITE_STREAM[_DMA]_EXT
       *    Segmented DOWNLOAD_MICROCODE
       *    Gen1 signaling speed (1.5Gb/s)
       *    Gen2 signaling speed (3.0Gb/s)
       *    Native Command Queueing (NCQ)
       *    Host-initiated interface power management
       *    Phy event counters
       *    DMA Setup Auto-Activate optimization
       *    Software settings preservation
       *    SMART Command Transport (SCT) feature set
       *    SCT Read/Write Long (AC1), obsolete
       *    SCT Write Same (AC2)
       *    SCT Features Control (AC4)
       *    SCT Data Tables (AC5)
            unknown 206[12] (vendor specific)
            unknown 206[13] (vendor specific)
Security:
    Master password revision code = 65534
        supported
    not    enabled
    not    locked
        frozen
    not    expired: security count
        supported: enhanced erase
    60min for SECURITY ERASE UNIT. 60min for ENHANCED SECURITY ERASE UNIT.
Logical Unit WWN Device Identifier: 50014ee1ad2f4473
    NAA        : 5
    IEEE OUI    : 0014ee
    Unique ID    : 1ad2f4473
Checksum: correct

#16 OFFLINE   securitybreach

securitybreach

    CLI Phreak

  • Forum Admins
  • 23,837 posts

Posted 11 August 2018 - 03:08 PM

View PostV.T. Eric Layton, on 11 August 2018 - 02:31 PM, said:

View PostV.T. Eric Layton, on 09 August 2018 - 06:50 PM, said:

SSD. Ah... one day. Currently, above my pay grade. I'm stuck with mechanical relics that whir, hum, and occasionally go clank, boing, and bang.

Hmm... my Secret (early) Santa dropped ship something to me from the North Pole ...er, I mean NewEgg today. I can no longer say that I do not have an SSD. The Ol' Luddite moves into the new millennium. ;)

Oh, and it's actually compatible with my ericsbane07 GigaByte mobo. When my next system overhaul comes up, I'll be installing this in that system. YAY!

Thank you, Secret Santa! I never met so many wonderful folks till I got on the Internets. :)

Nice :thumbup:
Posted ImagePosted Image Posted Image
CNI Radio/G+ Profile/Configs/PGP Key/comhack π

"Do you begin to see, then, what kind of world we are creating? It is the exact opposite of the stupid hedonistic Utopias that the old reformers imagined. A world of fear and treachery and torment, a world of trampling and being trampled upon, a world which will grow not less but more merciless as it refines itself. Progress in our world will be progress toward more pain." -George Orwell, 1984

#17 OFFLINE   abarbarian

abarbarian

    Thread Kahuna

  • Forum MVP
  • 5,616 posts

Posted 12 August 2018 - 03:22 AM

View PostV.T. Eric Layton, on 11 August 2018 - 02:31 PM, said:



Hmm... my Secret (early) Santa dropped ship something to me from the North Pole ...er, I mean NewEgg today. I can no longer say that I do not have an SSD. The Ol' Luddite moves into the new millennium. ;)

Oh, and it's actually compatible with my ericsbane07 GigaByte mobo. When my next system overhaul comes up, I'll be installing this in that system. YAY!

Thank you, Secret Santa! I never met so many wonderful folks till I got on the Internets. :)

===

And just for fun, I found some specs for my old clunky mechanical drives. They're respectable specs... for old clunky mechanical drives, of course; not for an SSD.


Transfer rates:

root@ericsbane07/home/vtel57:# hdparm -tT /dev/sda

/dev/sda:
Timing cached reads:   7218 MB in  2.00 seconds = 3609.82 MB/sec
Timing buffered disk reads: 362 MB in  3.01 seconds = 120.30 MB/sec

root@ericsbane07/home/vtel57:# hdparm -tT /dev/sdb

/dev/sdb:
Timing cached reads:   7176 MB in  2.00 seconds = 3589.18 MB/sec
Timing buffered disk reads: 232 MB in  3.01 seconds =  77.04 MB/sec

root@ericsbane07/home/vtel57:# hdparm -tT /dev/sdc

/dev/sdc:
Timing cached reads:   7180 MB in  2.00 seconds = 3591.10 MB/sec
Timing buffered disk reads: 192 MB in  3.03 seconds =  63.38 MB/sec

root@ericsbane07/home/vtel57:# hdparm -tT /dev/sdd

/dev/sdd:
Timing cached reads:   7252 MB in  2.00 seconds = 3626.28 MB/sec
Timing buffered disk reads: 312 MB in  3.01 seconds = 103.82 MB/sec


Yer secret Santa is a tad early ain't he, but I guess you arn't complaining. :yes:

Any pc with a SATA interface will run any ssd as even the latest drives are backwards compatible.  They will be limited to the SATA spec on the pc though.

https://kb.sandisk.c...i-and-sata-iii

To illustrate this I came across this forum post which shows a ssd replacing a slow 5400 hdd running in a SATA 1 capable pc.

https://www.overcloc...le-sata-i.html

As you can see the speed difference is mind blowing.

I realise that you probably know a lot of the above but I included it for any folk who are not so clued up on ssd's.

It will be interesting to see how your new drives test results compare to your old hdd's. :fishing:

I am puzzled by this comment ,

"When my next system overhaul comes up, I'll be installing this in that system."

You have clones of your os's so I would have thought the question would have been , " I wonder how long it will take to run a clone operation ", as it will only take a couple of minutes at most to plug in the correct cables. :harhar:
Install ARCH
You'll never need to install it again
"I did and I'm really happy"

Posted Image~~~~~~~~~~~~~Posted Image

#18 OFFLINE   raymac46

raymac46

    Discussion Deity

  • Forum MVP
  • 3,776 posts

Posted 12 August 2018 - 07:21 AM

Right. It isn't a big deal to introduce an SSD. I even managed it with Windows by cloning the drive and then transferring data files to the reformatted HDD. With Linux I backed up the data, reinstalled the O/S on the SSD and then restored the data to the HDD after reformatting it.
My Windows desktop has two SATA III  ports and 4 SATA II so I used the SATA III for the SSD and HDD obviously. The Gigabyte mobo on my Linux desktop is all SATA III so no problems.

Edited by raymac46, 12 August 2018 - 07:25 AM.

Posted Image

Registered Linux User 445659

#19 OFFLINE   securitybreach

securitybreach

    CLI Phreak

  • Forum Admins
  • 23,837 posts

Posted 12 August 2018 - 08:00 AM

View Postabarbarian, on 12 August 2018 - 03:22 AM, said:

I am puzzled by this comment ,

"When my next system overhaul comes up, I'll be installing this in that system."

You have clones of your os's so I would have thought the question would have been , " I wonder how long it will take to run a clone operation ", as it will only take a couple of minutes at most to plug in the correct cables. :harhar:

I do not think that he realizes how much of a speed increase that his system will get.
Posted ImagePosted Image Posted Image
CNI Radio/G+ Profile/Configs/PGP Key/comhack π

"Do you begin to see, then, what kind of world we are creating? It is the exact opposite of the stupid hedonistic Utopias that the old reformers imagined. A world of fear and treachery and torment, a world of trampling and being trampled upon, a world which will grow not less but more merciless as it refines itself. Progress in our world will be progress toward more pain." -George Orwell, 1984

#20 OFFLINE   raymac46

raymac46

    Discussion Deity

  • Forum MVP
  • 3,776 posts

Posted 12 August 2018 - 08:08 AM

Here is an HDD on an old laptop running MX-17 64 bit.

ray@mx1-ray:~
$ sync; dd if=/dev/zero of=tempfile bs=1M count=1024; sync
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 1.68288 s, 638 MB/s
ray@mx1-ray:~
$ dd if=tempfile of=/dev/null bs=1M count=1024
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 0.416644 s, 2.6 GB/s
ray@mx1-ray:~
$ sudo /sbin/sysctl -w vm.drop_caches=3
vm.drop_caches = 3
ray@mx1-ray:~
$ dd if=tempfile of=/dev/null bs=1M count=1024
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 36.9473 s, 29.1 MB/s
ray@mx1-ray:~
$ sudo hdparm -Tt /dev/sda
/dev/sda:
Timing cached reads:   3470 MB in  2.00 seconds = 1735.65 MB/sec
Timing buffered disk reads: 322 MB in  3.01 seconds = 107.13 MB/sec

Posted Image

Registered Linux User 445659

#21 OFFLINE   abarbarian

abarbarian

    Thread Kahuna

  • Forum MVP
  • 5,616 posts

Posted 12 August 2018 - 10:53 AM

View Postsecuritybreach, on 12 August 2018 - 08:00 AM, said:

View Postabarbarian, on 12 August 2018 - 03:22 AM, said:

I am puzzled by this comment ,

"When my next system overhaul comes up, I'll be installing this in that system."

You have clones of your os's so I would have thought the question would have been , " I wonder how long it will take to run a clone operation ", as it will only take a couple of minutes at most to plug in the correct cables. :harhar:

I do not think that he realizes how much of a speed increase that his system will get.

Maybe he is worried that he will not be able to take forty winks as Stalker reloads when he dies in it so is putting of the upgrade. :Laughing:



View Postraymac46, on 12 August 2018 - 08:08 AM, said:

Here is an HDD on an old laptop running MX-17 64 bit.

ray@mx1-ray:~
$ sync; dd if=/dev/zero of=tempfile bs=1M count=1024; sync
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 1.68288 s, 638 MB/s
ray@mx1-ray:~
$ dd if=tempfile of=/dev/null bs=1M count=1024
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 0.416644 s, 2.6 GB/s
ray@mx1-ray:~
$ sudo /sbin/sysctl -w vm.drop_caches=3
vm.drop_caches = 3
ray@mx1-ray:~
$ dd if=tempfile of=/dev/null bs=1M count=1024
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 36.9473 s, 29.1 MB/s
ray@mx1-ray:~
$ sudo hdparm -Tt /dev/sda
/dev/sda:
Timing cached reads: 3470 MB in 2.00 seconds = 1735.65 MB/sec
Timing buffered disk reads: 322 MB in 3.01 seconds = 107.13 MB/sec

Darn fine speeds there mate. I have not been able to reproduce my initial WRITE speeds and in fact at the moment my WRITE speeds are almost three times slower than your hdd writes.
I have a feeling that as my root only has 100 MB of free space this is affecting writes. So maybe a half full cup is better than a full one in this case :thudna5:

[longship@15:38:40 ~]$  sync; dd if=/dev/zero of=tempfile bs=1M count=1024; sync
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 1.28897 s, [b]833 MB/s[/b]
[longship@15:38:42 ~]$  sync; dd if=/dev/zero of=tempfile bs=1M count=1024; sync
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 1.2054 s, [b]891 MB/s[/b]
[longship@15:38:45 ~]$  sync; dd if=/dev/zero of=tempfile bs=1M count=1024; sync
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 1.34938 s, [b]796 MB/s[/b]
[longship@15:38:50 ~]$  sync; dd if=/dev/zero of=tempfile bs=1M count=1024; sync
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 1.88578 s,[b] 569 MB/s[/b]
[longship@15:38:54 ~]$  sync; dd if=/dev/zero of=tempfile bs=1M count=1024; sync
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 3.34639 s, [b]321 MB/s[/b]
[longship@15:38:58 ~]$  sync; dd if=/dev/zero of=tempfile bs=1M count=1024; sync
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 3.90552 s, [b]275 MB/s[/b]
[longship@15:39:05 ~]$  sync; dd if=/dev/zero of=tempfile bs=1M count=1024; sync
1024+0 records in
1024+0 records out2
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 4.04011 s, [b]2[/b][b]66 MB/s[/b]
[longship@15:39:11 ~]$  sync; dd if=/dev/zero of=tempfile bs=1M count=1024; sync
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 3.96469 s, [b]271 MB/s[/b]
[longship@15:39:36 ~]$  sync; dd if=/dev/zero of=tempfile bs=1M count=1024; sync
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 3.76244 s, [b]285 MB/s[/b]
[longship@15:39:42 ~]$  sync; dd if=/dev/zero of=tempfile bs=1M count=1024; sync
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 3.84389 s, [b]279 MB/s[/b]
[longship@15:39:47 ~]$  sync; dd if=/dev/zero of=tempfile bs=1M count=1024; sync
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 3.84847 s, [b]279 MB/s[/b]

Install ARCH
You'll never need to install it again
"I did and I'm really happy"

Posted Image~~~~~~~~~~~~~Posted Image

#22 OFFLINE   raymac46

raymac46

    Discussion Deity

  • Forum MVP
  • 3,776 posts

Posted 12 August 2018 - 02:46 PM

I am not doing anything exotic I don't think. All machines have a minimum of 8 GB RAM, the desktop has 16 GB. I don't have a root partition so the whole drive is available. Desktop has rather pedestrian quad-core AMD APU one laptop has an Ivy Bridge i5 and the one with the HDD has a dual-core AMD Trinity APU.
Read speeds seem rather high in all cases and the write speed on the HDD is pretty low compared to the other drives.
Posted Image

Registered Linux User 445659

#23 OFFLINE   V.T. Eric Layton

V.T. Eric Layton

    Nocturnal Slacker

  • Forum Admins
  • 21,491 posts

Posted 12 August 2018 - 03:22 PM

Nah... I'm just lazy and don't feel like pulling the covers off this machine. It's working fine. I'm happy. Who needs fast? I'm old. I like things slow and understandable. ;)

I do have a question, though...

Can you rsync and/or Clonezilla from an  SSD to a mechanical drive?

#24 OFFLINE   securitybreach

securitybreach

    CLI Phreak

  • Forum Admins
  • 23,837 posts

Posted 12 August 2018 - 03:24 PM

View PostV.T. Eric Layton, on 12 August 2018 - 03:22 PM, said:

Can you rsync and/or Clonezilla from an  SSD to a mechanical drive?

Yes, just tweak the ssd when you are done.
Posted ImagePosted Image Posted Image
CNI Radio/G+ Profile/Configs/PGP Key/comhack π

"Do you begin to see, then, what kind of world we are creating? It is the exact opposite of the stupid hedonistic Utopias that the old reformers imagined. A world of fear and treachery and torment, a world of trampling and being trampled upon, a world which will grow not less but more merciless as it refines itself. Progress in our world will be progress toward more pain." -George Orwell, 1984

#25 OFFLINE   V.T. Eric Layton

V.T. Eric Layton

    Nocturnal Slacker

  • Forum Admins
  • 21,491 posts

Posted 12 August 2018 - 08:25 PM

Ah... many things I have to learn, I s'pose. If I remember correctly, there are already some SSD threads around here that explain a lot of it. :)





Also tagged with one or more of these keywords: ssd, benchtest, speed, linux, nvme

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users