Re: ZFS kmem_map too small.

From: Ali Mashtizadeh <mashtizadeh_at_gmail.com>
Date: Wed, 31 Oct 2007 08:51:40 -0700
For ZFS KVA_PAGES=512 seems to run very stable so it's unfortunate that we
have to give up our VA space in the userland. I would personally like to see
a move to a 4-4 Memory model or at least have it as a compile time option.
Does anyone know if that's been attempted on FreeBSD?

Ali

On 10/9/07, Pawel Jakub Dawidek <pjd_at_freebsd.org> wrote:
>
> On Tue, Oct 09, 2007 at 12:28:09PM -0700, Darren Reed wrote:
> > Pawel Jakub Dawidek wrote:
> > >...
> > >
> > >For i386 one has to set, eg. 'options KVA_PAGES=512' to the kernel
> > >config to be able to define kmem larger than ~700MB. I guess you're
> > >running amd64, maybe there is similar requirement?
> > >
> >
> > Given how much RAM PCs have these days, why isn't this a default for
> > GENERIC?
> >
> > Or why isn't it at least a tunable rather than an option?
>
> This may be a good reason - today's PCs have a lot of RAM and KVA_PAGES
> splits address space between userland and kernel - the more address
> space for the kernel, the less address space for the userland.
> KVA_PAGES=512 splits 4GB address space in half, so userland processes
> can address at most 2GB of memory.
>
> --
> Pawel Jakub Dawidek                       http://www.wheel.pl
> pjd_at_FreeBSD.org                           http://www.FreeBSD.org
> FreeBSD committer                         Am I Evil? Yes, I Am!
>
>


-- 
Ali Mashtizadeh
علی مشتی زاده
Received on Wed Oct 31 2007 - 19:14:31 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:20 UTC