Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 May 2001 15:57:19 -0400 
From:      David Costa <dcosta@gothamnetworks.com>
To:        "'freebsd-questions@freebsd.org'" <freebsd-questions@freebsd.org>
Subject:   netstat -m indicates high percentage usage by network
Message-ID:  <A513B87D06E2D211906000508B951240133ABA@mail1.gothamnetworks.com>

next in thread | raw e-mail | index | archive | help

Hello to the list,

I am running a freeBSD 4.0 system with 128 MB of RAM, an Adaptec AN-62044
Quad Ethernet card, and A Fore PCA-200e ATM card running the Fore driver.
I have rebuilt the kernel and increased the maxusers parameter from 32 to
64, and yet the netstat -m output always indicates high usage by the network
(Please see the output of the netstat -m command below).

Increasing total RAM to 256 MB, or adjusting the maxusers or nmsclusters
parameters doesn't seem to affect this percentage usage.

I still have problems with mbufs not being available at times when the
system is under heavy load.

Can anyone advise me if there are any tuning parameters to allow more memoty
usage for the network?

Any and all help is greatly appreciated!

David Costa

bsd5:~# netstat -m
914/1152/6144 mbufs in use (current/peak/max):
        906 mbufs allocated to data
        8 mbufs allocated to packet headers
887/918/1536 mbuf clusters in use (current/peak/max)
1980 Kbytes allocated to network (95% in use)
0 requests for memory denied
0 requests for memory delayed
0 calls to protocol drain routines

bsd5:~# ifconfig -a
sf0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 192.168.3.5 netmask 0xffffff00 broadcast 192.168.3.255
        ether 00:00:d1:ed:74:41
        media: autoselect (100baseTX) status: active
        supported media: autoselect 100baseTX <full-duplex> 100baseTX
10baseT/UT
P <full-duplex> 10baseT/UTP none
sf1: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        ether 00:00:d1:ed:74:42
        media: autoselect (none) status: no carrier
        supported media: autoselect 100baseTX <full-duplex> 100baseTX
10baseT/UT
P <full-duplex> 10baseT/UTP none
sf2: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 30.140.1.5 netmask 0xffff0000 broadcast 30.140.255.255
        ether 00:00:d1:ed:74:43
        media: autoselect (100baseTX <full-duplex>) status: active
        supported media: autoselect 100baseTX <full-duplex> 100baseTX
10baseT/UT
P <full-duplex> 10baseT/UTP none
sf3: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 138.100.1.5 netmask 0xffff0000 broadcast 138.100.255.255
        ether 00:00:d1:ed:74:44
        media: autoselect (100baseTX <full-duplex>) status: active
        supported media: autoselect 100baseTX <full-duplex> 100baseTX
10baseT/UT
P <full-duplex> 10baseT/UTP none
lp0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 552
ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet 127.0.0.1 netmask 0xff000000
ni0: flags=43<UP,BROADCAST,RUNNING> mtu 9180
        inet 192.168.220.1 netmask 0xffffff00 broadcast 192.168.220.255
        ether 00:20:48:64:5b:e4

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A513B87D06E2D211906000508B951240133ABA>