2022-04-30 09:46 PM
CubeIDE NETXDUO configuration keep default
#define PAYLOAD_SIZE 1536
#define NX_PACKET_POOL_SIZE ((PAULOAD_SIZE +sizeof(NX_PACKET))*40)
2022-05-01 01:35 PM
Looked at the NetX Duo stack's driver for H7. The driver is zero-copy, but it allocates buffers by software, not DMA. Overall that is still acceptable design, just that it will not sqeeze out the absolute maximum performance it could.
Fast, near wirespeed TCP packet processing:
RX 93 Mbps on 100 Mbps Ethernet, MCU @100MHz, 20% MCU utilization
TX 94 Mbps on 100 Mbps Ethernet, MCU @100MHz, 27% MCU utilization
https://docs.microsoft.com/en-us/azure/rtos/netx-duo/overview-netx-duo
But they don't say on what hardware with what driver. And then on another page TCP receive achieves only 71 Mbps also with unknown hardware:
https://docs.microsoft.com/en-us/azure/rtos/netx-duo/netx-duo-iperf/chapter3
Anyway, look for a configuration options, of which TCP has a lot:
https://docs.microsoft.com/en-us/azure/rtos/netx-duo/chapter2#configuration-options
2023-01-10 05:55 AM
Hi @Hhaon.1 ,
Could you please try to test again with the following recommendation :
Please keep us updated on new performance value.
Regards
Mahdy