Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Jun 2014 17:49:10 +0400
From:      Andriy Gapon <avg@FreeBSD.org>
To:        attilio@FreeBSD.org, =?UTF-8?B?Um9nZXIgUGF1IE1vbm7DqQ==?= <royger@FreeBSD.org>
Cc:        Alan Cox <alc@FreeBSD.org>, "svn-src-head@freebsd.org" <svn-src-head@FreeBSD.org>, "svn-src-all@freebsd.org" <svn-src-all@FreeBSD.org>, "src-committers@freebsd.org" <src-committers@FreeBSD.org>
Subject:   Re: svn commit: r267858 - in head/sys/dev: virtio/balloon xen/balloon
Message-ID:  <53AAD356.20202@FreeBSD.org>
In-Reply-To: <CAJ-FndD2oESE4uvyZTrftwiQhQzHwT2k%2Byzu0X1g_E3Atdv6Fg@mail.gmail.com>
References:  <201406250951.s5P9p8YR017159@svn.freebsd.org>	<CAJ-FndD4M8QkejyTv4R_9qoThqvFinYbHP4YSby6mQS9EKSYPA@mail.gmail.com>	<53AACEAB.3090702@FreeBSD.org> <CAJ-FndD2oESE4uvyZTrftwiQhQzHwT2k%2Byzu0X1g_E3Atdv6Fg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 25/06/2014 17:44, Attilio Rao wrote:
> Why? If VM needs more wired memory I assume that we can tune up the
> default value of max_wired?
> 
> I think that however your case makes an interesting point: if we want
> to make unmanaged pages as inherently wired, we likely need a little
> bit higher max_wired value. When I completed a patch for this, pho@
> couldn't reproduce any similar issue even with stress-testing (and
> also, the places to allocate unmanaged pages and not requesting
> VM_ALLOC_WIRED were very little, almost 0, with the exception of
> vm_page_alloc_contig() calls) but I think it is a valid proposition.
> 
> However I would still like to have more control on kernel-specific
> wired memory for processes. I'm for example thinking to ARC vs. buffer
> cache, where I expect the wired memory consumption to be much bigger
> for the former case.

My humble opinion is that userland page wiring should be tuned via
resource limits and that vm.max_wired could be retired altogether.
Kernel wiring ignores the knob anyway.

-- 
Andriy Gapon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53AAD356.20202>