]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
For 32-bit machines rollback the default number of vnode pager pbufs
authorGleb Smirnoff <glebius@FreeBSD.org>
Fri, 15 Feb 2019 23:36:22 +0000 (23:36 +0000)
committerGleb Smirnoff <glebius@FreeBSD.org>
Fri, 15 Feb 2019 23:36:22 +0000 (23:36 +0000)
commit66fb0b1ad7b9342699e890d311f36742a15660f7
tree909fcfd7d4102547c682594bc805132d0d41f99c
parent3c324b9465710947abef23044cdcd8bfce8d982d
For 32-bit machines  rollback the default number of vnode pager pbufs
back to the lever before r343030.  For 64-bit machines reduce it slightly,
too.  Together with r343030 I bumped the limit up to the value we use at
Netflix to serve 100 Gbit/s of sendfile traffic, and it probably isn't a
good default.

Provide a loader tunable to change vnode pager pbufs count. Document it.
lib/libc/sys/sendfile.2
sys/vm/vnode_pager.c