Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Feb 2001 07:29:43 -0500
From:      Vladimir Silyaev <vsilyaev@mindspring.com>
To:        Barry Lustig <barry@Lustig.COM>
Cc:        Matt Dillon <dillon@earth.backplane.com>, Andrew Gallatin <gallatin@cs.duke.edu>, Bruce Evans <bde@zeta.org.au>, freebsd-emulation@FreeBSD.ORG
Subject:   Re: Does vmware2 wire pages?
Message-ID:  <20010214072943.A365@delta.rc.ny.us>
In-Reply-To: <3A89B7A0.B47D91E@Lustig.COM>; from barry@Lustig.COM on Tue, Feb 13, 2001 at 05:39:28PM -0500
References:  <3A89B7A0.B47D91E@Lustig.COM>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <dillon@earth.backplane.com>
> To: Andrew Gallatin <gallatin@cs.duke.edu>
> CC: Bruce Evans <bde@zeta.org.au>, freebsd-emulation@FreeBSD.ORG
> References:
> <14980.8856.555504.633075@grasshopper.cs.duke.edu><Pine.BSF.4.21.0102101303001.20995-100000@besplex.bde.org>
> <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




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