TheRemote / PiBenchmarks

Raspberry Pi benchmarking scripts featuring a storage benchmark with score
https://pibenchmarks.com
MIT License
173 stars 12 forks source link

test not making it to webpage - Inland TN320 256GB NVME on Raspberry Pi 5 using Geekworm X1001 V1.1 PIP #40

Open kmm0 opened 10 months ago

kmm0 commented 10 months ago

Starting INXI hardware identification... System: Kernel: 6.1.0-rpi7-rpi-2712 arch: aarch64 bits: 64 compiler: gcc v: 12.2.0 Console: pty pts/1 Distro: Debian GNU/Linux 12 (bookworm) Machine: Type: ARM System: Raspberry Pi 5 Model B Rev 1.0 details: N/A rev: c04170 serial: CPU: Info: quad core model: N/A variant: cortex-a76 bits: 64 type: MCP arch: ARMv8 rev: 1 Speed (MHz): avg: 3000 min/max: 1500/3000 cores: 1: 3000 2: 3000 3: 3000 4: 3000 bogomips: 432 Features: Use -f option to see features Graphics: Device-1: bcm2712-hdmi0 driver: vc4_hdmi v: N/A bus-ID: N/A Device-2: bcm2712-hdmi1 driver: vc4_hdmi v: N/A bus-ID: N/A Display: x11 server: X.org v: 1.21.1.7 with: Xwayland v: 22.1.9 driver: N/A tty: 80x40 API: OpenGL Message: GL data unavailable in console, glxinfo missing. Network: Device-1: driver: rp1 v: N/A port: N/A bus-ID: 0001:01:00.0 IF-ID-1: eth0 state: up speed: 1000 Mbps duplex: full mac: Drives: Local Storage: total: 238.47 GiB used: 13.41 GiB (5.6%) ID-1: /dev/nvme0n1 vendor: Inland model: TN320 NVMe SSD size: 238.47 GiB temp: 42° (315 Kelvin) C Message: No optical or floppy data found. Partition: ID-1: / size: 234.3 GiB used: 13.34 GiB (5.7%) fs: ext4 dev: /dev/nvme0n1p2 Info: Processes: 161 Uptime: 1d 13h 52m Memory: total: 4 GiB available: 3.95 GiB used: 401.5 MiB (9.9%) igpu: 4 MiB Init: systemd target: multi-user (3) Compilers: gcc: 12.2.0 Packages: 1363 Client: Sudo v: 1.9.13p3 inxi: 3.3.31 Running additional hardware identification tests... Additional hardware identification tests completed. Starting mass storage device identification... Running HDParm tests ... /dev/nvme0n1p2: Timing O_DIRECT cached reads: 1244 MB in 2.00 seconds = 621.96 MB/sec Timing O_DIRECT disk reads: 2268 MB in 3.00 seconds = 755.70 MB/sec HDParm: 755.70 MB/sec - HDParmCached: 621.96 MB/sec Running dd tests ... 133120+0 records in 133120+0 records out 545259520 bytes (545 MB, 520 MiB) copied, 1.1788 s, 463 MB/s DD Write Speed: 463 MB/s Running fio write test ... Running fio read test ... FIO results - 4k RandWrite: 70865 IOPS (283460 KB/s) - 4k RandRead: 100886 IOPS (403546 KB/s) Running iozone test ... Iozone: Performance Test of File I/O Version $Revision: 3.489 $ Compiled for 64 bit mode. Build: linux Run began: Sun Jan 14 07:55:55 2024 Auto Mode Include fsync in write timing O_DIRECT feature enabled File size set to 81920 kB Record Size 4 kB Command line used: iozone -a -e -I -i 0 -i 1 -i 2 -s 80M -r 4k Output is in kBytes/sec Time Resolution = 0.000001 seconds. Processor cache size set to 1024 kBytes. Processor cache line size set to 32 bytes. File stride size set to 17 * record size. random random bkwd record stride kB reclen write rewrite read reread read write read rewrite read fwrite frewrite fread freread 81920 4 194676 250383 274724 275185 62001 228735 iozone test complete. RandRead: 62001 - RandWrite: 228735 - Read: 274724 - Write: 194676 Enter a description of your storage and setup (Example: Kingston A400 SSD on Pi 4 using StarTech SATA to USB adapter) Description: Inland TN320 256GB NVME on Raspberry Pi 5 using Geekworm X1001 V1.1 PIP (Optional) Enter alias to use on benchmark results. Leave blank for completely anonymous. Alias (leave blank for Anonymous):

 Category                  Test                      Result

