Code: Select all
root@porteus:/P/initrd-mods/initrd501# /opt/porteus-scripts/makeinitrd -z
Testing the speed with dd.
Writing:
Code: Select all
dd if=/dev/zero of=/mnt/nvme0n1p3/tempfile bs=1M count=1024 conv=fdatasync |& tail -1
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 1.84128 s, 583 MB/s
Reading:
Code: Select all
sudo sh -c "/usr/bin/echo 3 > /proc/sys/vm/drop_caches"
root@porteus:~# dd if=/mnt/nvme0n1p3/tempfile of=/dev/null bs=1M count=1024 |& tail -1
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 1.01625 s, 1.1 GB/s
A very moderate improvement so far
The old KDiskMark results for this disk were posted in Booting from NVMe USB enclosure (Post by rych #96889)
New results:
The improvement in almost all speeds is OUTSTANDING!KDiskMark (3.1.3): https://github.com/JonMagon/KDiskMark
Flexible I/O Tester (fio-3.34): https://github.com/axboe/fio
--------------------------------------------------------------------------------
* MB/s = 1,000,000 bytes/s [SATA/600 = 600,000,000 bytes/s]
* KB = 1000 bytes, KiB = 1024 bytes
[Read]
Sequential 1 MiB (Q= 8, T= 1): 1984.937 MB/s [ 1938.4 IOPS] < 4106.15 us>
Sequential 128 KiB (Q= 32, T= 1): 2010.358 MB/s [ 15705.9 IOPS] < 2031.21 us>
Random 4 KiB (Q= 32, T=16): 370.517 MB/s [ 92630.2 IOPS] < 1380.91 us>
Random 4 KiB (Q= 1, T= 1): 42.088 MB/s [ 10522.1 IOPS] < 93.45 us>
[Write]
Sequential 1 MiB (Q= 8, T= 1): 701.939 MB/s [ 685.5 IOPS] < 11550.89 us>
Sequential 128 KiB (Q= 32, T= 1): 828.291 MB/s [ 6471.0 IOPS] < 4914.83 us>
Random 4 KiB (Q= 32, T=16): 148.121 MB/s [ 37031.1 IOPS] < 3483.61 us>
Random 4 KiB (Q= 1, T= 1): 122.710 MB/s [ 30677.7 IOPS] < 30.89 us>
Profile: Default
Test: 1 GiB (x5) [Measure: 5 sec / Interval: 5 sec]
Date: 2023-11-07 22:35:17
OS: slackware 5.01 [linux 6.5.5-porteus]