lwip-devel
[Top][All Lists]
Advanced

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

Re: [lwip-devel] PPP code size


From: Ivan Delamer
Subject: Re: [lwip-devel] PPP code size
Date: Mon, 16 Mar 2015 13:48:50 -0600

Didn't mean to point the finger like it came across!! sorry sylvain!

I will load a couple different versions and trace the code size to see what happens. 20K for LwIP seems like a lot. There must be some setting I messed up.

Cheers
Ivan


Date: Fri, 13 Mar 2015 18:05:15 +0100
From: Sylvain Rochet <address@hidden>
To: lwip-devel <address@hidden>
Subject: Re: [lwip-devel] PPP code size
Message-ID: <address@hidden>
Content-Type: text/plain; charset="utf-8"

Hello Ivan,

On Fri, Mar 13, 2015 at 10:06:37AM -0600, Ivan Delamer wrote:
Hi Sylvain,

Quick question: I updated lwip to head in my application and noticed
code size increased by about 20kB. Is this possibly due to some new
PPP feature? Is there something that can be disabled? It would be
some change in the last 2-3 weeks or so.

Or do you think this is coming from somewhere else?

20 kB is quite a lot, I added a little bit overhead in PPP (especially
for PPPoS) when I added the separation layer between PPPo(S|E|L2TP) but
20 kB sound like too much because I also removed some useless features
in the meanwhile (ARP is disabled, WINS is disabled, DNS is optional,
AUTH is optional, ?).

I checked to be sure, reverted up:

lwip         604a92d
lwip-contrib b2cf204

Size are in byte, on x86_64, binaries not stripped:


466440   no ppp
857560   PPP (full featured except PPP_SERVER)

PPP size: 391120


Git HEAD

480456   no ppp
856040   PPP (full featured except PPP_SERVER)

PPP size: 375584


Not me ;-)


Sylvain




reply via email to

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