Search the Community
Showing results for tags 'speed'.
-
Disk Speed Test (Read/Write): SSD Performance in Linux
abarbarian posted a topic in Bruno's All Things Linux
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.shellhacks.com/disk-speed-test-read-write-hdd-ssd-perfomance-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 I'll try and post some results from a different ssd later on.