From owner-freebsd-hackers@FreeBSD.ORG Thu Dec 1 13:59:27 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C934616A45D for ; Thu, 1 Dec 2005 13:59:27 +0000 (GMT) (envelope-from vladgalu@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 63BAB43D46 for ; Thu, 1 Dec 2005 13:59:27 +0000 (GMT) (envelope-from vladgalu@gmail.com) Received: by zproxy.gmail.com with SMTP id 9so31249nzo for ; Thu, 01 Dec 2005 05:59:26 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=lBIIwjzWLOatcbB3zFloekEL3tKZMG4qGesBGogEhrc+dNyh3r+ACKbEaM3kw2AEQM4gRNoxWFDTwbjLd1xnRxWDDwzwFHNrIQ1l3NhtHIOzObt8VGdX2yUOFqYge+XiTyQQS88GpVLoRxVV74pPnha9x/TINwoLR4yY37E6rGY= Received: by 10.37.18.31 with SMTP id v31mr1456513nzi; Thu, 01 Dec 2005 05:59:26 -0800 (PST) Received: by 10.36.86.11 with HTTP; Thu, 1 Dec 2005 05:59:26 -0800 (PST) Message-ID: <79722fad0512010559n29e957f5j47c99586ebbd3a0f@mail.gmail.com> Date: Thu, 1 Dec 2005 15:59:26 +0200 From: Vlad GALU To: freebsd-hackers@freebsd.org In-Reply-To: <438F00D8.4040302@spintech.ro> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <438F00D8.4040302@spintech.ro> Subject: Re: cwnd and sstresh monitor X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Dec 2005 13:59:28 -0000 On 12/1/05, Alin-Adrian Anton wrote: > Dear Hackers, > > I would like to monitor the changes of cwnd and sstresh values du= ring > TCP traffic, in order to plot graphs and interpret congestion. > > So I need (cwnd, timestamp) and (sstresh, timestamp) records to b= e > taken everytime one of the two variables is modified. > > I'd like to ask you for suggestions, which would be the best apro= ach > (kernel patch, kernel module, etc?), and how would this be done best? > (the interception of values, the storage of snapshots, etc)? > Does exporting them via sysctl, and graph them using anything (rrdtool) sound reasonable ? -- If it's there, and you can see it, it's real. If it's not there, and you can see it, it's virtual. If it's there, and you can't see it, it's transparent. If it's not there, and you can't see it, you erased it.