Hello druck!
21 Feb 24 20:51, you wrote to Pancho:dr> On 21/02/2024 17:42, Pancho wrote: >> I got rid of my desire for an nvme with my opi5. Due to being PCIe 1 >> lane, it wasn't that much faster,
dr> That surprises me, could anyone with an NVMe base run this script dr> which measures the maximum sequential and random access read/write dr> speeds. You'll need to install the fio package and be in a directory dr> on the disc under test.
dr> #!/bin/bash dr> TESTFILE=fio-tempfile.dat dr> fio --name SeqRead --eta-newline=5s --filename=$TESTFILE --rw=read\ dr> --size=500m --io_size=10g --blocksize=1024k --ioengine=libaio\ dr> --fsync=10000 --iodepth=32 --direct=1 --numjobs=1 --runtime=30\ dr> --group_reporting | grep bw= dr> fio --name SeqWrite --eta-newline=5s --filename=$TESTFILE --rw=write\ dr> --size=500m --io_size=10g --blocksize=1024k --ioengine=libaio\ dr> --fsync=10000 --iodepth=32 --direct=1 --numjobs=1 --runtime=30\ dr> --group_reporting | grep bw= dr> fio --name RndRead --eta-newline=5s --filename=$TESTFILE dr> --rw=randread\ --size=500m --io_size=10g --blocksize=4k dr> --ioengine=libaio --fsync=1\ --iodepth=1 --direct=1 --numjobs=1 dr> --runtime=30 --group_reporting\ | grep bw= fio --name RndWrite dr> --eta-newline=5s --filename=$TESTFILE--rw=randwrite\ --size=500m dr> --io_size=10g --blocksize=4k --ioengine=libaio --fsync=1\ --iodepth=1 dr> --direct=1 --numjobs=1 --runtime=30 --group_reporting\ | grep bw= rm dr> $TESTFILE
dr> More than dd'ing the SD card image on to the NVMe, using gparted to dr> expand the linux partition, and then changing the boot device in dr> /boot/cmdline.txt and /etc/fstab ?
dr> ---druck
dr> --- SoupGate-Win32 v1.05 dr> * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway dr> (3:770/3)
Here's the output of your script tested on my Pi5 with NVMe SSD:
READ: bw=850MiB/s (891MB/s), 850MiB/s-850MiB/s (891MB/s-891MB/s), io=10.0GiB (10.7GB), run=12046-12046msec WRITE: bw=746MiB/s (782MB/s), 746MiB/s-746MiB/s (782MB/s-782MB/s), io=10.0GiB (10.7GB), run=13727-13727msec READ: bw=64.6MiB/s (67.7MB/s), 64.6MiB/s-64.6MiB/s (67.7MB/s-67.7MB/s), io=1937MiB (2031MB), run=30000-30000msec READ: bw=223MiB/s (234MB/s), 223MiB/s-223MiB/s (234MB/s-234MB/s), io=6684MiB (7008MB), run=30000-30000msec
Guido