Hi Oscar,
I am working with AVR32 and hardware such like
EVK1100 too. I have TFTP server in my application (UDP transport) and my RX
speed is about 400 KB/sec and TX is about 300 KB/sec (without any
optimalization). In you "lwipopt.h" is quite low value of PBUF_POOL_SIZE by my
mind. I attached my configuration file.
Best Regards,
Martin Persich
----- Original Message -----
Sent: Wednesday, April 07, 2010 10:17
PM
Subject: Re: [lwip-users] Increase
Speed
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"
|