ZFS and Wired memory, again

Darren Pilgrim list_freebsd at bluerosetech.com
Fri Feb 28 20:30:18 UTC 2014


On 2/28/2014 11:48 AM, Anton Sayetsky wrote:
> And again - read _carefully_. System with 3G RAM is only test system
> with single disk.

Sorry for Adam and Mark not reading and completely missing the point.

You can use the -m and -z flags to vmstat to get a listing of the 
various things using memory.  A comparison between the "just booted" 
listing and one after wired memory has grown to hundreds of MB more than 
ARC may help indicate what's using memory.  FWIW, on a production 
mailbox server with 32 GiB of memory and 8 TB of mirrored disk:

Mem: 30M Active, 265M Inact, 22G Wired, 2032K Cache, 9366M Free
ARC: 20G Total, 5081M MFU, 15G MRU, 1554K Anon, 260M Header, 577M Other

IIRC, wired memory is just kernel pages and there is quite a bit of 
other stuff using kernel memory in the modern FreeBSD.  A few GB of 
kernel memory plus ARC is normal on a modern system with lots of memory.


More information about the freebsd-fs mailing list