Recording RTT and RTO values

From: Tanmay Ganacharya (ganacharya_tanmay_at_hotmail.com)
Date: 12/26/03

  • Next message: Tanmay Ganacharya: "Finding RTT's and RTO's"
    To: freebsd-performance@freebsd.org
    Date: Fri, 26 Dec 2003 16:19:05 +0530
    
    

    Hello,

    I am a student from the University of Southern California. I am currently
    pursuing my master.
    I am working on a project in which I need to record the RTT and RTO values
    of a TCP connection.
    To achieve the same I first re-compiled my kernel to support debug mode.
    I then used a simple client server socket program to transfer a file. The
    sockets had the debug option set.
    Thus the kernel logs were then collected using the trpt command.
    But the problem is I am not able to figure out the required RTT and RTO
    values from the log.

    The log looks somewhat like the following
    762 ESTABLISHED:input (src=128.8.126.6,32858,
    dst=204.57.0.2,1666)f5ac168b@5269bce1(win=f8e0)<ACK> -> ESTABLISHED
    rcv_nxt f5ac168b rcv_wnd e240 snd_una 5269bce1 snd_nxt 5269d381 snd_max
    5269d381
    snd_wl1 f5ac168b snd_wl2 5269bce1 snd_wnd f8e0

    762 ESTABLISHED:output (src=204.57.0.2,1666,
    dst=128.8.126.6,32858)[5269d381..5269d36d)@f5ac168b(win=e240)<ACK> ->
    ESTABLISHED
    rcv_nxt f5ac168b rcv_wnd e240 snd_una 5269bce1 snd_nxt 5269d929 snd_max
    5269d929
    snd_wl1 f5ac168b snd_wl2 5269bce1 snd_wnd f8e0

    I am really not able to understand which are the RTT and RTO values in
    these.
    Please if anyone knows do let me know. It would really be useful.
    Also if anyone knows any other methods of recording the RTT and RTO values
    of a connection
    please do let me know abt it.
    I would really be grateful.

    Thanking you,

    Yours truly,
    Tanmay Ganacharya

    _________________________________________________________________
    Murphy's Laws. They are crazy and funny.
    http://server1.msn.co.in/features/murphy/index.asp Buy the complete book
    online now!

    _______________________________________________
    freebsd-performance@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-performance
    To unsubscribe, send any mail to "freebsd-performance-unsubscribe@freebsd.org"


  • Next message: Tanmay Ganacharya: "Finding RTT's and RTO's"

    Relevant Pages

    • Recording RTT and RTO values
      ... To achieve the same I first re-compiled my kernel to support debug mode. ... I then used a simple client server socket program to transfer a file. ... But the problem is I am not able to figure out the required RTT and RTO ...
      (freebsd-current)
    • Re: Recording RTT and RTO values
      ... > To achieve the same I first re-compiled my kernel to support debug mode. ... > But the problem is I am not able to figure out the required RTT and RTO ...
      (freebsd-current)
    • Re: Recording RTT and RTO values
      ... >> of a TCP connection. ... >> But the problem is I am not able to figure out the required RTT and RTO ... The tcp_hostcache in -current is recording these values. ...
      (freebsd-current)
    • Re: Recording RTT and RTO values
      ... > To achieve the same I first re-compiled my kernel to support debug mode. ... > But the problem is I am not able to figure out the required RTT and RTO ...
      (freebsd-net)
    • Re: Recording RTT and RTO values
      ... >> of a TCP connection. ... >> But the problem is I am not able to figure out the required RTT and RTO ... The tcp_hostcache in -current is recording these values. ...
      (freebsd-net)