From owner-freebsd-questions Mon Apr 20 20:48:27 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA13813 for freebsd-questions-outgoing; Mon, 20 Apr 1998 20:48:27 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from granite.sentex.net (granite.sentex.ca [199.212.134.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA13798 for ; Tue, 21 Apr 1998 03:48:05 GMT (envelope-from mike@sentex.net) Received: from ospf-mdt.sentex.net (ospf-mdt.sentex.net [205.211.164.81]) by granite.sentex.net (8.8.6/8.6.9) with SMTP id XAA08038; Mon, 20 Apr 1998 23:46:25 -0400 (EDT) From: mike@sentex.net (Mike Tancsa) To: dwhite@resnet.uoregon.edu (Doug White) Cc: questions@FreeBSD.ORG Subject: Re: routers, kernel parameters and bizarro netstat -m output Date: Tue, 21 Apr 1998 03:35:41 GMT Message-ID: <353c1249.701774848@mail.sentex.net> References: In-Reply-To: X-Mailer: Forte Agent .99e/32.227 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, 19 Apr 1998 22:07:37 -0700 (PDT), in sentex.lists.freebsd.questions you wrote: >If you're handling lots of TCP connections (which routers generally >don't), then you want to use some options to increase the number of mbufs. >But I don't think you need to for a router. Yes, I imagine blatting packets around from interface to interface shouldnt require too many TCP connections to the machine at all. >> The machine I am readying gives some numbers at initial bootup that are a >> little confusing. Why for example would a machine that has yet to do >> anything really, come up with value like this >> >> temp-iolite# netstat -m >> 199 mbufs in use: >> 194 mbufs allocated to data >> 1 mbufs allocated to packet headers >> 3 mbufs allocated to protocol control blocks >> 1 mbufs allocated to socket names and addresses >> 192/206 mbuf clusters in use > ^^^^^^^ However I am a little worried that I cant seem to get the amount of mbufs in use to available at such a close ratio. Should not there be way more free ? I thought these values had hard limits and do not grow ? % netstat -m 199 mbufs in use: 194 mbufs allocated to data 1 mbufs allocated to packet headers 3 mbufs allocated to protocol control blocks 1 mbufs allocated to socket names and addresses 192/194 mbuf clusters in use 412 Kbytes allocated to network (99% in use) 0 requests for memory denied 0 requests for memory delayed 0 calls to protocol drain routines Is what I get at initial bootup with MAXUSERS set to 128.... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message