lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] Lots of RAM


From: Frédéric BERNON
Subject: Re: [lwip-users] Lots of RAM
Date: Fri, 7 Sep 2007 11:30:26 +0200

up the tcp-transmission. To send or receive a 1 Mbyte
file to/from a pc takes about 10 seconds.

And, I suppose your interface is not a 10Mbps, but a 100 or 1000 ?

Take a look to http://lists.gnu.org/archive/html/lwip-users/2006-11/msg00007.html // tune some TCP options (read all the answers)

1. When you change the code in a module, could you
   please also make a comment about it in the modules head.
   At least the date of change. As it is now there is no
   way to tell which module is the latest.

I just did a little test with CVS keywords. This feature is enable on Savannah CVS. So, perhaps it could be a solution? Developers, your point of view?

2. Use variable and function names that say a little more
   what the variable does or means.

Once a function is released, it's always difficult to change its name or its parameters list, because it could cause problems if it is an API. But can you tell us two or three examples of function where the name is not clear enought (and what should be a better name to your point of view)?

----- Original Message ----- From: "Valdemar" <address@hidden>
To: <address@hidden>
Sent: Friday, September 07, 2007 10:28 AM
Subject: [lwip-users] Lots of RAM


Hi
I am using lwip in an application with an ATMEL
AT91R40008 microcontroller running at 33 MHz.
It seems to work fine, but I would like to speed
up the tcp-transmission. To send or receive a 1 Mbyte
file to/from a pc takes about 10 seconds.
It is possible that my application is to blame, but I
want to make sure I use lwip in the best way.

Suppose I have a lot of RAM:
How should I configure my system for optimum tcp performance?
What should the MEM_POOL_SIZE-s and MEM_POOL_NUM-s be?

I use the latest CVS head code. I don't use the API and
NO_SYS = 1.

And two requests to the nice and clever people who write this code from
a beginner who tries to read and understand it:
1. When you change the code in a module, could you
   please also make a comment about it in the modules head.
   At least the date of change. As it is now there is no
   way to tell which module is the latest.

2. Use variable and function names that say a little more
   what the variable does or means.

Thanks for a great product.

Germund Asp


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







reply via email to

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