ROCKPRO64 with 10GbE NICs
#10
(12-18-2018, 04:24 PM)ddimension Wrote:
(12-17-2018, 06:44 AM)H.HSEL Wrote: I bought a RockPro64 and am trying to build a budget 10GbE storage.
After changing its MTU from 1500 (default) to 9000, I performed iperf and I got a result around 2.70Gbps, though it seems that the result is not stable, sometimes the value going down to 2.30Gbps or lower.
I don't know why but manually assining iperf processes to a specific core (taskset -c 5 iperf -s, for example) seems to offer better and stable results that is 3.00Gbps.

Hi!

I also tested aquantia cards and came to the result, that the driver has poor performance, i.e. missing offloading capabilities. I also have an tehuti tn4xxx network card. This one gave me about 9GBit/s single threaded iperf3 performance, a lot better. Even vlan offloading works.

If you want to give it a try, you have define RX_REUSE_PAGES in tn40.h

After long testing I experienced OOM on higher loads. The problem is the ARM memory management and DMA capabilities.
You should set no coherent_pool in kernel args and provide a big area for contingous memory (which will be used by DMA) like:
cma=512M

Perhaps a smaller area possible.

BTW, I use 4 lanes:
Code:
01:00.0 Ethernet controller: Tehuti Networks Ltd. TN9510 10GBase-T/NBASE-T Ethernet Adapter Subsystem: Tehuti Networks Ltd. Ethernet Adapter Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0 Interrupt: pin A routed to IRQ 233 Region 0: Memory at fa000000 (64-bit, prefetchable) [size=64K] Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit+ Address: 00000000fee30040  Data: 0000 Capabilities: [78] 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: [80] Express (v2) Endpoint, MSI 00 DevCap: MaxPayload 512 bytes, PhantFunc 0, Latency L0s <64ns, L1 <2us ExtTag- AttnBtn- AttnInd- PwrInd- RBE+ FLReset- SlotPowerLimit 0.000W DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported- RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+ MaxPayload 256 bytes, MaxReadReq 512 bytes DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr+ TransPend- LnkCap: Port #1, Speed 5GT/s, Width x4, ASPM L0s L1, Exit Latency L0s <512ns, L1 <2us ClockPM- Surprise- LLActRep- BwNot- ASPMOptComp- LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- CommClk+ ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt- LnkSta: Speed 5GT/s, Width x4, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt- DevCap2: Completion Timeout: Range A, TimeoutDis+, LTR-, OBFF Not Supported DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR-, OBFF Disabled 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] Virtual Channel Caps: LPEVC=0 RefClk=100ns PATEntryBits=1 Arb: Fixed- WRR32- WRR64- WRR128- Ctrl: ArbSelect=Fixed Status: InProgress- VC0: Caps: PATOffset=00 MaxTimeSlots=1 RejSnoopTrans- Arb: Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256- Ctrl: Enable+ ID=0 ArbSelect=Fixed TC/VC=ff Status: NegoPending- InProgress- Kernel driver in use: tn40xx Kernel modules: tn40xx


Messages In This Thread
ROCKPRO64 with 10GbE NICs - by H.HSEL - 12-17-2018, 06:44 AM
RE: ROCKPRO64 with 10GbE NICs - by xalius - 12-17-2018, 02:41 PM
RE: ROCKPRO64 with 10GbE NICs - by fosf0r - 12-17-2018, 03:52 PM
RE: ROCKPRO64 with 10GbE NICs - by H.HSEL - 12-18-2018, 05:35 AM
RE: ROCKPRO64 with 10GbE NICs - by ddimension - 12-18-2018, 04:24 PM
RE: ROCKPRO64 with 10GbE NICs - by ddimension - 02-24-2019, 03:35 AM
RE: ROCKPRO64 with 10GbE NICs - by ddimension - 03-03-2019, 02:02 AM
RE: ROCKPRO64 with 10GbE NICs - by H.HSEL - 12-19-2018, 06:45 AM
RE: ROCKPRO64 with 10GbE NICs - by gokuz - 12-20-2018, 03:30 AM
RE: ROCKPRO64 with 10GbE NICs - by Ryan - 01-28-2019, 09:07 PM
RE: ROCKPRO64 with 10GbE NICs - by Ryan - 01-31-2019, 09:52 PM
RE: ROCKPRO64 with 10GbE NICs - by igorp - 08-14-2019, 12:09 AM
RE: ROCKPRO64 with 10GbE NICs - by igorp - 08-14-2019, 01:37 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  RockPro64 automatically run after power recovery - my solution g2t 1 1,787 05-28-2026, 05:29 PM
Last Post: tllim
  where to get debian 12 image for rockpro64? heocb 1 4,468 05-18-2025, 02:30 PM
Last Post: Dendrocalamus64
  Use android on RockPro64 without a LCD screen ? john_nash 0 3,800 03-28-2025, 11:15 PM
Last Post: john_nash
  How to use ROCKPro64 PCI-e X4 to M.2/NGFF NVMe SSD Interface Card jykeith123 1 5,537 11-26-2024, 11:08 AM
Last Post: wdt
  Installing Wifi drive for the RockPro64 John45595 0 4,750 02-10-2024, 11:32 PM
Last Post: John45595
Wink You don't sell case and fan for "ROCKPro64 4GB Single Board Computer"? Clea 1 6,264 09-17-2023, 12:00 AM
Last Post: tllim
  Want to check maximum toggle speed in Rockpro64 board. kundanjha 0 4,930 08-14-2023, 07:55 AM
Last Post: kundanjha
  Unable to boot Armbian on new RockPro64 mooseball 5 13,989 07-14-2023, 08:59 AM
Last Post: rockjonn
  Hardware fix for software sound problem on Rockpro64 Ricks Rockpro 0 5,220 04-06-2023, 03:59 PM
Last Post: Ricks Rockpro
  No sound on Rockpro64 with OpenWrt Patrice 1 6,614 04-06-2023, 02:46 PM
Last Post: Ricks Rockpro

Forum Jump:


Users browsing this thread: 1 Guest(s)