Ben's notes

Linux, Unix, network, radio...

User Tools

Site Tools


simple_sequential_baseline_test

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
simple_sequential_baseline_test [2017/10/09 19:52] adminsimple_sequential_baseline_test [2019/06/28 19:05] admin
Line 1: Line 1:
 From: [[https://communities.intel.com/community/itpeernetwork/blog/2013/11/22/making-friends-with-your-new-ssd--a-simple-baseline]] From: [[https://communities.intel.com/community/itpeernetwork/blog/2013/11/22/making-friends-with-your-new-ssd--a-simple-baseline]]
  
-===Direct Write Test, simple benchmark with dd===+**Direct Write Test, simple benchmark with dd** 
 First off remember system OS'es, and controllers, are always setup for caching and buffering, so use DirectIO, here is an example syntax that should work on most flavors of Linux/Unix, or try Cygwin on Windows to achieve the same. So to me it seems amazingly universal but you tell me, is there a more universal tool than "dd" out there that's more powerful and more standard for a fast memory to device copy test. First off remember system OS'es, and controllers, are always setup for caching and buffering, so use DirectIO, here is an example syntax that should work on most flavors of Linux/Unix, or try Cygwin on Windows to achieve the same. So to me it seems amazingly universal but you tell me, is there a more universal tool than "dd" out there that's more powerful and more standard for a fast memory to device copy test.
  
Line 16: Line 17:
 You can reverse things to see what the read test looks like, things should be faster on reads in all cases with respect to the SSD: You can reverse things to see what the read test looks like, things should be faster on reads in all cases with respect to the SSD:
  
-<code>$ time dd of=/dev/zero if=tstfile bs=2048k count=512 iflag=direct+<code>$ time dd of=/dev/null if=tstfile bs=2048k count=512 iflag=direct
 2048+0 records in 2048+0 records in
 2048+0 records out 2048+0 records out
Line 28: Line 29:
 (testing the DRAM memory, and system in this case) (testing the DRAM memory, and system in this case)
  
-<code>$ time dd of=/dev/zero if=tstfile bs=2048k count=512+<code>$ time dd of=/dev/null if=tstfile bs=2048k count=512
 2048+0 records in 2048+0 records in
 2048+0 records out 2048+0 records out
Line 40: Line 41:
 <code>Direct write: 1073741824 bytes (1.1 GB) copied, 14.604 s, 73.5 MB/s <code>Direct write: 1073741824 bytes (1.1 GB) copied, 14.604 s, 73.5 MB/s
 Direct read:  1073741824 bytes (1.1 GB) copied, 16.7439 s, 64.1 MB/s Direct read:  1073741824 bytes (1.1 GB) copied, 16.7439 s, 64.1 MB/s
-Read cache:   1073741824 bytes (1.1 GB) copied, 12.6424 s, 84.9 MB/s+Read cache:   1073741824 bytes (1.1 GB) copied, 0.354082 s, 3.0 GB/s 
 </code> </code>
  
Line 67: Line 69:
 <code>Direct write: 1073741824 bytes (1.1 GB) copied, 100.578 s, 10.7 MB/s <code>Direct write: 1073741824 bytes (1.1 GB) copied, 100.578 s, 10.7 MB/s
 Direct read:  1073741824 bytes (1.1 GB) copied, 47.0731 s, 22.8 MB/s Direct read:  1073741824 bytes (1.1 GB) copied, 47.0731 s, 22.8 MB/s
-Read cache:   1073741824 bytes (1.1 GB) copied, 49.5828 s, 21.7 MB/s +Read cache:   1073741824 bytes (1.1 GB) copied, 49.5828 s, 21.7 MB/s</code> 
-</code>+ 
 +===Raspberry Pi 4 Model B 4GB. Transcend 8GB microSD Ultimate 600x Class 10 UHS-I=== 
 +<code>Direct write: 1073741824 bytes (1.1 GB, 1.0 GiB) copied, 53.5692 s, 20.0 MB/s 
 +Direct read:  1073741824 bytes (1.1 GB, 1.0 GiB) copied, 25.1142 s, 42.8 MB/s 
 +Read cache:   1073741824 bytes (1.1 GB, 1.0 GiB) copied, 1.49443 s, 718 MB/s</code> 
 + 
 +===Raspberry Pi 4 Model B 4GB. SanDisk Ultra 32GB USB 3 thumb drive=== 
 +Write speed was not stable, device very hot. 
 +<code>Direct write: 1073741824 bytes (1.1 GB, 1.0 GiB) copied, 23.8766 s, 45.0 MB/s 
 +Direct read:  1073741824 bytes (1.1 GB, 1.0 GiB) copied, 9.29304 s, 116 MB/s 
 +Read cache:   1073741824 bytes (1.1 GB, 1.0 GiB) copied, 1.56342 s, 687 MB/s</code> 
 + 
 +===Raspberry Pi 4 Model B 4GB. Samsung portable SSD T5=== 
 +<code>Direct write: 1073741824 bytes (1.1 GB, 1.0 GiB) copied, 4.71707 s, 228 MB/s 
 +Direct read:  1073741824 bytes (1.1 GB, 1.0 GiB) copied, 3.50969 s, 306 MB/s 
 +Read cache:   1073741824 bytes (1.1 GB, 1.0 GiB) copied, 1.53438 s, 700 MB/s</code>
  
 ===PC Engines APU with 16GB SSD - SuperSSpeed S328 16GB=== ===PC Engines APU with 16GB SSD - SuperSSpeed S328 16GB===
simple_sequential_baseline_test.txt · Last modified: 2022/10/18 18:36 by admin