LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 01-12-2006, 08:47 AM   #1
armadadeO
LQ Newbie
 
Registered: Jan 2006
Posts: 13

Rep: Reputation: 0
performance of TCP activities


hey there,
I use slackware 10.1 and I wanna use performance counters in order to mesure stuff from TCP activity during a transmission. Do you know if the tcp.h file is used during a transmition and in what way?(or maybe is there any other library used so that I can start/stop performance counters from there?)

thanx in advance!.

A.de.O
 
Old 01-13-2006, 02:15 AM   #2
timmeke
Senior Member
 
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Rep: Reputation: 61
Why write your own monitoring tools?
Most of them exist already, I think.

For instance, you could try using packet monitoring tools (like ethereal).

Some networking statistics are also monitored automatically by the system.
Have a look at the basic "netstat" command.

If those don't help you, please post a clue on what exactly you want to measure.
Just saying "stuff" isn't enough...
 
Old 01-16-2006, 07:59 AM   #3
armadadeO
LQ Newbie
 
Registered: Jan 2006
Posts: 13

Original Poster
Rep: Reputation: 0
@timmeke: thanx for the tip.
I'd like to measure the power consumed by tcp during the transmission of a video stream. I think that by tools like Oprofile which use performance counters you cannot be sure about the measure you get, that is you cannot measure distinct tcp action but you count other kernel activities too. Well, anyway I'll search for the packets that you recommend and let you know.
 
Old 01-16-2006, 10:18 AM   #4
timmeke
Senior Member
 
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Rep: Reputation: 61
I've heard about "gkrellm", a package of monitoring tools, recently.
Maybe that's worth looking into as well.

Video using the tcp protocol?
Since tcp is a network protocol, you may be able to get some power
consumption statistics on your network card.
But I'm not sure that's what you're looking for.
 
  


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
Is NFS performance faster with UDP vs TCP? Thaidog Linux - Networking 1 12-26-2005 02:05 PM
TCP/IP performance bluefiord02 Linux - Networking 1 05-15-2005 09:46 AM
Woody 3.0 Open Ports 1470/tcp/uaiact 1518/tcp/vpvd What for?How can I remove them? alexxxis Debian 5 07-05-2004 05:18 PM
TCP Keep alive Option Performance impact ndwivedi Linux - Software 0 06-24-2004 01:58 AM
How-To Enable TCP high performance extensions SlackN00b Slackware 0 01-10-2004 08:05 PM

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

All times are GMT -5. The time now is 01:47 AM.

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