On a RPI5 16GB (RaspiOS Trixie with KDE Plasma in Argon ONE v5 case) with a 18euros NVME at gen3 speed - My own multi speedtest script
dwam@rpi5b:~/Scripts $ ./hdspeed2.sh
NAME SIZE TYPE MOUNTPOINT LABEL MODEL
nvme0n1 119,2G disk ORICO
├─nvme0n1p1 512M part /boot/firmware bootfs
└─nvme0n1p2 118,7G part / rootfs
Enter device name (e.g. sda or mmcblk0 or nvme0n1) or full path (/dev/sda): nvme0n1
[INFO] Selected device: /dev/nvme0n1
[INFO] Detected mountpoint: / (partition: /dev/nvme0n1p2)
Available tests:
1) hdparm raw read test (if installed)
2) dd raw read test (read-only, from device)
3) dd write/read tests on filesystem at / (will create and delete a ~256MB file)
Run all applicable tests? [Y/n] Y
[INFO] Running hdparm -Tt --direct on /dev/nvme0n1 (may require sudo)...
/dev/nvme0n1:
Timing O_DIRECT cached reads: 776 MB in 2.00 seconds = 387.99 MB/sec
Timing O_DIRECT disk reads: 1806 MB in 3.00 seconds = 601.64 MB/sec
[INFO] Raw device read test (safe read-only) using dd if=/dev/nvme0n1
[INFO] Using sudo for raw device read (password may be requested)...
268435456 octets (268 MB, 256 MiB) copiés, 0,356176 s, 754 MB/s
[INFO] Raw device read speed: 754 MB/s
[INFO] Write test: creating 256MB file at //hdspeed_test-15056.tmp
268435456 octets (268 MB, 256 MiB) copiés, 0,335962 s, 799 MB/s
[INFO] Write speed: 799 MB/s
[INFO] Dropping caches before read test (requires sudo)...
[INFO] Read test: reading back the file to /dev/null
268435456 octets (268 MB, 256 MiB) copiés, 0,302642 s, 887 MB/s
[INFO] Read speed (file): 887 MB/s
[INFO] Removing temporary file //hdspeed_test-15056.tmp
[INFO] All tests completed.
Statistics: Posted by dwam — Tue Jan 06, 2026 6:12 pm