From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Michael S. Tsirkin" Subject: Re: On guest free page hinting and OOM Date: Mon, 1 Apr 2019 10:47:56 -0400 Message-ID: <20190401104608-mutt-send-email-mst@kernel.org> References: <20190329084058-mutt-send-email-mst@kernel.org> <20190329104311-mutt-send-email-mst@kernel.org> <7a3baa90-5963-e6e2-c862-9cd9cc1b5f60@redhat.com> <20190329125034-mutt-send-email-mst@kernel.org> <20190401073007-mutt-send-email-mst@kernel.org> <29e11829-c9ac-a21b-b2f1-ed833e4ca449@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Nitesh Narayan Lal , kvm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, pbonzini@redhat.com, lcapitulino@redhat.com, pagupta@redhat.com, wei.w.wang@intel.com, yang.zhang.wz@gmail.com, riel@surriel.com, dodgen@google.com, konrad.wilk@oracle.com, dhildenb@redhat.com, aarcange@redhat.com, alexander.duyck@gmail.com To: David Hildenbrand Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org On Mon, Apr 01, 2019 at 04:11:42PM +0200, David Hildenbrand wrote: > > The interesting thing is most probably: Will the hinting size usually be > > reasonable small? At least I guess a guest with 4TB of RAM will not > > suddenly get a hinting size of hundreds of GB. Most probably also only > > something in the range of 1GB. But this is an interesting question to > > look into. > > > > Also, if the admin does not care about performance implications when > > already close to hinting, no need to add the additional 1Gb to the ram size. > > "close to OOM" is what I meant. Problem is, host admin is the one adding memory. Guest admin is the one that knows about performance. > > -- > > Thanks, > > David / dhildenb