|
Reply
Re: What's the sweet spot (memory-wise) for my Macbook? Sep 2, 2008 6:36 AM
Reply
2.
Re: What's the sweet spot (memory-wise) for my Macbook? Sep 2, 2008 6:36 AM
You can actually arrive at an appropriate memory allocation using Task Manager in your Guest VM. I would start with 1 Gig allocated to the VM (I have 640 Meg allocated for mine, but I typically run productivity applications only (Outlook, Office, Visio) and sometimes database tools like TOAD. I would expect Visual Studio to be a bit more memory hungry. Once you have your typical mix of applications running in the guest, bring up Task Manager. You want to make sure your Page File Usage / Commit Charge does not exceed the "physical" memory of the machine. This is true for physical windows PCs or virtual ones. When Commit Charge exceeds the "physical" memory that is when Windows starts doing a lot of swapping, and you'll notice performance dropping off. You probably want to shoot for about 100 to 200 Meg Physical Memory Available on the Performance tab of Task Manager with your working set of applications running. Given my experience with XP VMs 1 Gig of RAM will probably be about right for you. Set your Memory preference in the guest to Using memory for Programs as opposed to System Cache in the guest. Fusion & Mac OS do a pretty good job of Disk Caching so the guest doesn't have to. My experience has been that the VMs perform better than my physical 1.6 Ghz Thinkpad. |
|
Reply
Re: What's the sweet spot (memory-wise) for my Macbook? Sep 2, 2008 4:06 PM
Reply
3.
Re: What's the sweet spot (memory-wise) for my Macbook? Sep 2, 2008 4:06 PM
This is a good tip, and I added a link from Choosing the Right Virtual Machine Settings.
For a more complete answer, determining how much RAM the guest wants is only part of the story - also important is figuring out how much the host has to spare (you might determine that the guest would be really happy with 6 GB, but that doesn't help if you only have 2 GB). You can follow a similar procedure on the host: Without Fusion running, open the programs you normally use. With Activity Monitor, check Free/Wired/Active/Inactive. Inactive includes disk cache, so you can count some of that as available - this plus the free memory should give you an idea of how much room you have for Fusion (also remember that Fusion needs more RAM than just what you allocate to the guest - if you have 3D acceleration enabled, for example, that's an additional 128 MB right there, plus whatever the UI needs). |
|
Reply
Re: What's the sweet spot (memory-wise) for my Macbook? Nov 8, 2008 9:12 AM
Reply
4.
Re: What's the sweet spot (memory-wise) for my Macbook? Nov 8, 2008 9:12 AM
Is it better to turn off virtual memory in the virtual machine? It seems to me that increasing the memory allocation in VMware and turning off Windows virtual memory will allow VMware to handle the swap files in an optimized fashion (rather than doing swaps in two locations - OS X and Windows). I've been running WMWare Fusion 2.0 on my MacBook with 4GB of RAM. I've set my Vista virtual machine to 2.5 GB of RAM, and it seems to be doing well. Mac OS X says it has 500 MB of inactive memory and Vista is happily running SQL Server and Visual Studio with 50% memory free. Yes/no? Alec |
|
Reply
Re: What's the sweet spot (memory-wise) for my Macbook? Oct 25, 2009 12:01 PM
Reply
5.
Re: What's the sweet spot (memory-wise) for my Macbook? Oct 25, 2009 12:01 PM
Thanks for the post. This was very helpful. Unfortunately, I just got my MBP prior to the latest version, and I'm limited to 4G of mem. I currently have the 4G, but it is ddr2 667 and I understand I can go to ddr3 1066. Would I get that much of a performance increase by doing this?
|