HDParm Disk Read 755.70 MB/sec HDParm Cached Disk Read 621.96 MB/sec DD Disk Write 463 MB/s FIO 4k random read 100886 IOPS (403546 KB/s) FIO 4k random write 70865 IOPS (283460 KB/s) IOZone 4k read 274724 KB/s IOZone 4k write 194676 KB/s IOZone 4k random read 62001 KB/s IOZone 4k random write 228735 KB/s

                      Score: 45910

Compare with previous benchmark results at: https://pibenchmarks.com/

jackra1n commented 10 months ago

Im having the same problem but with Geekworm X1002 V1.1 hat and a Kingston NV2 nvme

kmm0 commented 10 months ago

I don't think it's the Geekworm adapter, I also tried a SK Hynix Gold P31 1TB on the Geekworm and the Pimoroni, neither made it to the site.

ID-1: /dev/nvme0n1 vendor: Smart Modular Tech. model: SHGP31-1000GM size: 931.51 GiB

kmm0 commented 10 months ago

This workaround from a closed issue worked.

https://pibenchmarks.com/benchmark/77698/ test for the SK Hynix Gold P31 1TB

Temporary Workaround Instead of running the command

sudo curl https://raw.githubusercontent.com/TheRemote/PiBenchmarks/master/Storage.sh | sudo bash like instructed on the web site, download the file with

curl -o Storage.sh https://raw.githubusercontent.com/TheRemote/PiBenchmarks/master/Storage.sh then open the file in your favourite text editor and comment out the offending show-regs line in the script by adding a # at the start of the line.

Test_nvme=$(nvme list -o json 2>&1)

Test_nvme+=$(nvme show-regs "$BootDrive" -H 2>&1 | sed 's/;/!/g')

Test_smartctl=$(smartctl -x "$BootDrive" 2>&1 | sed 's/;/!/g' | sed '/^[[:space:]]*$/d') Once you've made the change, run it with sudo bash ./Storage.sh. The results should appear on the web site. If you are using an NVMe boot drive, some details may be missing, but at least the results will appear properly.

kmm0 commented 10 months ago

that workaround worked for the Sk Hynix drive and a Toshiba drive, but not for the Inland TN320

jackra1n commented 10 months ago

Thanks. That workaround did work for me

mcpat-it commented 9 months ago

Worked for me on Geekworm X1001 and Crucial P3 4TB

spiceyux commented 9 months ago

Same issue and workaround worked for me. Geekworm x1000 and Inland TN325 512GB

philrandal commented 9 months ago

Same issue. Workaround seemed towork for me and script claimed the results were uploaded., but nothing has been shown on the page. Pi 5, Pimoroni NVMe base, Integral Series M 250GB M2 2280. Uploaded as user philr

oviliz commented 9 months ago

I have also commented the line #Test_nvme+=$(nvme show-regs "$BootDrive" -H 2>&1 | sed 's/;/!/g' | sed 's/\x0//g') and the submission finally ended up on the website. I have lost so many of them... :(

mixpc commented 9 months ago

Thank you for opening this thread. So helpful! As per workaround, commented:

#Test_nvme=$(nvme list -o json 2>&1 | sed 's/\x0//g')
#Test_nvme+=$(nvme show-regs "$BootDrive" -H 2>&1 | sed 's/;/!/g' | sed 's/\x0//g')
#Test_smartctl=$(smartctl -x "$BootDrive" 2>&1 | sed 's/;/!/g' | sed '/^[[:space:]]*$/d')

and now results are uploaded. At last!