Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > Virtual Server

Vista - Pagefile on VM's

Reply
 
Old 01-14-2009   #1 (permalink)
news.microsoft.com


 
 

Pagefile on VM's

I was told that it was best practices to let the host system manage the swap
file, however I have noticed that when I hit the physical memory limit I can
no longer start virtual machines. I was under the impression that server
2008 fixed the issue of hitting the hard limit on physical ram by swapping a
portion of it. Am I totally wrong here? If not, what would be the point to
let the host manage the swap if it does not swap to begin with?

-Confused....



My System SpecsSystem Spec
Old 01-14-2009   #2 (permalink)
Paul Adare


 
 

Re: Pagefile on VM's

On Wed, 14 Jan 2009 11:58:42 -0800, news.microsoft.com wrote:
Quote:

> I was told that it was best practices to let the host system manage the swap
> file, however I have noticed that when I hit the physical memory limit I can
> no longer start virtual machines. I was under the impression that server
> 2008 fixed the issue of hitting the hard limit on physical ram by swapping a
> portion of it. Am I totally wrong here? If not, what would be the point to
> let the host manage the swap if it does not swap to begin with?
Using a pagefile for virtual memory management and over-committing memory
for virtual machines are two completely different things. No Microsoft
virtualization solution allows you to over-commit memory.

--
Paul Adare
MVP - Identity Lifecycle Manager
http://www.identit.ca
My System SpecsSystem Spec
Old 01-14-2009   #3 (permalink)
news.microsoft.com


 
 

Re: Pagefile on VM's

Well, coming from a VM world, I had the ability to allocate directly to
phsyical RAM or the option to allow some of the RAM for the VM Machines to
leak into the pagefile. Did I loose this functionality in Hyper-V?


"Paul Adare" <pkadare@xxxxxx> wrote in message
news:1krf86lq1sg27$.5fz9worg9cyb.dlg@xxxxxx
Quote:

> On Wed, 14 Jan 2009 11:58:42 -0800, news.microsoft.com wrote:
>
Quote:

>> I was told that it was best practices to let the host system manage the
>> swap
>> file, however I have noticed that when I hit the physical memory limit I
>> can
>> no longer start virtual machines. I was under the impression that server
>> 2008 fixed the issue of hitting the hard limit on physical ram by
>> swapping a
>> portion of it. Am I totally wrong here? If not, what would be the point
>> to
>> let the host manage the swap if it does not swap to begin with?
>
> Using a pagefile for virtual memory management and over-committing memory
> for virtual machines are two completely different things. No Microsoft
> virtualization solution allows you to over-commit memory.
>
> --
> Paul Adare
> MVP - Identity Lifecycle Manager
> http://www.identit.ca

My System SpecsSystem Spec
Old 01-15-2009   #4 (permalink)
Paul Adare


 
 

Re: Pagefile on VM's

On Wed, 14 Jan 2009 14:31:55 -0800, news.microsoft.com wrote:
Quote:

> Well, coming from a VM world, I had the ability to allocate directly to
> phsyical RAM or the option to allow some of the RAM for the VM Machines to
> leak into the pagefile. Did I loose this functionality in Hyper-V?
The feature in VM is over-committing memory and yes, Hyper-V does not allow
that.

--
Paul Adare
MVP - Identity Lifecycle Manager
http://www.identit.ca
My System SpecsSystem Spec
Old 01-15-2009   #5 (permalink)
news.microsoft.com


 
 

Re: Pagefile on VM's

I somewhat disagree, because sometimes you can have a spike of memory usuage
and if you decide that due to cost swap is the best method for distributing
this spike I would not call that over commiting, just a backup plan that is
cheaper/more realistic than physical RAM. So what I gather from all of this
is that even though microsoft recomends that you do not swap in the guest
Machines, unless you have the luxury of having enough physical RAM to cover
spikes, you are better off placing a swap inside the VM's.


"Paul Adare" <pkadare@xxxxxx> wrote in message
news:1fkhrylk7of87$.ja8j22675krl.dlg@xxxxxx
Quote:

