LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-13-2003, 05:04 PM   #1
bichettelinux
LQ Newbie
 
Registered: Jul 2003
Posts: 2

Rep: Reputation: 0
Question Help!!!: TCP code size/memory usage / footprint


Hi all,

I need your help.

Do you have an idea about how much the TCP footprint ( memory usage and code size ) is for typical linix operating systems?

If you have any ballpark figure, it would be great!!!
If you know of any specific reference, that will be the best!!!

Thanks in advance.
 
Old 07-13-2003, 05:07 PM   #2
Blindsight
Member
 
Registered: Mar 2003
Distribution: Slackware
Posts: 234

Rep: Reputation: 30
How big is TCP's overhead? I don't understand what you're asking, please rephrase + more info.
 
Old 07-13-2003, 05:22 PM   #3
bichettelinux
LQ Newbie
 
Registered: Jul 2003
Posts: 2

Original Poster
Rep: Reputation: 0
I would like to know how much memory is neccessary for executing tcp stack. If we measure how much system resources are used for this connection, then we can identify how efficient this protocol is especially for memory usage perspective.

And also, a code size can be another criteria to measure this efficiency. Currently, ipv4.o file contains various protocol stacks such as udp, tcp, icmp, ip. I would like to extract the size of only tcp so that I can evaluate their occupancy in memory.

Thank you for your reply.
 
Old 07-13-2003, 05:31 PM   #4
Blindsight
Member
 
Registered: Mar 2003
Distribution: Slackware
Posts: 234

Rep: Reputation: 30
ah, I understand. Since you're asking this question, I'd assume you're a programmer of some sort. There probably aren't very many people that could answer this question for you, but here's how you would find out on your own..

Get a copy of the Kernel source from ftp.us.kernel.org. The directory you'll concern yourself with is linux/net/ipv4 . In that directory you'll find tcp.o and all the other files nessicary for ipv4 to function including the source code (which is in C).

Hope this helps.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
tool to detect number of memory slots, memory module type, speed, and size stefanwolf Linux - Hardware 8 04-22-2013 09:48 AM
getting realtime info on memory usage-cpu and harddrive usage steering Linux - Newbie 5 03-03-2005 08:43 PM
how to determine cpu usage, memory usage, I/O usage by a particular user logged on li rags2k Programming 4 08-21-2004 04:45 AM
small memory footprint grcunningham Linux - Software 1 05-26-2004 08:38 AM
Controlling CPU usage & memory usage Saravana babu Linux - Software 0 02-18-2004 05:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration