Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Trying to understand mbuf-related sysctl parameters

I'm trying to tune my main amd64 system, which is router, firewall, NFS
server and mail server for my home network, and needs a lot more mbufs
than the default configuration allows.  Oh, and it's also a database
server, and an OpenVPN connection point for three clients.  And it runs
the MooseFS distributed file system.  Hey, it has 8GiB of RAM!  :)

At the moment, I'm seeing quite reasonable behavior with this:


However, I can't find anything that really tells me what the
relationship between the first five of these is.  Does it make sense to
have sbmax greater than the sum of sendbuf_max and recvbuf_max?  Should
somaxkva rather be nmbclusters * mclbytes (536870912, or four times what
it is now)?

Any pointers to good reading material would be appreciated, too!

It doesn't matter how beautiful your theory is, it doesn't matter how smart
you are. If it doesn't agree with experiment, it's wrong.  -Richard Feynman

Home | Main Index | Thread Index | Old Index