> On Wed, 14 Jan 2009 14:31:55 -0800, news.microsoft.com wrote:
>
Quote:

>> Well, coming from a VM world, I had the ability to allocate directly to
>> phsyical RAM or the option to allow some of the RAM for the VM Machines
>> to
>> leak into the pagefile. Did I loose this functionality in Hyper-V?
>
> The feature in VM is over-committing memory and yes, Hyper-V does not
> allow
> that.
>
> --
> Paul Adare
> MVP - Identity Lifecycle Manager
> http://www.identit.ca

My System SpecsSystem Spec
Old 01-15-2009   #6 (permalink)
Robert Comer


 
 

Re: Pagefile on VM's

>I would not call that over commiting,

That's what it's called though, it's just a term meaning you are
allocating more memory than you have for a VM and Hyper-V doesn't do
that.
Quote:

>So what I gather from all of this
>is that even though microsoft recomends that you do not swap in the guest
>Machines, unless you have the luxury of having enough physical RAM to cover
>spikes, you are better off placing a swap inside the VM's.
Correct. Otherwise it's a very tight balancing act between working
set and RAM available, most of the time not worth it to do, but if
performance is the most desired option, not swapping in the VM would
be the best.

--
Bob Comer




On Thu, 15 Jan 2009 08:25:31 -0800, "news.microsoft.com"
<None@xxxxxx> wrote:
Quote:

>I somewhat disagree, because sometimes you can have a spike of memory usuage
>and if you decide that due to cost swap is the best method for distributing
>this spike I would not call that over commiting, just a backup plan that is
>cheaper/more realistic than physical RAM. So what I gather from all of this
>is that even though microsoft recomends that you do not swap in the guest
>Machines, unless you have the luxury of having enough physical RAM to cover
>spikes, you are better off placing a swap inside the VM's.
>
>
>"Paul Adare" <pkadare@xxxxxx> wrote in message
>news:1fkhrylk7of87$.ja8j22675krl.dlg@xxxxxx
Quote:

>> On Wed, 14 Jan 2009 14:31:55 -0800, news.microsoft.com wrote:
>>
Quote:

>>> Well, coming from a VM world, I had the ability to allocate directly to
>>> phsyical RAM or the option to allow some of the RAM for the VM Machines
>>> to
>>> leak into the pagefile. Did I loose this functionality in Hyper-V?
>>
>> The feature in VM is over-committing memory and yes, Hyper-V does not
>> allow
>> that.
>>
>> --
>> Paul Adare
>> MVP - Identity Lifecycle Manager
>> http://www.identit.ca
>
My System SpecsSystem Spec
Old 01-15-2009   #7 (permalink)
news.microsoft.com


 
 

Re: Pagefile on VM's

Yup...Thanks for all the help!
"Robert Comer" <bobcomer-removeme-@xxxxxx> wrote in message
newstpum41a91pmje3kcdkbnf4ur82p4iakc5@xxxxxx
Quote:
Quote:

> >I would not call that over commiting,
>
> That's what it's called though, it's just a term meaning you are
> allocating more memory than you have for a VM and Hyper-V doesn't do
> that.
>
Quote:

>>So what I gather from all of this
>>is that even though microsoft recomends that you do not swap in the guest
>>Machines, unless you have the luxury of having enough physical RAM to
>>cover
>>spikes, you are better off placing a swap inside the VM's.
>
> Correct. Otherwise it's a very tight balancing act between working
> set and RAM available, most of the time not worth it to do, but if
> performance is the most desired option, not swapping in the VM would
> be the best.
>
> --
> Bob Comer
>
>
>
>
> On Thu, 15 Jan 2009 08:25:31 -0800, "news.microsoft.com"
> <None@xxxxxx> wrote:
>
Quote:

