Chinaunix

标题: mbuf的问题! [打印本页]

作者: wxw2004gl    时间: 2006-07-03 10:08
标题: mbuf的问题!
我使用FB6.1 Release版本,在sysctl.conf中修改kern.ipc.nmbclusters=65535
使用命令查看也没有问题

root@nat[~]#sysctl kern.ipc.nmbclusters
kern.ipc.nmbclusters: 65535


可是使用netstat -m看就有问题!mbuf好像没有变,不知道怎么回事?

root@nat[~]#netstat -m
517/25478/25995 mbufs in use (current/cache/total)
515/25085/25600/25600 mbuf clusters in use (current/cache/total/max)
515/25085 mbuf+clusters out of packet secondary zone in use (current/cache)
0/0/0/0 4k (page size) jumbo clusters in use (current/cache/total/max)
0/0/0/0 9k jumbo clusters in use (current/cache/total/max)
0/0/0/0 16k jumbo clusters in use (current/cache/total/max)
1159K/56539K/57698K bytes allocated to network (current/cache/total)
0/1990827947/10043 requests for mbufs denied (mbufs/clusters/mbuf+clusters)
0/0/0 requests for jumbo clusters denied (4k/9k/16k)
0/4/65535 sfbufs in use (current/peak/max)
0 requests for sfbufs denied
0 requests for sfbufs delayed
0 requests for I/O initiated by sendfile
0 calls to protocol drain routines
作者: mirnshi    时间: 2006-07-03 11:54
nmbclusters, 是根据你的内存量,在系统初始化时设定的,启动后就不可以更改了。要想更改必须在loader.conf中设定
作者: antijp    时间: 2006-07-03 15:43
http://www.freebsdchina.org/foru ... 7392a0e52e1c204850e




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2