Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Jun 2012 22:44:12 +0200 (CEST)
From:      Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl>
To:        Ian Lepore <freebsd@damnhippie.dyndns.org>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: wired memory - again!
Message-ID:  <alpine.BSF.2.00.1206092239490.9248@wojtek.tensor.gdynia.pl>
In-Reply-To: <1339259223.36051.328.camel@revolution.hippie.lan>
References:  <alpine.BSF.2.00.1206090920030.84632@wojtek.tensor.gdynia.pl> <1339259223.36051.328.camel@revolution.hippie.lan>

next in thread | previous in thread | raw e-mail | index | archive | help
> The kernel auto-tunes the vfs buffer space using the formula "for the
> first 64 MB of ram use 1/4 for buffers, plus 1/10 of the ram over 64

i always limit it by
kern.maxbcache=20000000

on 1GB RAM machine with lots of I/O but actually with default MAXBSIZE and 
little I/O you can use safely 1MB

It DOES NOT limit how much files are cached.

But still - in spite of that i have a lot of wired memory.

still it is bad nobody answered how to pin down "wired" memory use.

instead of experimenting i would like rather to understand what is what.



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