Measuring the Linux TCP/IP stack size

Sergio Pérez <[email protected]>
Newsgroups gmane.linux.real-time.rtlinux.general
Message-ID <[email protected]>
Hi, all!

I'm doing some performance tests on RTL-lwIP and REDD, and I would like to 
compare also the code size (which is one of the main features of lwIP) with 
the Linux TCP/IP stack.

I would like to take into account only the TCP/IP stack code and the support 
for Ethernet and sockets. Since I haven't found no data about its size in 
Internet, I've thought in adding the sizes of the modules 
in /usr/src/linux/net/, particularly these:

40K     netsyms.o
540K    network.o
16K     socket.o
4.0K    sysctl_net.o
284K    ipv4/ipv4.o
212K    ipv6/ipv6.o
96K     core/core.o
4.0K    ethernet/ethernet.o
16K     packet/packet.o
----------------------------------
1212K

I'm not sure about if network.o is a linked module including part of the rest. 
Is this right or I'm missing something?? Any ideas??

I'll add the results of the performance tests to the RTL-lwIP web as soon as 
possible. I'm also doing some tests with the drivers. The tests will also be 
put in the REDD web.

Best regards.

Sergio.

_______________________________________________
Rtl mailing list
[email protected]
http://www2.fsmlabs.com/mailman/listinfo/rtl
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.