Booting from NVMe USB enclosure

Technical issues/questions of an intermediate or advanced nature.
rych
Warlord
Warlord
Posts: 622
Joined: 04 Jan 2014, 04:27
Distribution: Porteus 5.0 x64 OpenBox
Location: NZ
Contact:

Booting from NVMe USB enclosure

Post#31 by rych » 15 Jan 2024, 07:16

Other speed tests on the new Asmedia ASM2364 enclosure:

Code: Select all

hdparm -t --direct /dev/sda3

/dev/sda3:
 Timing O_DIRECT disk reads: 2466 MB in  3.00 seconds = 821.73 MB/sec
hdparm -t --direct /dev/sda4

/dev/sda4:
 Timing O_DIRECT disk reads: 2466 MB in  3.00 seconds = 821.45 MB/sec
Writing on ext4

Code: Select all

dd if=/dev/zero of=/mnt/sda3/tempfile bs=1M count=1024 conv=fdatasync |& tail -1
...630 MB/s
...reading it back:

Code: Select all

sudo sh -c "/usr/bin/echo 3 > /proc/sys/vm/drop_caches"
dd if=/mnt/sda3/tempfile of=/dev/null bs=1M count=1024 |& tail -1
...1.0 GB/s
-- again with almost identical numbers for the NTFS (ntfs3 mounted) partition

Interestingly, mounting NTFS using ntfs3 kernel driver, the speed of accessing it is identical to the speed of the adjacent ext4 partition on the same USB.

Post Reply