Skip to content

Storage

Random read/write test

dd if=/dev/zero of=/volume5/tempfile bs=1M count=1024 conv=fdatasync
sudo sh -c "/usr/bin/echo 3 > /proc/sys/vm/drop_caches"
dd if=/volume5/tempfile of=/dev/null bs=1M count=1024
dd if=/volume5/tempfile of=/dev/null bs=1M count=1024
rm /volume5/tempfile

Read test

hdparm -t --direct /dev/nvme0n1
# /dev/nvme0n1:
# Timing O_DIRECT disk reads: 1220 MB in  3.00 seconds = 406.25 MB/sec

nas

setup

Synology HDD db https://github.com/007revad/Synology_HDD_db

hdd database update

/volume3/homelab/nas.homelab.lan/syno_hdd_db.sh -n

synology ds918+ performance

Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors Disk model: SSD 860 EVO 1TB Timing O_DIRECT disk reads: 1136 MB in 3.00 seconds = 378.14 MB/sec 1073741824 bytes (1.1 GB, 1.0 GiB) copied, 4.11691 s, 261 MB/s 1073741824 bytes (1.1 GB, 1.0 GiB) copied, 2.67148 s, 402 MB/s 1073741824 bytes (1.1 GB, 1.0 GiB) copied, 0.53402 s, 2.0 GB/s

Disk /dev/sdb: 3.7 TiB, 4000787030016 bytes, 7814037168 sectors Disk model: WD40EFRX-68N32N0 Timing O_DIRECT disk reads: 512 MB in 3.01 seconds = 170.26 MB/sec 1073741824 bytes (1.1 GB, 1.0 GiB) copied, 10.1703 s, 106 MB/s 1073741824 bytes (1.1 GB, 1.0 GiB) copied, 10.3913 s, 103 MB/s 1073741824 bytes (1.1 GB, 1.0 GiB) copied, 0.479211 s, 2.2 GB/s

Disk /dev/sdc: 7.3 TiB, 8001563222016 bytes, 15628053168 sectors Disk model: WD80EMAZ-00WJTA0 Timing O_DIRECT disk reads: 556 MB in 3.01 seconds = 184.99 MB/sec 1073741824 bytes (1.1 GB, 1.0 GiB) copied, 7.67963 s, 140 MB/s 1073741824 bytes (1.1 GB, 1.0 GiB) copied, 7.45407 s, 144 MB/s 1073741824 bytes (1.1 GB, 1.0 GiB) copied, 0.482659 s, 2.2 GB/s

Disk /dev/sdd: 12.8 TiB, 14000519643136 bytes, 27344764928 sectors Disk model: WD140EMFZ-11A0WA0 Timing O_DIRECT disk reads: 564 MB in 3.00 seconds = 187.94 MB/sec 1073741824 bytes (1.1 GB, 1.0 GiB) copied, 6.18757 s, 174 MB/s 1073741824 bytes (1.1 GB, 1.0 GiB) copied, 5.8297 s, 184 MB/s 1073741824 bytes (1.1 GB, 1.0 GiB) copied, 0.540455 s, 2.0 GB/s

Disk /dev/nvme0n1: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors Disk model: KINGSTON SA2000M81000G Timing O_DIRECT disk reads: 1220 MB in 3.00 seconds = 406.25 MB/sec 1073741824 bytes (1.1 GB, 1.0 GiB) copied, 3.76468 s, 285 MB/s 1073741824 bytes (1.1 GB, 1.0 GiB) copied, 2.49082 s, 431 MB/s 1073741824 bytes (1.1 GB, 1.0 GiB) copied, 0.530041 s, 2.0 GB/s

ddsm74

Disk /dev/sata1: 238.5 GiB, 256060514304 bytes, 500118192 sectors Disk model: MTFDDAK256TBN-1AR1ZABHA Timing O_DIRECT disk reads: 1238 MB in 3.00 seconds = 412.60 MB/sec 1073741824 bytes (1.1 GB, 1.0 GiB) copied, 2.21746 s, 484 MB/s 1073741824 bytes (1.1 GB, 1.0 GiB) copied, 2.10065 s, 511 MB/s 1073741824 bytes (1.1 GB, 1.0 GiB) copied, 0.128803 s, 8.3 GB/s

Disk /dev/sata2: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors Disk model: HDT721010SLA360 Timing O_DIRECT disk reads: 328 MB in 3.01 seconds = 108.99 MB/sec 1073741824 bytes (1.1 GB, 1.0 GiB) copied, 14.4644 s, 74.2 MB/s 1073741824 bytes (1.1 GB, 1.0 GiB) copied, 15.4272 s, 69.6 MB/s 1073741824 bytes (1.1 GB, 1.0 GiB) copied, 0.126454 s, 8.5 GB/s

Disk /dev/sata3: 7.3 TiB, 8001563222016 bytes, 15628053168 sectors Disk model: MG05ACA800E Timing O_DIRECT disk reads: 674 MB in 3.00 seconds = 224.30 MB/sec 1073741824 bytes (1.1 GB, 1.0 GiB) copied, 4.79312 s, 224 MB/s 1073741824 bytes (1.1 GB, 1.0 GiB) copied, 4.50765 s, 238 MB/s 1073741824 bytes (1.1 GB, 1.0 GiB) copied, 0.127977 s, 8.4 GB/s

Disk /dev/synoboot: 14.8 GiB, 15837691904 bytes, 30932992 sectors Disk model: TOSHIBA USB DRV

dd if=/dev/zero of=/volume5/tempfile bs=1M count=1024 conv=fdatasync sudo sh -c "/usr/bin/echo 3 > /proc/sys/vm/drop_caches" dd if=/volume5/tempfile of=/dev/null bs=1M count=1024 dd if=/volume5/tempfile of=/dev/null bs=1M count=1024 rm /volume5/tempfile

linux hdd

# get hdd info
hdparm -B /dev/sdb

# set APM to 127 (allows spin down)
hdparm -B 127 /dev/sdb

# get status without waking up
smartctl -i -n standby /dev/sdb

# set stand-by / spin down 10 minutes
hdparm -S 120 /dev/sdb

# spin down
hdparm -Y /dev/sdb