I flashed Ubuntu 24.04 LTS on Kingston NV2 2TB using rpi-imager and I was able to boot from the SSD.
I did a hdparm read test on both Gen2 and Gen3. On Gen3 I was getting about 600-700 MB/sec. At this point I started using rsync to copy large files from a WD usb external hard drive. I was getting speeds of about 60-70 MB/sec then after about 100GB the speed started dropping to values under 3 MB/Sec. When I use rsync I start seeing these errors in journalctl:
May 27 10:15:32 pi-master kernel: nvme nvme0: I/O tag 0 (3000) opcode 0x1 (I/O Cmd) QID 1 timeout, aborting req_op:WRITE(1) size:4096
May 27 10:15:32 pi-master kernel: nvme nvme0: Abort status: 0x0
May 27 10:15:32 pi-master kernel: nvme nvme0: I/O tag 209 (10d1) opcode 0x1 (I/O Cmd) QID 2 timeout, aborting req_op:WRITE(1) size:131072
Other unexpected behaviours that I am seeing:
- terminal history is not persisted between ssh sessions, last item in history is from the first time I ran rsync
- changes in /boot/firmware/cmdline.txt are not persisted, I was able to edit it before using rsync (I added cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory for k3s)
- hdparm results dropped from 600-700 MB/sec to 30-50 MB/sec
lspci output:
0000:00:00.0 PCI bridge: Broadcom Inc. and subsidiaries BCM2712 PCIe Bridge (rev 21)
0000:01:00.0 Non-Volatile memory controller: Realtek Semiconductor Co., Ltd. RTS5765DL NVMe SSD Controller (DRAM-less) (rev 01)
0001:00:00.0 PCI bridge: Broadcom Inc. and subsidiaries BCM2712 PCIe Bridge (rev 21)
0001:01:00.0 Ethernet controller: Raspberry Pi Ltd RP1 PCIe 2.0 South Bridge
Could someone please help me solve this issue?
Let me know if I can provide other details.
Thank you!