Benchmarking USB4 performance on Strix Halo

I’ve found my 7840u (I only have one 395, a Bosgame M5, which keeps me from testing for that 80Gbps) had one core saturated during bandwidth tests with irq throttling disabled. Still, setting it to something moderate like 64 does pretty well, compared to the stock 500. Also, that 0.7ms wakeup time can be reduced to about 0.2ms with /sys/devices/system/cpu/cpu*/power/pm_qos_resume_latency_us (should have the same effect as processor.max_cstate=1 mentioned above). Clearly more latency sources are around, but making slight progress on variables to tweak.

My tests as yet have stayed around 10-11Gbps, which is below the 20Gbps the firmware reports and the 40Gbps it should be capable of. I haven’t yet deepened the queues (thunderbolt_net hardcodes 256 frame deep rings), tried multiple rings, removed copying, etc. But I have confirmed the IP layers are costly.

1 Like