Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Virtual Memory


13 Oct 2009   #1

Win7 RTM
 
 
Virtual Memory

Hi My question should be a simple one but im confused should i let the system manage my VM or should i set the numbers my self? Another question i have is it better to run the VM on the system disk or a second slave drive? here is a screen shot of what i have going on now.



My System SpecsSystem Spec
.

13 Oct 2009   #2

Win7x64
 
 

Quote   Quote: Originally Posted by Archangel83 View Post
Hi My question should be a simple one but im confused should i let the system manage my VM or should i set the numbers my self? Another question i have is it better to run the VM on the system disk or a second slave drive? here is a screen shot of what i have going on now.
1) Leave the default settings unless you have some particular reason to change them.

2) Both drives. The OS "knows" which disk is least busy at any given point in time, and it'll use the corresponding pagefile.
My System SpecsSystem Spec
13 Oct 2009   #3
whs
Microsoft MVP

Vista, Windows7, Mint Mate, Zorin, Windows 8
 
 

Trying to outsmart the system is usually not a good idea. Unless you know a lot more than the hordes of programmers that developed the system, I would keep my hands off.
My System SpecsSystem Spec
.


13 Oct 2009   #4

W7 X-64 W8.1 X-64 Opensuse 13.1 W2003 Server
 
 

Hi there
Paging as prev poster says leave as default - the OS usually knows best.

However I'll disagree about the VM.

If the host is relatively inactive whilst you are doing your work in the VM then IT REALLY DOESN'T MATTER WHERE YOU HAVE THE VM.

The biggest bottleneck a VM has on home type computers is RAM - VM's need oodles and oodles of RAM once you start running serious apps on them.

Remember ALL RAM you allocate to a VM is permanently allocated to the VM and NOT available to the host.

What will happen when the host runs out of memory is not excessive paging per se - it will happen later read on.

A a FAR worse phenomenon known as SWAPPING will occur. This will try and write the ENTIRE virtual machines address space to disk and Swap in the host's memory requirement.

There won't be enough memory in the HOST to do this operation so paging will increase so much that the disk light will be hard on and your computer will appear to have locked up -- this is called "thrashing".

If you are running a VM don't over allocate RAM to it and when using the VM don't have any or at least minimal activity on the host. There isn't a 1:1 relationship in the requirements for a REAL to Virtual machine.

So it really doesn't matter on what disk you allocate the VM - put it on the fastest if I were you.

Cheers
jimbo
My System SpecsSystem Spec
13 Oct 2009   #5
whs
Microsoft MVP

Vista, Windows7, Mint Mate, Zorin, Windows 8
 
 

Quote   Quote: Originally Posted by jimbo45 View Post
Hi there
Paging as prev poster says leave as default - the OS usually knows best.

However I'll disagree about the VM.

If the host is relatively inactive whilst you are doing your work in the VM then IT REALLY DOESN'T MATTER WHERE YOU HAVE THE VM.

The biggest bottleneck a VM has on home type computers is RAM - VM's need oodles and oodles of RAM once you start running serious apps on them.

Remember ALL RAM you allocate to a VM is permanently allocated to the VM and NOT available to the host.

What will happen when the host runs out of memory is not excessive paging per se - it will happen later read on.

A a FAR worse phenomenon known as SWAPPING will occur. This will try and write the ENTIRE virtual machines address space to disk and Swap in the host's memory requirement.

There won't be enough memory in the HOST to do this operation so paging will increase so much that the disk light will be hard on and your computer will appear to have locked up -- this is called "thrashing".

If you are running a VM don't over allocate RAM to it and when using the VM don't have any or at least minimal activity on the host. There isn't a 1:1 relationship in the requirements for a REAL to Virtual machine.

So it really doesn't matter on what disk you allocate the VM - put it on the fastest if I were you.

Cheers
jimbo
This is an excellent point. I originally allocated 2GBs for my Windows 7 virtual partition (using vBox). That left 1.25GBs for my host Vista (4GB RAM in 32bit). BAAD news. My Vista was only creeping along whilst my Windows 7 hardly used 500MBs. Then I reduced the virtual partition to 1GB which leaves 2.25GBs for the Vista host. Now both systems perform very well and I hardly notice any impact on the Vista host. Just at the very beginning after opening the virtual partition it needs a little time for superfetch to rearrange the real estate. But that is minor.
My System SpecsSystem Spec
13 Oct 2009   #6

