LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 05-02-2011, 01:17 PM   #1
NANNOB1
LQ Newbie
 
Registered: Feb 2011
Posts: 8

Rep: Reputation: 0
Question tcp_probe doesn't collect all the data


I'm trying to plot the TCP congestion window and the slow start threshold using iperf and the tcp_probe module. I do exactly what is told here:

to obtain the data:

modprobe tcp_probe port=5001
chmod 444 /proc/net/tcpprobe
cat /proc/net/tcpprobe >/tmp/tcpprobe.out &
TCPCAP=$!
iperf -i 10 -t 100 -c receiver
kill $TCPCAP

to plot:

gnuplot -persist <<EOF
set data style linespoints
show timestamp
set xlabel "time (seconds)"
set ylabel "Segments (cwnd, ssthresh)"
plot "/tmp/tcpprobe.out" using 1:7 title "snd_cwnd", \
"/tmp/tcpprobe.out" using 1$8>=2147483647 ? 0 : $8) title "snd_ssthresh"
EOF

I did the test with iperf for 10, 20, 40 100 and 200 seconds but the plot only showed the first 20 seconds in all of the tests. I checked the tcpprobet.out log and y saw that 2048 entries are registered, no matter if the test was for 20 or 200 seconds.

What can I do to solve this?

I'm using ubuntu 10.04 64 bits

Last edited by NANNOB1; 05-02-2011 at 03:54 PM.
 
Old 05-03-2011, 09:42 AM   #2
NANNOB1
LQ Newbie
 
Registered: Feb 2011
Posts: 8

Original Poster
Rep: Reputation: 0
I make the same tests with ubuntu 10.04 32 bits on a virtual machine, and it works . I'm going to switch to 32 bits and run the test again. Maybe there is a bug or something else is needed to do in the 64 bits distribution.

Last edited by NANNOB1; 05-03-2011 at 09:54 AM.
 
  


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
tcp_probe doesn't work - need help Frank85 Linux - Networking 6 02-16-2010 01:50 AM
tcp_probe is not working vamsiguturu Linux - Networking 1 01-20-2010 08:11 AM
cacti, mrtg, and snmpwalk don't work after computer reboot cannot collect snmp data scheidel21 Linux - Networking 2 08-03-2009 07:15 AM
Website won't collect data from mysql db Malcome_thompson Programming 1 05-26-2008 11:03 PM
Collect data from remote machines kdrlx Linux - Software 5 05-08-2008 11:23 PM

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

All times are GMT -5. The time now is 10:40 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