>>I somewhat disagree, because sometimes you can have a spike of memory
>>usuage
>>and if you decide that due to cost swap is the best method for
>>distributing
>>this spike I would not call that over commiting, just a backup plan that
>>is
>>cheaper/more realistic than physical RAM. So what I gather from all of
>>this
>>is that even though microsoft recomends that you do not swap in the guest
>>Machines, unless you have the luxury of having enough physical RAM to
>>cover
>>spikes, you are better off placing a swap inside the VM's.
>>
>>
>>"Paul Adare" <pkadare@xxxxxx> wrote in message
>>news:1fkhrylk7of87$.ja8j22675krl.dlg@xxxxxx
Quote:

>>> On Wed, 14 Jan 2009 14:31:55 -0800, news.microsoft.com wrote:
>>>
>>>> Well, coming from a VM world, I had the ability to allocate directly to
>>>> phsyical RAM or the option to allow some of the RAM for the VM Machines
>>>> to
>>>> leak into the pagefile. Did I loose this functionality in Hyper-V?
>>>
>>> The feature in VM is over-committing memory and yes, Hyper-V does not
>>> allow
>>> that.
>>>
>>> --
>>> Paul Adare
>>> MVP - Identity Lifecycle Manager
>>> http://www.identit.ca
>>

My System SpecsSystem Spec
Old 01-15-2009   #8 (permalink)
Robert Comer


 
 

Re: Pagefile on VM's

You're welcome.

--
Bob Comer


On Thu, 15 Jan 2009 12:12:49 -0800, "news.microsoft.com"
<None@xxxxxx> wrote:
Quote:

>Yup...Thanks for all the help!
>"Robert Comer" <bobcomer-removeme-@xxxxxx> wrote in message
>newstpum41a91pmje3kcdkbnf4ur82p4iakc5@xxxxxx
Quote:
Quote:

>> >I would not call that over commiting,
>>
>> That's what it's called though, it's just a term meaning you are
>> allocating more memory than you have for a VM and Hyper-V doesn't do
>> that.
>>
Quote:

>>>So what I gather from all of this
>>>is that even though microsoft recomends that you do not swap in the guest
>>>Machines, unless you have the luxury of having enough physical RAM to
>>>cover
>>>spikes, you are better off placing a swap inside the VM's.
>>
>> Correct. Otherwise it's a very tight balancing act between working
>> set and RAM available, most of the time not worth it to do, but if
>> performance is the most desired option, not swapping in the VM would
>> be the best.
>>
>> --
>> Bob Comer
>>
>>
>>
>>
>> On Thu, 15 Jan 2009 08:25:31 -0800, "news.microsoft.com"
>> <None@xxxxxx> wrote:
>>
Quote:

>>>I somewhat disagree, because sometimes you can have a spike of memory
>>>usuage
>>>and if you decide that due to cost swap is the best method for
>>>distributing
>>>this spike I would not call that over commiting, just a backup plan that
>>>is
>>>cheaper/more realistic than physical RAM. So what I gather from all of
>>>this
>>>is that even though microsoft recomends that you do not swap in the guest
>>>Machines, unless you have the luxury of having enough physical RAM to
>>>cover
>>>spikes, you are better off placing a swap inside the VM's.
>>>
>>>
>>>"Paul Adare" <pkadare@xxxxxx> wrote in message
>>>news:1fkhrylk7of87$.ja8j22675krl.dlg@xxxxxx
>>>> On Wed, 14 Jan 2009 14:31:55 -0800, news.microsoft.com wrote:
>>>>
>>>>> Well, coming from a VM world, I had the ability to allocate directly to
>>>>> phsyical RAM or the option to allow some of the RAM for the VM Machines
>>>>> to
>>>>> leak into the pagefile. Did I loose this functionality in Hyper-V?
>>>>
>>>> The feature in VM is over-committing memory and yes, Hyper-V does not
>>>> allow
>>>> that.
>>>>
>>>> --
>>>> Paul Adare
>>>> MVP - Identity Lifecycle Manager
>>>> http://www.identit.ca
>>>
>
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Using Diskpart in VM's Virtual PC
VM's can't ping Virtual Server
Clustering VM's Virtual Server
Pagefile encryption with EFS enabled but pagefile.sys is not green Vista file management
Pagefile encryption with EFS enabled but pagefile.sys is not green Vista security


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46