Re: tcptrace How to Plot the Overall Averages ONLY for TPG and CWIN?

From: Manikantan Ramadas (mramadas@masaka.cs.ohiou.edu)
Date: 03/28/05


Date: Mon, 28 Mar 2005 10:37:42 -0500
From: Manikantan Ramadas <mramadas@masaka.cs.ohiou.edu>
Subject: Re: tcptrace How to Plot the Overall Averages ONLY for TPG and CWIN?
Message-ID: <20050328153742.GB25930@masaka.cs.ohiou.edu>


Hi!

  My apologies on the turn-around time.
  
  Well, there is no command line option that would turn off those
red lines in the throughput and outstanding window graphs for you. But I
guess this can be trivially done if you want it.
For example, throughput graphs are drawn from the DoThru function in
thruput.c. Just commenting out the following line from the function
(line 125 or thereabouts)

extend_line(ptcb->thru_inst_line,
                     current_time, (int) thruput);

could do the trick for you.

- Mani.

On Wed, Feb 23, 2005 at 10:48:08AM -0800, Ruhai Wang wrote:
> Hi Shawn and Everyone:
>
> I realize that there are too many red lines appeared
> in both CWIN and TPG graphs, especially if more than
> one graphs are combined. But I want to plot ONLY the
> BLUE lines (averages for the whole file transmissions)
> for the TPG and CWIN graphs. In other words, I just
> want to plot the overall averages for both throughput
> and outstanding data? Could you advise how to do this?
>
> R. H. Wang
>
> --- Shawn Ostermann <sdo@picard.cs.ohiou.edu> wrote:
>
> >
> > Vaishnavi Sannidhanam <vaishu@cs.washington.edu>
> > wrote:
> >
> > > I am plotting time sequence graphs of a tcp dump
> > file. I am not quite sure
> > > as to what the green line gives....The user manual
> > says that "Green Line
> > > keeps track of the ACK values received from the
> > other endpoint". If I look
> > > at the graph I am getting, it appears as if, the
> > other end point keeps on
> > > sending out a bunch of acks for a single seq no. I
> > am attaching that file
> > > along with this mail. Please let me know if this
> > is what it is saying.
> > >
> > > Also I was wondering what are a2b files and b2a
> > files if I do a tcpdump just
> > > on the receiver?
> >
> > I'll answer the 2nd question first. TCP provides a
> > duplex protocol and
> > can be used for sending data in both directions.
> > Because the mechanisms
> > that control the reliability and flow of data in
> > those directions are
> > largely separate, for a connection between 'a' and
> > 'b', tcptrace gives
> > information about the flow of data from a->b (in
> > a2b) and b->a (in b2a).
> >
> > There isn't enough information about the connection
> > in the graph that
> > you sent to know much about the transfer that you're
> > trying to
> > understand. The green line is indeed the
> > acknowledgment line. That's
> > the receiver's way of say "yes, I got all of the
> > data up through
> > sequence X". Because I'm seeing quite a few ACKs
> > for the same sequence
> > number, I assume that you're looking at half of a
> > duplex conversation
> > where most of the data is flowing in the OTHER
> > direction. TCP includes
> > an ACK in every segment (except the first) whether
> > it's useful or not,
> > so I would guess that most of those ACKs (the ticks
> > on the green line)
> > are being carried along with DATA from the other
> > side. Occasionally,
> > the side that you're looking at sends a little data
> > too (since the green
> > line is moving up).
> >
> > I hope that helps!
> >
> > Shawn
> >
> > --
> >
> -------------------------------------------------------------------------------
> > Dr. Shawn Ostermann - EECS Department Chair
> > - Ohio University
> > 330 Stocker Center, Ohio University, Athens, Ohio
> > 45701-2979
> > ostermann@eecs.ohiou.edu -- FAX: (740)593-0007
> > -- Voice: (740)593-1566
> > http://www.eecs.ohiou.edu/faculty/ostermann.html
> > http://www.eecs.ohiou.edu
> >
> >
> >
> >
> >
> >
> >
> >
>
> > ATTACHMENT part 2 application/pgp-signature
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
> ----------------------------------------------------------------------------
> To unsubscribe, send a message with body containing "unsubscribe tcptrace" to
> majordomo@tcptrace.org.

-- 
"'Beauty is truth, truth beauty,'--that is all
  Ye know on earth, and all ye need to know." - John Keats
____________________________________________________________________
  
* Manikantan Ramadas * IRG, OU * http://irg.cs.ohiou.edu/~mramadas *
____________________________________________________________________

----------------------------------------------------------------------------
To unsubscribe, send a message with body containing "unsubscribe tcptrace" to
majordomo@tcptrace.org.




This archive was generated by hypermail 2.1.7 : 03/28/05 EST