Re: mbuf tuning on 9.1

2013-03-12 Thread Ryan Stone
On Tue, Mar 12, 2013 at 5:31 PM, Boris Kochergin wrote: > Additionally, can someone clarify the meaning of "total" vs. "max" for > these values? > > -Boris > It measures the amount of memory being used as that type of data structure. This is the total of the number of allocated items (current)

Re: mbuf tuning on 9.1

2013-03-12 Thread Boris Kochergin
Additionally, can someone clarify the meaning of "total" vs. "max" for these values? -Boris On 03/12/13 17:23, Paul A. Procacci wrote: >> How can I increase "mbufs," as they appear above, and "mbuf clusters," >> as they appear above? > You can modify the sysctl's associated with mbufs to suit you

Re: mbuf tuning on 9.1

2013-03-12 Thread Paul A. Procacci
> How can I increase "mbufs," as they appear above, and "mbuf clusters," > as they appear above? You can modify the sysctl's associated with mbufs to suit your needs. https://wiki.freebsd.org/NetworkPerformanceTuning The following link describes what mbufs are and sysctl's governing their operat

mbuf tuning on 9.1

2013-03-12 Thread Boris Kochergin
Hi. I have a FreeBSD 9.1/amd64 machine. It runs HAProxy and runs out of various things frequently. Sometimes it's mbufs. netstat -m: 68202/1698/69900 mbufs in use (current/cache/total) 41449/1229/42678/2622144 mbuf clusters in use (current/cache/total/max) 41449/1175 mbuf+clusters out of packet