Date: Sat, 7 Sep 2013 12:30:06 -0700 From: Adrian Chadd <adrian@freebsd.org> To: hiren panchasara <hiren.panchasara@gmail.com> Cc: FreeBSD Net <freebsd-net@freebsd.org>, "freebsd-mips@freebsd.org" <freebsd-mips@freebsd.org>, Warner Losh <imp@bsdimp.com> Subject: Re: mbuf autotuning effect Message-ID: <CAJ-Vmomde8DEUzeAdg=e=zV%2B%2B2=N3EOx8F=JB8Ktj4y9upCRCA@mail.gmail.com> In-Reply-To: <CALCpEUHh9o-scuoj_p-MGMZKn2d_Bbhtf8djV8MsLeOF8%2BKG9A@mail.gmail.com> References: <CALCpEUHoAS2RRyO7JVOeSKWKiss9vZmN%2BxA1BDpwHDpkEYcjEA@mail.gmail.com> <CAJ-VmomAjsU%2Bnc=4AEdSn5gDhspc2YVrDtPophJvmee1kSTYog@mail.gmail.com> <9CBFAD35-D651-4E28-BEBB-DC3717F38567@bsdimp.com> <CALCpEUHh9o-scuoj_p-MGMZKn2d_Bbhtf8djV8MsLeOF8%2BKG9A@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 7 September 2013 12:21, hiren panchasara <hiren.panchasara@gmail.com>wrote: > > On Sep 6, 2013 8:26 PM, "Warner Losh" <imp@bsdimp.com> wrote: > > > > > > 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 changed with the options VM_KMEM_SIZE=xxxxx in the config file. > > Right. Does that mean for any platform, if we do not have nmbclusters > pre-set in kmeminit() than we will always have pretty low value of > vm_kmem_size. And because of that, if maxmbufmem is not pre-set (via > loader.conf) inside tunable_mbinit() , we will have very low value for > maxmbufmem too. > > I hope (partially believe) that my understanding is not entirely correct. > Because if its correct, we arw depending on loader.conf instead of actually > auto tuning. > > Thanks, > Hiren > > .. so how's this work on i386? ARM? -adrian
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-Vmomde8DEUzeAdg=e=zV%2B%2B2=N3EOx8F=JB8Ktj4y9upCRCA>