Subject: Re: problem with mbufs
To: None <muc-lists-netbsd-tech-kern@moderators.muc.de>
From: Matthias Winter <ernesto_tequila@uni.de>
List: tech-kern
Date: 02/06/2002 23:31:49
hi

> If it's still not enough, keep raising NMBCLUSTERS - 4096 or 8192
> are still fairly sane values, 2048 is quite low for busy
> network router.

> Yeah, this is the symptom of mbuf shortage.
>
> > After reading through the articles oon netbsd.org I came to the opinion
that
> > the reason for this can be found at the kern.mbuf.msize
> > sysctl kern.mbuf.msize is 256 at the moment.. but how can i change this?
> > sysctl -w kern.mbuf.msize=512 ---> operation not permitted (does not
work on
> > all architectures?)
>
> You don't need to change the msize.
>
> > Can anyone tell me how to change this kernel option without compiling a
new
> > kernel? i have some probs with my hardware which make sbuilding a new
kernel
> > impossible for me at the moment!
>
> You can change the value for compiled kernel using gdb:
>
> > gdb --write /yourkernel
> (gdb) set nmbclusters 4096
> (gdb) quit
>
> reboot and that's it :)
>
> Jaromir
> --

i will try ;)

thanks matthias