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

Re: mbuf tuning

2004-01-20 Thread Mike Silbersack
On Mon, 19 Jan 2004, CHOI Junho wrote: > I am using custom version of thttpd. It allocates mmap() first(builtin > method of thttpd), and it try to use sendfile() if mmap() fails(out of > mmap memory). It really works good in normal status but the problem is > that sendfile buffer is also easy to

Re: mbuf tuning

2004-01-19 Thread Igor Sysoev
On Mon, 19 Jan 2004, CHOI Junho wrote: > From: Mike Silbersack <[EMAIL PROTECTED]> > Subject: Re: mbuf tuning > Date: Mon, 19 Jan 2004 01:12:08 -0600 (CST) > > > There are no good guidelines other than "don't set it too high." Andre > > and I hav

Re: mbuf tuning

2004-01-19 Thread Maxim Konovalov
On Mon, 19 Jan 2004, 19:22+0900, CHOI Junho wrote: > From: Mike Silbersack <[EMAIL PROTECTED]> > Subject: Re: mbuf tuning > Date: Mon, 19 Jan 2004 01:12:08 -0600 (CST) > > > There are no good guidelines other than "don't set it too high." Andre > >

Re: mbuf tuning

2004-01-19 Thread CHOI Junho
From: Mike Silbersack <[EMAIL PROTECTED]> Subject: Re: mbuf tuning Date: Mon, 19 Jan 2004 01:12:08 -0600 (CST) > There are no good guidelines other than "don't set it too high." Andre > and I have talked about some ideas on how to make mbuf usage more dynamic, > I

Re: mbuf tuning

2004-01-19 Thread Mike Silbersack
On Mon, 19 Jan 2004, CHOI Junho wrote: > Hi, > > What is general guidelines of mbuf cluster tunables? I usually use There are no good guidelines other than "don't set it too high." Andre and I have talked about some ideas on how to make mbuf usage more dynamic, I think that he has something in

mbuf tuning

2004-01-18 Thread CHOI Junho
Hi, What is general guidelines of mbuf cluster tunables? I usually use kern.ipc.nmbclusters="65536" in /boot/loader.conf.local. But it has limits on concurrent TCP sessions, under my /etc/sysctl.conf configuration: net.inet.tcp.sendspace=65536 net.inet.tcp.recvspace=65536 With above parameter