Re: mbuf autotuning changes

2013-09-06 Thread hiren panchasara
On Fri, Sep 6, 2013 at 12:14 PM, Alfred Perlstein wrote: > On 9/6/13 12:10 PM, hiren panchasara wrote: > >> tunable_mbinit() in kern_mbuf.c looks like this: >> >> 119 /* >> 120 * The default limit for all mbuf related memory is 1/2 of all >> 121 * available kernel memory

Re: mbuf autotuning changes

2013-09-06 Thread Alfred Perlstein
On 9/6/13 12:36 PM, hiren panchasara wrote: On Fri, Sep 6, 2013 at 12:14 PM, Alfred Perlstein wrote: On 9/6/13 12:10 PM, hiren panchasara wrote: tunable_mbinit() in kern_mbuf.c looks like this: 119 /* 120 * The default limit for all mbuf related memory is 1/2 of all 121

Re: mbuf autotuning changes

2013-09-06 Thread Alfred Perlstein
On 9/6/13 12:10 PM, hiren panchasara wrote: tunable_mbinit() in kern_mbuf.c looks like this: 119 /* 120 * The default limit for all mbuf related memory is 1/2 of all 121 * available kernel memory (physical or kmem). 122 * At most it can be 3/4 of available kern

Re: mbuf autotuning changes

2013-09-06 Thread Navdeep Parhar
On 09/06/13 12:10, hiren panchasara wrote: > tunable_mbinit() in kern_mbuf.c looks like this: > > 119 /* > 120 * The default limit for all mbuf related memory is 1/2 of all > 121 * available kernel memory (physical or kmem). > 122 * At most it can be 3/4 of avail

mbuf autotuning changes

2013-09-06 Thread hiren panchasara
tunable_mbinit() in kern_mbuf.c looks like this: 119 /* 120 * The default limit for all mbuf related memory is 1/2 of all 121 * available kernel memory (physical or kmem). 122 * At most it can be 3/4 of available kernel memory. 123 */ 124 realmem

Re: mbuf autotuning changes

2013-09-06 Thread hiren panchasara
On Fri, Sep 6, 2013 at 12:38 PM, Alfred Perlstein wrote: > On 9/6/13 12:36 PM, hiren panchasara wrote: > >> On Fri, Sep 6, 2013 at 12:14 PM, Alfred Perlstein wrote: >> >> On 9/6/13 12:10 PM, hiren panchasara wrote: >>> >>> tunable_mbinit() in kern_mbuf.c looks like this: 119 /

Re: re0 not working at boot on -CURRENT

2013-09-06 Thread Guido Falsi
On 09/06/13 08:15, Yonghyeon PYUN wrote: On Wed, Jul 10, 2013 at 07:47:01PM +0200, Guido Falsi wrote: On 07/10/13 09:04, Yonghyeon PYUN wrote: On Tue, Jul 09, 2013 at 10:28:29PM +0200, Guido Falsi wrote: Hi, I have a PC with an integrate re ethernet interface, pciconf identifies it like this:

mbuf autotuning effect

2013-09-06 Thread hiren panchasara
We are seeing an interesting thing on a mips board with 32MB ram. We run out of mbuf very easily and looking at numbers it seems we are only getting 6mb of maxmbufmem. # sysctl -a | grep hw | grep mem hw.physmem: 33554432 hw.usermem: 21774336 hw.realmem: 33554432 # # sysctl -a | grep maxmbuf

Re: mbuf autotuning effect

2013-09-06 Thread Adrian Chadd
Yeah, why is VM_KMEM_SIZE only 12mbyte for MIPS? That's a little low for a platform that has a direct map that's slightly larger than 12mb :) Warner? Juli? -adrian On 6 September 2013 16:36, hiren panchasara wrote: > We are seeing an interesting thing on a mips board with 32MB ram. > > We ru

Re: mbuf autotuning effect

2013-09-06 Thread Warner Losh
On Sep 6, 2013, at 7:11 PM, Adrian Chadd wrote: > Yeah, why is VM_KMEM_SIZE only 12mbyte for MIPS? That's a little low for a > platform that has a direct map that's slightly larger than 12mb :) > > Warner? Juli? All architectures have it at 12MB, except sparc64 where it is 16MB. This can be ch