From owner-freebsd-net@FreeBSD.ORG Fri Jun 18 06:43:25 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 58E4816A4CE; Fri, 18 Jun 2004 06:43:25 +0000 (GMT) Received: from park.rambler.ru (park.rambler.ru [81.19.64.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9192543D46; Fri, 18 Jun 2004 06:43:24 +0000 (GMT) (envelope-from is@rambler-co.ru) Received: from is.park.rambler.ru (is.park.rambler.ru [81.19.64.102]) by park.rambler.ru (8.12.6/8.12.6) with ESMTP id i5I6g3gU095621; Fri, 18 Jun 2004 10:42:03 +0400 (MSD) (envelope-from is@rambler-co.ru) Date: Fri, 18 Jun 2004 10:43:37 +0400 (MSD) From: Igor Sysoev X-X-Sender: is@is.park.rambler.ru To: Mike Silbersack In-Reply-To: <20040618012806.H72823@odysseus.silby.com> Message-ID: <20040618103517.L81288@is.park.rambler.ru> References: <20040618094356.O22477@is.park.rambler.ru> <20040618062418.GU61448@elvis.mu.org> <20040618012806.H72823@odysseus.silby.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-net@freebsd.org cc: Alfred Perlstein cc: Max Khon Subject: Re: "netstat -m" and sendfile(2) statistics in STABLE X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jun 2004 06:43:25 -0000 On Fri, 18 Jun 2004, Mike Silbersack wrote: > On Thu, 17 Jun 2004, Alfred Perlstein wrote: > > > I was going to suggest vmstat now that sfbufs are used for so many > > other things than just "sendfile bufs". > > > > -- > > - Alfred Perlstein > > How about if we do this: > > 5.x: List sfbufs both in vmstat _and_ in netstat -m, as their status is > relevant to both network and general memory usage. > > 4.x: MFC the vmstat implementation. > > This would preserve 4.x's behavior, but allow 5.x users (who have a new > netstat -m output format anyway) to see sfbuf information without invocing > multiple utilities. In 4.x sfbufs are network buffers only and I think it's handy to see the network buffer statistics in one place. I prefer to see netstat -ms or netstat -m. And nothing against additional the vmstat implementation. Igor Sysoev http://sysoev.ru/en/