lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] Increase Speed


From: Oscar F
Subject: Re: [lwip-users] Increase Speed
Date: Wed, 7 Apr 2010 22:17:51 +0200

Thanks Kieran, i attach the files that you want.

The error_LOG.rar is a capture of wireshark. This file is sending a big packet at the end. You can see the size of the packets browsing by the network. My application send packets to PC application, and this wait about 25 second to receive the full message (27Mbytes). My application need 87 second to send only 500Kbytes.

My aim is improve the speed a lot of. I hope to have enoght memory, because i have moved the dinamic memory to external memory, and i have reserved 2Mbytes for this purpose.

I hope you can help me, and tell me  the typical paramet tha i can modify of lwipopt.h

thanks in advance

Regards

Oscar


On Wed, Apr 7, 2010 at 6:02 PM, Kieran Mansley <address@hidden> wrote:

On 7 Apr 2010, at 07:15, Oscar F wrote:

> Hello everybody, i´m using lwip in AVR32 in EVK1100.
>
> I´m sending a big packet ( 15 Mbytes) ,

Your packets will be much smaller than that: your write of 15 Mbytes gets split up into lots of smaller packets that the network can handle efficiently (as you saw in wireshark).

> and the time to finish the process is very high!!. In the sniffer (wireshark) i saw that the packet is divided in two size 1400 and 690 i don´t remenber exactly, but this order the size.
>
> How can i increse the speed of transmission?

Work out what is limiting the speed at the moment and improve that until it is no longer the bottleneck.

> should i change the file of configure lwipopt.h?  what value are typical to send very fast?

lwipopts.h is where you can configure parameters to control lwIP, so this is the right place to be making changes.  The appropriate settings though will depend on your system, and I'm not familiar with your hardware.

Could you get part of a packet capture showing your transfer?  It would be useful to know what performance you're currently getting, and what you expect to get.  Is your traffic going to something on the same network or off across the Internet?  How much memory does your system have available, and what are your current lwipopts.h settings?

Thanks

Kieran

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



--
"En la vida hay tres cosas que nunca dan marcha atras, la palabra pronunciada, la flecha lanzada y la oportunidad perdida"

Attachment: ERROR LOG.rar
Description: application/rar-compressed

Attachment: lwipopts.h
Description: Text Data


reply via email to

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