Under the AGX Xavier Industry's 35.5.0 version, the write rate of PCIEX2 (C4) is relatively low

AGX Xavier industry has been using version 35.5.0. When testing the read and write rates of PCIEX2 (C4) at room temperature, it was found that the write rate was relatively low, only 211MB/s. Could you please explain the reason for this?

The read/write test statements used:
sync && echo 3 > /proc/sys/vm/drop_caches
read:dd if=./largefile of=/dev/numm bs=1M
write:dd if=/dev/zero of=./largefile bs=1M count=1024

Please try other kind of NVMe SSD as well. It could be NVMe related too.

I have already tested other NVMe SSDs, but the speed has not improved.

What is the result of lspci -vvv result when you check this?

What is the benchmark here that as comparison?

Is jetson clock enabled in this test?

1.After using lspci -vvv, the following is displayed:
LnkCap:port #0,Speed 5GT/s.Width X1, ASPM L0s L1,Exit Latency L0s <512ns,Ls <64Us
LnkSta:Speed 5GT/s(ok),width X1(ok)
2 I conducted the benchmark test based on LnkSta.
3 I did not make any alterations to the clock part. The reference was still 35.5.0.

  1. 請你直接把完整的lspci -vvv用文字檔附上來

  2. 我的意思是你是在跟誰比? 你同一款SSD一定是在別的地方跑比較快你才會來回報說你覺得慢. 請問那別的比較平台是什麼? 那邊的linkSta又是如何?

  3. 那就請你開jetson_cocks之後再做一次測試看有沒有快一點

0004:01:00.0 SATA controller: Marvell Technology Group Ltd. Device 9170 (rev 12) (prog-if 01 [AHCI 1.0])
Subsystem: Marvell Technology Group Ltd. Device 9170
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 317
Region 0: I/O ports at 200010 [size=8]
Region 1: I/O ports at 200020 [size=4]
Region 2: I/O ports at 200018 [size=8]
Region 3: I/O ports at 200024 [size=4]
Region 4: I/O ports at 200000 [size=16]
Region 5: Memory at 1740010000 (32-bit, non-prefetchable) [size=512]
Expansion ROM at 1740000000 [disabled] [size=64K]
Capabilities: [40] Power Management version 3
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot+,D3cold-)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit-
Address: fffff1c8 Data: 0000
Capabilities: [70] Express (v2) Legacy Endpoint, MSI 00
DevCap: MaxPayload 512 bytes, PhantFunc 0, Latency L0s <1us, L1 <8us
ExtTag- AttnBtn- AttnInd- PwrInd- RBE+ FLReset-
DevCtl: CorrErr- NonFatalErr- FatalErr- UnsupReq-
RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop-
MaxPayload 256 bytes, MaxReadReq 512 bytes
DevSta: CorrErr- NonFatalErr- FatalErr- UnsupReq- AuxPwr- TransPend-
LnkCap: Port #0, Speed 5GT/s, Width x1, ASPM L0s L1, Exit Latency L0s <512ns, L1 <64us
ClockPM- Surprise- LLActRep- BwNot- ASPMOptComp-
LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- CommClk-
ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
LnkSta: Speed 5GT/s (ok), Width x1 (ok)
TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
DevCap2: Completion Timeout: Not Supported, TimeoutDis+, NROPrPrP-, LTR-
10BitTagComp-, 10BitTagReq-, OBFF Not Supported, ExtFmt-, EETLPPrefix-
EmergencyPowerReduction Not Supported, EmergencyPowerReductionInit-
FRS-
AtomicOpsCap: 32bit- 64bit- 128bitCAS-
DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR-, OBFF Disabled
AtomicOpsCtl: ReqEn-
LnkCtl2: Target Link Speed: 5GT/s, EnterCompliance- SpeedDis-
Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
Compliance De-emphasis: -6dB
LnkSta2: Current De-emphasis Level: -6dB, EqualizationComplete-, EqualizationPhase1-
EqualizationPhase2-, EqualizationPhase3-, LinkEqualizationRequest-
Capabilities: [100 v1] Advanced Error Reporting
UESta: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
UEMsk: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
UESvrt: DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
CESta: RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr-
CEMsk: RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr+
AERCap: First Error Pointer: 00, ECRCGenCap- ECRCGenEn- ECRCChkCap- ECRCChkEn-
MultHdrRecCap- MultHdrRecEn- TLPPfxPres- HdrLogCap-
HeaderLog: 00000000 00000000 00000000 00000000
Kernel driver in use: ahci
Kernel modules: ahci