Here is a SN550 under test on a CM4IO with the all-passive waveshare adapter> adapter in question: https://www.waveshare.com/pcie-to-m.2-a.htm which doesn't provide the clock and there is no 32kHz clock on the PCIe connector on CM4IO
Thanks very much
Yeah. That's as simple as they come. The one component near the M.2 connector appears to be WAKE/RESET related, so I don't think there's anything clever there with SUSCLK. Assuming the drives you have are the SN350/550/750(X) then that seems to say there's something either with the power supply, power sequencing or the SUSCLK pin that can make them wake up reliably without 32KHz.
> You will also have to take care of product support.
For sure! It may be we just do a revision and add the xtal circuit for a modest price bump and a quieter life if there's no simple way around
Code:
pi@book14pi4:~ $ sudo curl https://raw.githubusercontent.com/TheRemote/PiBenchmarks/master/Storage.sh | sudo bash % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed100 36196 100 36196 0 0 113k 0 --:--:-- --:--:-- --:--:-- 113kTrimming and syncing drives .../boot/firmware: 436.9 MiB (458166272 bytes) trimmed on /dev/nvme0n1p1/: 449.8 GiB (482940678144 bytes) trimmed on /dev/nvme0n1p2Board information: Manufacturer: Raspberry Pi Foundation - Model: Raspberry Pi Compute Module 4 Rev 1.0 - Architecture: aarch64 - OS: Debian GNU/Linux 12 (bookworm)Fetching required components ...Clock speeds: CPU: 2000 - Core: 500System rootfs drive (/) has been detected as /dev/nvme0n1p2 (nvme0n1p2)Starting INXI hardware identification...System: Kernel: 6.1.72-v8+ arch: aarch64 bits: 64 compiler: gcc v: 12.2.0 Desktop: wayfire v: 0.7.5 Distro: Debian GNU/Linux 12 (bookworm)Machine: Type: ARM System: Raspberry Pi Compute Module 4 Rev 1.0 details: N/A rev: c03140 serial: <filter>CPU: Info: quad core model: N/A variant: cortex-a72 bits: 64 type: MCP arch: ARMv8 rev: 3 cache: L1: 320 KiB L2: 1024 KiB Speed (MHz): avg: 2000 min/max: 600/2000 cores: 1: 2000 2: 2000 3: 2000 4: 2000 bogomips: 432 Features: Use -f option to see featuresGraphics: Device-1: bcm2711-hdmi0 driver: vc4_hdmi v: N/A bus-ID: N/A Device-2: bcm2711-hdmi1 driver: vc4_hdmi v: N/A bus-ID: N/A Device-3: bcm2711-vc5 driver: vc4_drm v: N/A bus-ID: N/A Display: wayland server: X.org v: 1.21.1.7 with: Xwayland v: 22.1.9 compositor: wayfire v: 0.7.5 driver: gpu: vc4-drm,vc4_crtc,vc4_dpi,vc4_dsi,vc4_firmware_kms,vc4_hdmi,vc4_hvs,vc4_txp,vc4_v3d,vc4_vec resolution: 1280x800~55Hz API: EGL Message: EGL data requires eglinfo. Check --recommends.Network: Device-1: bcm2835-mmc driver: mmc_bcm2835 v: N/A port: N/A bus-ID: N/A IF: wlan0 state: up mac: <filter> Device-2: bcm2711-genet-v5 driver: bcmgenet v: N/A port: N/A bus-ID: N/A IF: eth0 state: down mac: <filter>Drives: Local Storage: total: 465.76 GiB used: 7.29 GiB (1.6%) ID-1: /dev/nvme0n1 vendor: SanDisk model: Ultra 3D NVMe size: 465.76 GiB temp: 25° (298 Kelvin) C Message: No optical or floppy data found.Partition: ID-1: / size: 456.88 GiB used: 7.22 GiB (1.6%) fs: ext4 dev: /dev/nvme0n1p2Info: Processes: 205 Uptime: 0m Memory: total: 4 GiB available: 3.7 GiB used: 533.8 MiB (14.1%) igpu: 76 MiB Init: systemd target: graphical (5) Compilers: gcc: 12.2.0 Packages: 1618 Client: Sudo v: 1.9.13p3 inxi: 3.3.31Running additional hardware identification tests...Additional hardware identification tests completed.Starting mass storage device identification...Running HDParm tests .../dev/nvme0n1p2: Timing O_DIRECT cached reads: 744 MB in 2.00 seconds = 371.17 MB/sec Timing O_DIRECT disk reads: 1106 MB in 3.01 seconds = 368.00 MB/secHDParm: 368.00 MB/sec - HDParmCached: 371.17 MB/secRunning dd tests ...133120+0 records in133120+0 records out545259520 bytes (545 MB, 520 MiB) copied, 2.20932 s, 247 MB/sDD Write Speed: 247 MB/sRunning fio write test ...Running fio read test ...FIO results - 4k RandWrite: 49708 IOPS (198834 KB/s) - 4k RandRead: 74472 IOPS (297890 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: Tue Jan 16 13:26:20 2024Auto ModeInclude fsync in write timingO_DIRECT feature enabledFile size set to 81920 kBRecord Size 4 kBCommand line used: iozone -a -e -I -i 0 -i 1 -i 2 -s 80M -r 4kOutput is in kBytes/secTime 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 93259 135344 120543 120448 49196 132558 iozone test complete.RandRead: 49196 - RandWrite: 132558 - Read: 120543 - Write: 93259Enter a description of your storage and setup (Example: Kingston A400 SSD on Pi 4 using StarTech SATA to USB adapter)Description: Sandisk Corp WD Blue SN550 NVMe SSD 500GB - on CM4IO(Optional) Enter alias to use on benchmark results. Leave blank for completely anonymous.Alias (leave blank for Anonymous): aBUGSworstnightmare Category Test Result HDParm Disk Read 368.00 MB/sec HDParm Cached Disk Read 371.17 MB/sec DD Disk Write 247 MB/s FIO 4k random read 74472 IOPS (297890 KB/s) FIO 4k random write 49708 IOPS (198834 KB/s) IOZone 4k read 120543 KB/s IOZone 4k write 93259 KB/s IOZone 4k random read 49196 KB/s IOZone 4k random write 132558 KB/s Score: 27840 Compare with previous benchmark results at:https://pibenchmarks.com/pi@book14pi4:~ $ Code:
pi@book14pi4:~ $ sudo nvme smart-log /dev/nvme0n1Smart Log for NVME device:nvme0n1 namespace-id:ffffffffcritical_warning: 0temperature: 24°C (297 Kelvin)available_spare: 100%available_spare_threshold: 10%percentage_used: 0%endurance group critical warning summary: 0Data Units Read: 835,726 (427.89 GB)Data Units Written: 763,122 (390.72 GB)host_read_commands: 9,955,463host_write_commands: 5,408,300controller_busy_time: 65power_cycles: 467power_on_hours: 208unsafe_shutdowns: 120media_errors: 0num_err_log_entries: 1Warning Temperature Time: 0Critical Composite Temperature Time: 0Thermal Management T1 Trans Count: 0Thermal Management T2 Trans Count: 0Thermal Management T1 Total Time: 0Thermal Management T2 Total Time: 0pi@book14pi4:~ $ sudo smartctl -a /dev/nvme0n1smartctl 7.3 2022-02-28 r5338 [aarch64-linux-6.1.72-v8+] (local build)Copyright (C) 2002-22, Bruce Allen, Christian Franke, www.smartmontools.org=== START OF INFORMATION SECTION ===Model Number: SanDisk Ultra 3D NVMeSerial Number: 20511G803175Firmware Version: 211070WDPCI Vendor/Subsystem ID: 0x15b7IEEE OUI Identifier: 0x001b44Total NVM Capacity: 500,107,862,016 [500 GB]Unallocated NVM Capacity: 0Controller ID: 1NVMe Version: 1.4Number of Namespaces: 1Namespace 1 Size/Capacity: 500,107,862,016 [500 GB]Namespace 1 Formatted LBA Size: 512Namespace 1 IEEE EUI-64: 001b44 8b484c36e0Local Time is: Tue Jan 16 13:36:02 2024 CETFirmware Updates (0x14): 2 Slots, no Reset requiredOptional Admin Commands (0x0017): Security Format Frmw_DL Self_TestOptional NVM Commands (0x005f): Comp Wr_Unc DS_Mngmt Wr_Zero Sav/Sel_Feat TimestmpLog Page Attributes (0x1e): Cmd_Eff_Lg Ext_Get_Lg Telmtry_Lg Pers_Ev_LgMaximum Data Transfer Size: 128 PagesWarning Comp. Temp. Threshold: 80 CelsiusCritical Comp. Temp. Threshold: 85 CelsiusNamespace 1 Features (0x02): NA_FieldsSupported Power StatesSt Op Max Active Idle RL RT WL WT Ent_Lat Ex_Lat 0 + 3.50W 2.10W - 0 0 0 0 0 0 1 + 2.40W 1.60W - 0 0 0 0 0 0 2 + 1.90W 1.50W - 0 0 0 0 0 0 3 - 0.0200W - - 3 3 3 3 3900 11000 4 - 0.0050W - - 4 4 4 4 5000 39000Supported LBA Sizes (NSID 0x1)Id Fmt Data Metadt Rel_Perf 0 + 512 0 2 1 - 4096 0 1=== START OF SMART DATA SECTION ===SMART overall-health self-assessment test result: PASSEDSMART/Health Information (NVMe Log 0x02)Critical Warning: 0x00Temperature: 24 CelsiusAvailable Spare: 100%Available Spare Threshold: 10%Percentage Used: 0%Data Units Read: 835,725 [427 GB]Data Units Written: 763,121 [390 GB]Host Read Commands: 9,955,355Host Write Commands: 5,408,173Controller Busy Time: 65Power Cycles: 467Power On Hours: 208Unsafe Shutdowns: 120Media and Data Integrity Errors: 0Error Information Log Entries: 1Warning Comp. Temperature Time: 0Critical Comp. Temperature Time: 0Error Information (NVMe Log 0x01, 16 of 256 entries)No Errors Loggedpi@book14pi4:~ $ grep AER /boot/config-6.1.0-rpi7-rpi-v8CONFIG_PCIEAER=y# CONFIG_PCIEAER_INJECT is not setpi@book14pi4:~ $ sudo lspci -vvv | grep -E 'nvme|LnkSta'LnkSta:Speed 5GT/s, Width x1LnkSta2: Current De-emphasis Level: -6dB, EqualizationComplete- EqualizationPhase1-LnkSta:Speed 5GT/s (downgraded), Width x1 (downgraded)LnkSta2: Current De-emphasis Level: -3.5dB, EqualizationComplete- EqualizationPhase1-Kernel driver in use: nvmeStatistics: Posted by aBUGSworstnightmare — Tue Jan 16, 2024 1:22 pm