From owner-freebsd-emulation Wed Feb 14 4:30: 3 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from granger.mail.mindspring.net (granger.mail.mindspring.net [207.69.200.148]) by hub.freebsd.org (Postfix) with ESMTP id 885D237B401 for ; Wed, 14 Feb 2001 04:29:56 -0800 (PST) Received: from delta.rc.ny.us (nyf-ny2-04.ix.netcom.com [198.211.16.68]) by granger.mail.mindspring.net (8.9.3/8.8.5) with ESMTP id HAA30829; Wed, 14 Feb 2001 07:29:49 -0500 (EST) Received: (from vsilyaev@localhost) by delta.rc.ny.us (8.11.1/8.9.3) id f1ECTi000405; Wed, 14 Feb 2001 07:29:44 -0500 (EST) (envelope-from vsilyaev) Date: Wed, 14 Feb 2001 07:29:43 -0500 From: Vladimir Silyaev To: Barry Lustig Cc: Matt Dillon , Andrew Gallatin , Bruce Evans , freebsd-emulation@FreeBSD.ORG Subject: Re: Does vmware2 wire pages? Message-ID: <20010214072943.A365@delta.rc.ny.us> References: <3A89B7A0.B47D91E@Lustig.COM> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3A89B7A0.B47D91E@Lustig.COM>; from barry@Lustig.COM on Tue, Feb 13, 2001 at 05:39:28PM -0500 Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Thanks, barry. For sure vmware is wiring pages. It's about 50% or more percent of pages allocated for guest memory is wired down (i.e. you can easily notice that if you will run systat). But those pages is wired down not calling to mlock by vmware, but it's done inside vmmon driver. Regards, Vladimir On Tue, Feb 13, 2001 at 05:39:28PM -0500, Barry Lustig wrote: > Vladimir, > > I don't know if you've noticed, but there has been a thread regarding > vmware. Since you did the work, I thought I'd ask whether vmware is > wiring pages? > > barry > > > -------- Original Message -------- > Subject: Re: What's changed recently with vmware/linuxemu/file I/O > Date: Fri, 9 Feb 2001 22:16:12 -0800 (PST) > From: Matt Dillon > To: Andrew Gallatin > CC: Bruce Evans , freebsd-emulation@FreeBSD.ORG > References: > <14980.8856.555504.633075@grasshopper.cs.duke.edu> > <14980.48507.507487.690557@grasshopper.cs.duke.edu> > > > :I do have one question -- for the app we care about (vmware) the pages > :in the mmaped file will apparently be wired. Is there any reason why > :we couldn't just skip wired pages in vm_object_page_clean()? It seems > :like there's no point in cleaning a wired page because you won't be > :able to free it anyway, so it doesn't matter if it is dirty... > : > :Thanks, > : > :Drew > > As far as I know vmware is not wiring pages down. > > vm_object_page_clean() is called from higher levels to clean a > specific > range of pages in an object. For example, I believe it is called > from msync(). We obviously do not want to prevent it from cleaning > wired pages! > > -Matt > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-emulation" in the body of the message -- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message