maxvnodes

vnodeの不足でvlruwk stateになることがあった。

systat -vmstat

number of vnodes actually allocated (`numvn'),
and number of allocated vnodes that are free (`frevn').

https://www.freebsd.org/cgi/man.cgi?query=systat

Suddenly slow lstat syscalls on CURRENT from Juli

https://www.freebsd.org/doc/en/books/handbook/configtuning-kernel-limits.html

To increase performance, you may increase kern.maxvnodes (in /etc/sysctl.conf) way up if you have the RAM for it (e.g. 400000 for a 2GB system).

ZFSTuningGuide - FreeBSD Wiki

# Every socket is a file, so increase them
kern.maxfiles=204800
kern.maxfilesperproc=200000
kern.maxvnodes=200000

http://serverfault.com/questions/64356/freebsd-performance-tuning-sysctl-parameter-loader-conf-kernel

512GB

kern.maxvnodes: 8222162

freebsd-performance - vm.kmem_size_max and vm.kmem_size capped at 329853485875 (~307GB)

nagios監視

http://exchange.nagios.org/directory/Plugins/Operating-Systems/Linux/check_sysctl/details

その他、参考

https://www.stalker.com/CommuniGatePro/Scalability.html
how big can kern.maxvnodes get?

https://www.ixsystems.com/community/threads/lost-access-to-freenas-when-transfer-large-files.4730/