Re: [lwip-users] Help in getting maximum throughput with LWIP.

2010-04-08 Thread Martin Persich
in original "macb.c" driver. I send my conclusion to Atmel's developper ... Best Regards Martin Persich - Original Message - From: Dany Thiffeault To: Mailing list for lwIP users Sent: Tuesday, March 30, 2010 6:01 PM Subject: Re: [lwip-users] Help in getting maximum throughp

Re: [lwip-users] Help in getting maximum throughput with LWIP.

2010-03-31 Thread David Empson
Dany Thiffeault wrote: I found in the AVR32 datasheet this line: • Automatic Pad and CRC Generation on Transmitted Frames That is referring to the padding (to a minimum length) of Ethernet frames, and the CRC which is appended to every Ethernet frame. (These are implemented in hardware on alm

Re: [lwip-users] Help in getting maximum throughput with LWIP.

2010-03-31 Thread Martin Velek
> I found in the AVR32 datasheet this line: > • Automatic Pad and CRC Generation on Transmitted Frames Probably this function has not impact on the LWIP checksum but only for Ethernet frame checksum (FCS or CRC32). http://en.wikipedia.org/wiki/Ethernet_frame#Physical_layer Martin _

Re: [lwip-users] Help in getting maximum throughput with LWIP.

2010-03-31 Thread Dany Thiffeault
ok, thanks to David for the nice explanation. I was a little lost! Chris and Simon, thanks too. I will try the 1516 size right away. I found in the AVR32 datasheet this line: • Automatic Pad and CRC Generation on Transmitted Frames I guess it's what I want, but it doesn't seem intuitive to enable

Re: [lwip-users] Help in getting maximum throughput with LWIP.

2010-03-30 Thread Simon Goldschmidt
Dany Thiffeault wrote: > oh and Simon, another question. I haven't seen anything about this in your > wiki, but are PBUF_POOL_SIZE and PBUF_POOL_BUFSIZE important too? Oh, then it seems like I forgot those two: PBUF_POOL_SIZE is the number of PBUF_POOL pbufs, each with a size of PBUF_POOL_BUFSIZ

Re: [lwip-users] Help in getting maximum throughput with LWIP.

2010-03-30 Thread Simon Goldschmidt
Dany Thiffeault wrote: > - How do I know if the checksum can be calculated by the hardware? I'm > using > a board I made but based on the Atmel EVK1100. I'm guessing the ethernet MAC you use is embedded in the Atmel controller? You should read the controller's manual, it should tell you whether

Re: [lwip-users] Help in getting maximum throughput with LWIP.

2010-03-30 Thread Chris Strahm
I would also suggest that you try using smaller packet buffers, say 256, and more of them. The total mem used can be the same. The chaining in LWIP works very well so there is little penalty on your large packets. However, many Enet packets are ACKs, SYNs, FINs, etc. which are generally 100-2

Re: [lwip-users] Help in getting maximum throughput with LWIP.

2010-03-30 Thread David Empson
- Original Message - From: Dany Thiffeault To: Mailing list for lwIP users Sent: Wednesday, March 31, 2010 9:19 AM Subject: Re: [lwip-users] Help in getting maximum throughput with LWIP. hehe, another question. I'm using Wireshark to see what's in flight. Whatever packe

Re: [lwip-users] Help in getting maximum throughput with LWIP.

2010-03-30 Thread Dany Thiffeault
; last idea. I changed ETHERNET_CONF_NB_TX_BUFFERS from 10 to 24 two days >>> ago ... >>> I haven't any problem solution in this moment. >>> Martin Persich >>> >>> >>> - Original Message - >>> *From:* Dany Thiffeault >&g

Re: [lwip-users] Help in getting maximum throughput with LWIP.

2010-03-30 Thread Dany Thiffeault
is moment. >> Martin Persich >> >> >> - Original Message ----- >> *From:* Dany Thiffeault >> *To:* Mailing list for lwIP users >> *Sent:* Monday, March 22, 2010 10:13 PM >> *Subject:* Re: [lwip-users] Help in getting maximum throughput with LWIP. >

Re: [lwip-users] Help in getting maximum throughput with LWIP.

2010-03-30 Thread Dany Thiffeault
- > *From:* Dany Thiffeault > *To:* Mailing list for lwIP users > *Sent:* Monday, March 22, 2010 10:13 PM > *Subject:* Re: [lwip-users] Help in getting maximum throughput with LWIP. > > wow, great thanks. I'll make some tests tomorrow. > > Indeed, I forgot to mention.

Re: [lwip-users] Help in getting maximum throughput with LWIP.

2010-03-23 Thread Martin Persich
olution in this moment. Martin Persich - Original Message - From: Dany Thiffeault To: Mailing list for lwIP users Sent: Monday, March 22, 2010 10:13 PM Subject: Re: [lwip-users] Help in getting maximum throughput with LWIP. wow, great thanks. I'll make some tests tomorr

Re: [lwip-users] Help in getting maximum throughput with LWIP.

2010-03-22 Thread goldsi...@gmx.de
Dany Thiffeault wrote: wow, great thanks. I'll make some tests tomorrow. Indeed, I forgot to mention. I'm using TCP with the netconn API. While reading through the multiple posts I missed the past few months, I found out that 1.3.2 is out and Atmel framework 1.7 too. I'll upgrade everything t

Re: [lwip-users] Help in getting maximum throughput with LWIP.

2010-03-22 Thread Dany Thiffeault
wow, great thanks. I'll make some tests tomorrow. Indeed, I forgot to mention. I'm using TCP with the netconn API. While reading through the multiple posts I missed the past few months, I found out that 1.3.2 is out and Atmel framework 1.7 too. I'll upgrade everything tomorow. But in the meantime

Re: [lwip-users] Help in getting maximum throughput with LWIP.

2010-03-22 Thread goldsi...@gmx.de
I just took the time to write something about performance/throughput on the wiki: - http://lwip.wikia.com/wiki/Maximizing_throughput - http://lwip.wikia.com/wiki/Tuning_TCP However, you didn't tell us if you are using TCP or UDP? Also, I don't know what ETHERNET_CONF_NB_TX_BUFFERS is, so I'm gu

[lwip-users] Help in getting maximum throughput with LWIP.

2010-03-22 Thread Dany Thiffeault
Hi, I'm currently coding an application on a AVR32 UC3 board. The board is actually an acquisition platform that's using Ethernet (lwip 1.3.1 currently). I'm using FreeRTOS and the Atmel framework 1.4. My connection is working great with my Windows application. There are two modes to my AVR32 app