lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-users] lwip140 Tx performance is lower than lwip130 performance


From: Anirudha Sarangi
Subject: [lwip-users] lwip140 Tx performance is lower than lwip130 performance
Date: Sun, 30 Oct 2011 15:52:38 +0800 (SGT)

Hi,
Continuing the earlier discussion, lwip140 performance has improved a lot on the Rx side in comparsion to lwip130/lwip132.
But, lwip140 Tx side performance has dropped.
 
This is for RAW API mode.
I use microblaze (from Xilinx) and run iperf to measure the performance. I have done any changes in lwip140 or lwip130 for my tests. Also the driver interface is exactly same for both.
Regarding the numbers, for lwip130, if I get around 100 Mbps, for lwip140 I get around 87-90 Mbps. So there is a big drop.
Actually, if I use the same lwipopts.h for both, then the drop is even more. If lwip130 gives 100Mbps, lwip140 gives around 65-70 Mbps. After playing around with the configuration, I could increase from 65-70 Mbps to 87-90 Mbps. But beyond that I am unable to go.
 
The lwipopts.h for both and opt.h for both are attached.
 
regards
Anirudha
 

From: "address@hidden" <address@hidden>
To: Mailing list for lwIP users <address@hidden>
Sent: Friday, 30 September 2011 12:37 AM
Subject: Re: [lwip-users] Fw: (no subject)

FreeRTOS Info wrote:
> Could you please provide details of what you changed.
Good idea, could you please provide your lwipopts.h for both versions?
Maybe we can see anything from that. I'd like to measure performance on
my hardware using these 2 versions + configs.

Also, which API are you using? Sockets, netconn or raw API?

Simon

>
>
> Regards,
> Richard.
>
> + http://www.FreeRTOS.org
> Designed for Microcontrollers.
> More than 7000 downloads per month.
>
>
>
>
> On 29/09/2011 07:29, Anirudha Sarangi wrote:
>> Hi Kieran,
>> I was playing with some of the new parameters that are added in lwip140.
>> I got good improvement in numbers.
>> The numbers improved from around 66 MB to 82 MB.
>>
>> With the same hardware and same application files (compiler options are
>> also same), lwip130 gives me a number of 92-93 MB for txperf and lwip140
>> gives me a number of 82 MB. There is still a difference of 10 MB.
>>
>> I want to send you the pcap files for both. Old as well as new lwip. But
>> not sure how. The pcap files are quite large.
>>
>> Is there anyway I could send them to you? Alternate mail id or something?
>>
>> regards
>> Anirudha
>>
>> *From:* Kieran Mansley<address@hidden>
>> *To:* Mailing list for lwIP users<address@hidden>
>> *Sent:* Wednesday, 28 September 2011 5:04 PM
>> *Subject:* Re: [lwip-users] Fw: (no subject)
>>
>>
>> On 28 Sep 2011, at 12:15, Anirudha Sarangi wrote:
>>
>>> Hi Kieren,
>>> Do you mean capturing the packets in wireshark and sending you the log?
>> Exactly.  Please send the pcap file, not just the textual log.
>>
>> Kieran
>>
>> _______________________________________________
>> lwip-users mailing list
>> address@hidden<mailto:address@hidden>
>> https://lists.nongnu.org/mailman/listinfo/lwip-users
>>
>>
>>
>>
>> _______________________________________________
>> lwip-users mailing list
>> address@hidden
>> https://lists.nongnu.org/mailman/listinfo/lwip-users
> _______________________________________________
> lwip-users mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/lwip-users
>


_______________________________________________
lwip-users mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/lwip-users


Attachment: opt_lwip140.h
Description: Text document

Attachment: opt_lwip130.h
Description: Text document

Attachment: lwipopts_lwip140.h
Description: Text document

Attachment: lwipopts_lwip130.h
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]