Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 06 Jan 2008 18:20:52 +0100
From:      Ivan Voras <ivoras@freebsd.org>
To:        freebsd-current@freebsd.org
Subject:   Re: When will ZFS become stable?
Message-ID:  <flr2lr$kph$1@ger.gmane.org>
In-Reply-To: <47810BE3.4080601@FreeBSD.org>
References:  <fll63b$j1c$1@ger.gmane.org>		<20080104163352.GA42835@lor.one-eyed-alien.net>		<9bbcef730801040958t36e48c9fjd0fbfabd49b08b97@mail.gmail.com>		<200801061051.26817.peter.schuller@infidyne.com>		<9bbcef730801060458k4bc9f2d6uc3f097d70e087b68@mail.gmail.com>		<4780D289.7020509@FreeBSD.org>	<flqmbo$eac$1@ger.gmane.org>		<4780E546.9050303@FreeBSD.org>	<9bbcef730801060651y489f1f9bw269d0968407dd8fb@mail.gmail.com>	<4780EF09.4090908@FreeBSD.org>	<flr0ie$euj$1@ger.gmane.org> <47810BE3.4080601@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Kris Kennaway wrote:

>  > Better yet, why not
>> increase both vm.kmem_size and KVA_PAGES to (the equivalent of) 640 MB 
>> or 768 MB by default for 7.0?
> 
> That is answered in the tuning guide.  Tuning KVA_PAGES by default is 
> not appropriate.

Ok. I'd like to understand what is the relationship between KVA_PAGES 
and vm.kmem_size. The tuning guide says:

"""By default the kernel receives 1GB of the 4GB of address space 
available on the i386 architecture, and this is used for all of the 
kernel address space needs, not just the kmem map. By increasing 
KVA_PAGES you can allocate a larger proportion of the 4GB address 
space..."""

and:

"""recompile your kernel with increased KVA_PAGES option, to increase 
the size of the kernel address space, before vm.kmem_size can be 
increased beyond 512M"""

What is the other 512 MB of the 1 GB used for?




[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHgQ36ldnAQVacBcgRArjoAJ4+6LvxL9bOjNOIHLiCA5rs2o99hACfZlBl
mQUKsJ1MR9ZyUXbn5EoYyKE=
=d0JH
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?flr2lr$kph$1>