From owner-freebsd-performance@FreeBSD.ORG Fri Dec 26 02:49:06 2003 Return-Path: Delivered-To: freebsd-performance@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 626D316A4CE for ; Fri, 26 Dec 2003 02:49:06 -0800 (PST) Received: from hotmail.com (bay9-f25.bay9.hotmail.com [64.4.47.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id 658B543D48 for ; Fri, 26 Dec 2003 02:49:05 -0800 (PST) (envelope-from ganacharya_tanmay@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Fri, 26 Dec 2003 02:49:05 -0800 Received: from 66.229.166.54 by by9fd.bay9.hotmail.msn.com with HTTP; Fri, 26 Dec 2003 10:49:05 GMT X-Originating-IP: [66.229.166.54] X-Originating-Email: [ganacharya_tanmay@hotmail.com] X-Sender: ganacharya_tanmay@hotmail.com From: "Tanmay Ganacharya" To: freebsd-performance@freebsd.org Date: Fri, 26 Dec 2003 16:19:05 +0530 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 26 Dec 2003 10:49:05.0338 (UTC) FILETIME=[E1B279A0:01C3CB9D] Subject: Recording RTT and RTO values X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Dec 2003 10:49:06 -0000 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) -> 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) -> 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! From owner-freebsd-performance@FreeBSD.ORG Sat Dec 27 14:50:26 2003 Return-Path: Delivered-To: freebsd-performance@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4298716A4CE; Sat, 27 Dec 2003 14:50:26 -0800 (PST) Received: from hotmail.com (bay9-f42.bay9.hotmail.com [64.4.47.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 87E8B43D48; Sat, 27 Dec 2003 14:50:25 -0800 (PST) (envelope-from ganacharya_tanmay@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sat, 27 Dec 2003 14:50:25 -0800 Received: from 66.229.166.54 by by9fd.bay9.hotmail.msn.com with HTTP; Sat, 27 Dec 2003 22:50:25 GMT X-Originating-IP: [66.229.166.54] X-Originating-Email: [ganacharya_tanmay@hotmail.com] X-Sender: ganacharya_tanmay@hotmail.com From: "Tanmay Ganacharya" To: freebsd-current@freebsd.org, freebsd-multimedia@freebsd.org, freebsd-performance@freebsd.org Date: Sun, 28 Dec 2003 04:20:25 +0530 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 27 Dec 2003 22:50:25.0444 (UTC) FILETIME=[D1104E40:01C3CCCB] Subject: Finding RTT's and RTO's X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Dec 2003 22:50:26 -0000 Hello, I am currently using FreeBSD 4.8. I am want to record RTT and RTO values of a tcp connection. Could anyone please tell me which variables in which files hold the current RTT and RTO values. Once known I can put printfs and print these values. Thanks in advance, Regards, Tanmay Ganacharya _________________________________________________________________ Send DD, pay no commission. http://server1.msn.co.in/msnleads/suvidha/dec03.asp?type=hottag Click here.