Hi,
I am using bsd socket API.
App is : iperf3(ported)
NO_SYS: 0
layer-2 driver: proprietary driver (wifi)
data size: approx. 2 MB per second (getting bandwidth ~ 15 Mbits sec).
memory usage: max usage around 250 KB (MEM_SIZE), MEMP_MEM_MALLOC is in use.
Driver should not be a problem as the performance is measured on LWIP loopback interface.
With driver , I am not getting more than 2 Mbps both for TCP / UDP using ieprf.
Please help me out if I am missing something or some parameters that can be adjusted
to achieve better performance without consuming much memory.
Thanks,
Arpit
--------- Original Message ---------
Sender : Sergio R. Caprile <[email protected]>
Date : 2016-09-16 18:09 (GMT+5:30)
Title : Re: [lwip-users] LWIP UDP throughput with Iperf
The amount of memory used depends on your application. There is no reason to queue UDP datagrams unless you don't get them as they come. API ? NO_SYS ? port ? layer-2 driver ? data size ? stats ? frames per second ? memory usage ? app details ? If you are expecting high-performance, you should be using RAW API, and so each received frame carrying a UDP datagram would trigger a callback to your application receive function; if your port and driver are not buggy ;^) _______________________________________________ lwip-users mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/lwip-users
Thanks & Regards,
Arpit Agarwal
Senior Software Engineer, SRIB
Email: [email protected]
|
|
_______________________________________________ lwip-users mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/lwip-users