Win7 RTM
 
 

ok first thank you all for your responses. now about drive speed how do i figure out what one of my 2 drives is the faster is their a tool in windows or is their a freeware program that could tell me that info? as for default settings Windows 7 had the virtual memory on the system disk i only changed it to my slave disk as i once was told that having the vm on a different drive other then the os disk would increase performance this being said should i switch it back to the os disk or leave it on my slave ?
My System SpecsSystem Spec
13 Oct 2009   #7

 

This thread is seriously derailed. The OP seems to be mislabeling the page file as VM (virtual memory). Jimbo is discussing Virtual Machines.

How 'bout them Cowboys?!
My System SpecsSystem Spec
13 Oct 2009   #8
whs
Microsoft MVP

Vista, Windows7, Mint Mate, Zorin, Windows 8
 
 

Quote   Quote: Originally Posted by Antman View Post
This thread is seriously derailed. The OP seems to be mislabeling the page file as VM (virtual memory). Jimbo is discussing Virtual Machines.

How 'bout them Cowboys?!
Aha, I think you are right. But the other discussion was useful too. A real Babylon.
My System SpecsSystem Spec
13 Oct 2009   #9

Win7x64
 
 

Quote   Quote: Originally Posted by Archangel83 View Post
ok first thank you all for your responses. now about drive speed how do i figure out what one of my 2 drives is the faster is their a tool in windows or is their a freeware program that could tell me that info? as for default settings Windows 7 had the virtual memory on the system disk i only changed it to my slave disk as i once was told that having the vm on a different drive other then the os disk would increase performance this being said should i switch it back to the os disk or leave it on my slave ?
What Antman said. Jimbo's advice pertained to a different definition of "VM", not the pagefile settings you're discussing.

If you're looking to make the best possible use of that second drive for pagefile purposes, don't just move the entire pagefile. Instead, split it up across both drives - say 2GB on the first drive, 2GB on the second, and so on for any new drives (spindles) you add to the system in the future.
My System SpecsSystem Spec
14 Oct 2009   #10

Windows 7 Ultimate RTM (Technet)
 
 

Quote   Quote: Originally Posted by jimbo45 View Post
Hi there
Paging as prev poster says leave as default - the OS usually knows best.

However I'll disagree about the VM.

If the host is relatively inactive whilst you are doing your work in the VM then IT REALLY DOESN'T MATTER WHERE YOU HAVE THE VM.

The biggest bottleneck a VM has on home type computers is RAM - VM's need oodles and oodles of RAM once you start running serious apps on them.

Remember ALL RAM you allocate to a VM is permanently allocated to the VM and NOT available to the host.

What will happen when the host runs out of memory is not excessive paging per se - it will happen later read on.

A a FAR worse phenomenon known as SWAPPING will occur. This will try and write the ENTIRE virtual machines address space to disk and Swap in the host's memory requirement.

There won't be enough memory in the HOST to do this operation so paging will increase so much that the disk light will be hard on and your computer will appear to have locked up -- this is called "thrashing".

If you are running a VM don't over allocate RAM to it and when using the VM don't have any or at least minimal activity on the host. There isn't a 1:1 relationship in the requirements for a REAL to Virtual machine.

So it really doesn't matter on what disk you allocate the VM - put it on the fastest if I were you.

Cheers
jimbo
Ummm, the OP was not talking about a Virtual Machine....he was talking about Virtual Memory.
My System SpecsSystem Spec
Reply

 Virtual Memory




Thread Tools



Similar help and support threads for2: Virtual Memory
Thread Forum
Virtual memory 64 bit Performance & Maintenance
MAX Virtual Memory? Performance & Maintenance
What is Virtual Memory? General Discussion
Solved 4GB virtual memory? Hardware & Devices
What's with the Virtual Memory? Performance & Maintenance
Virtual Memory Performance & Maintenance
Virtual Memory Installation & Setup

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd

All times are GMT -5. The time now is 08:28 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

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