|
|
 |
02-20-2013, 09:11 PM
|
#1
|
|
Diamond Member
Join Date: Sep 2002
Location: Greenville, SC
Posts: 3,658
|
Why are my VM's thrashing my hard drive? UPDATE: Found a solution
Preface: I have a Lenovo T510 laptop running windows 7, 4 GB RAM, 500 GB 7200 RPM hard drive. I have two Windows XP virtual machines on it, one for my use, one for logging into a customer's VPN, but on their own partitions. The laptop is running Forefront Client security and the virtuals are running MSE.
Issue: Sometimes, for a not-yet discovered reason, clicking a program on my virtual machine will cause the physical hard drive to be accessed like crazy for up to a minute. The virtual machine pretty much freezes during this period. When I pull up task manager in windows 7, there is still some physical memory labeled as "free" and I keep the hard drive(s) pretty well defragmented with Auslogics. I have Windows 7 and the virtuals set to a basic color scheme and disabled as many unneeded processes as possible on the VMs, but the issue persists. I upgraded both VMs from 512 MB of usable memory to 768, but that didn't seem to help much.
Later this year I will be getting a new Lenovo with 8 GB of RAM, so that could very well resolve the issue. Just wondering if you guys knew of something else I could try for the time being.
__________________
Intel Core i5-2500k | Gigabyte GA-Z68X-UD3H-B3 | 8 GB DDR3 | Gigabyte GeForce GTX 660 | Antec EarthWatts EA-650 BRONZE | Western Digital Caviar Black 1TB | COOLER MASTER CM Storm Series Trooper | COOLER MASTER Hyper 212 EVO
Last edited by ketchup79; 02-25-2013 at 07:33 AM.
|
|
|
02-21-2013, 07:41 AM
|
#3
|
|
Diamond Member
Join Date: Sep 2002
Location: Greenville, SC
Posts: 3,658
|
Quote:
Originally Posted by MrChad
|
Thanks MrChad. I made both changes, so we'll see how it goes today.
__________________
Intel Core i5-2500k | Gigabyte GA-Z68X-UD3H-B3 | 8 GB DDR3 | Gigabyte GeForce GTX 660 | Antec EarthWatts EA-650 BRONZE | Western Digital Caviar Black 1TB | COOLER MASTER CM Storm Series Trooper | COOLER MASTER Hyper 212 EVO
|
|
|
02-21-2013, 07:48 AM
|
#4
|
|
Lifer
Join Date: Jul 2000
Location: Eastern NC
Posts: 19,020
|
it may be on different partitions, but its still the same physical drive, and youre running 3 OS's on it. thats tough to keep up with. i have an i7 laptop with 8gb ram running windows 7, and running a vm in that takes a noticeable toll if im doing something write/read intensive in the VM. not much of a way around it other than to run VMs on another hard drive.
not sure if an external drive would work, if it was usb 3 it might be tolerable? i have a usb 3 drive, i should probably try it sometime. at home, my OS is on an ssd and i have a striped raid array for data/VMs to keep the system from freaking out when i need to run one.
|
|
|
02-21-2013, 08:08 AM
|
#5
|
|
Diamond Member
Join Date: Sep 2002
Location: Greenville, SC
Posts: 3,658
|
Quote:
Originally Posted by xSauronx
it may be on different partitions, but its still the same physical drive, and youre running 3 OS's on it. thats tough to keep up with. i have an i7 laptop with 8gb ram running windows 7, and running a vm in that takes a noticeable toll if im doing something write/read intensive in the VM. not much of a way around it other than to run VMs on another hard drive.
not sure if an external drive would work, if it was usb 3 it might be tolerable? i have a usb 3 drive, i should probably try it sometime. at home, my OS is on an ssd and i have a striped raid array for data/VMs to keep the system from freaking out when i need to run one.
|
Thanks xSauronx, I have no doubt an SSD would help. It's not really a problem, just an annoyance. Mainly it is just because I like the idea of keeping work and personal items separate, since the laptop is with me 24/7 when I am on call. I am pretty sure the USB 3 option would help, since, as you said, I would be dealing with separate physical drives. I had an old dell that had 2 hard drive caddies. It is a shame that Lenovo does not do this, even on their ThinkPad models. Thanks for the input.
__________________
Intel Core i5-2500k | Gigabyte GA-Z68X-UD3H-B3 | 8 GB DDR3 | Gigabyte GeForce GTX 660 | Antec EarthWatts EA-650 BRONZE | Western Digital Caviar Black 1TB | COOLER MASTER CM Storm Series Trooper | COOLER MASTER Hyper 212 EVO
|
|
|
02-21-2013, 08:29 PM
|
#6
|
|
Diamond Member
Join Date: Oct 2001
Location: Atlanta, GA
Posts: 4,401
|
Even with Windows XP, you are probably allocating at least 256MB each. I'm sure Win7 is taking 2GB so you may just have a lack of memory.
__________________
Asus P8Z77-V Deluxe | Intel - 3770k | G.Skill 32GB RAM | Sapphire 7970 Ghz | Plextor M3 256GB | HP ZR2740W | Windowns 8
Blog
|
|
|
02-22-2013, 05:55 AM
|
#7
|
|
Golden Member
Join Date: Mar 2007
Posts: 1,973
|
You have 4GB of RAM and two VMs, it could be you are exceeding the available RAM on your machine and its thrashing on virtual memory on your hard drive.
__________________
i7 3930k @4.4, 2xMSI GTX 680, 16 4x4 GB Corsair 2133 RAM, Crucial m4 500GB, Dell U2410 24" and 2x Samsung 2443 24", Xonar D2X. All custom watercooled by 2x MCR 320 and 1 MCR 480
Got a frametime trace that stutters? Send me a PM
|
|
|
02-22-2013, 06:01 AM
|
#8
|
|
Diamond Member
Join Date: Sep 2002
Location: Greenville, SC
Posts: 3,658
|
Quote:
Originally Posted by BrightCandle
You have 4GB of RAM and two VMs, it could be you are exceeding the available RAM on your machine and its thrashing on virtual memory on your hard drive.
|
This is what I think is happening. Device manager seems to imply that it's not doing this, (shows memory as available, and even a little as free) but it runs fine with 1 VM going. The second one is what gets pretty down.
Thanks for the input guys.
Oh, and thanks for the input MrChad. I used the recommendations listed, but they didn't seem to help much. But, they were sound suggestions that I had not thought of.
__________________
Intel Core i5-2500k | Gigabyte GA-Z68X-UD3H-B3 | 8 GB DDR3 | Gigabyte GeForce GTX 660 | Antec EarthWatts EA-650 BRONZE | Western Digital Caviar Black 1TB | COOLER MASTER CM Storm Series Trooper | COOLER MASTER Hyper 212 EVO
|
|
|
02-22-2013, 03:26 PM
|
#9
|
|
Diamond Member
Join Date: Sep 2002
Location: Greenville, SC
Posts: 3,658
|
Update: I think I have the VM issue fixed for now.
In addition to adding the exclusion in MrChad's link, I have removed the antivirus from my VMs, and returned them to 512 MB of RAM each.
The one VM only accesses through a VPN connection (which is set up to only access files for that customer), and the other is easy just to nuke and start over if I need to. I have shared folders disabled on both.
Thanks for the input guys. I appreciate it. Have a great weekend.
__________________
Intel Core i5-2500k | Gigabyte GA-Z68X-UD3H-B3 | 8 GB DDR3 | Gigabyte GeForce GTX 660 | Antec EarthWatts EA-650 BRONZE | Western Digital Caviar Black 1TB | COOLER MASTER CM Storm Series Trooper | COOLER MASTER Hyper 212 EVO
|
|
|
02-23-2013, 02:30 PM
|
#10
|
|
Platinum Member
Join Date: May 2004
Location: Arlington Heights, IL
Posts: 2,272
|
Quote:
Originally Posted by ketchup79
Update: I think I have the VM issue fixed for now.
In addition to adding the exclusion in MrChad's link, I have removed the antivirus from my VMs, and returned them to 512 MB of RAM each.
The one VM only accesses through a VPN connection (which is set up to only access files for that customer), and the other is easy just to nuke and start over if I need to. I have shared folders disabled on both.
Thanks for the input guys. I appreciate it. Have a great weekend.
|
I didn't notice what software you were using for your VMs, but if you're running something besides vmware player, might be a good idea to clone that 2nd vm periodically, so if it gets hosed you can just fire up the clone instead of starting from square one.
|
|
|
02-23-2013, 02:38 PM
|
#11
|
|
Diamond Member
Join Date: Sep 2002
Location: Greenville, SC
Posts: 3,658
|
Quote:
Originally Posted by Chapbass
I didn't notice what software you were using for your VMs, but if you're running something besides vmware player, might be a good idea to clone that 2nd vm periodically, so if it gets hosed you can just fire up the clone instead of starting from square one.
|
Using VMware. I have a clone of the first one. The second is maybe a 20 minute windows install, and not necessarily needed, just something a like having to separate business from pleasure.
__________________
Intel Core i5-2500k | Gigabyte GA-Z68X-UD3H-B3 | 8 GB DDR3 | Gigabyte GeForce GTX 660 | Antec EarthWatts EA-650 BRONZE | Western Digital Caviar Black 1TB | COOLER MASTER CM Storm Series Trooper | COOLER MASTER Hyper 212 EVO
|
|
|
02-23-2013, 05:27 PM
|
#12
|
|
Diamond Member
Join Date: Dec 1999
Posts: 4,716
|
for vms I 4gb might be a little low.
|
|
|
02-23-2013, 05:34 PM
|
#13
|
|
Platinum Member
Join Date: May 2004
Location: Arlington Heights, IL
Posts: 2,272
|
Quote:
Originally Posted by ketchup79
Using VMware. I have a clone of the first one. The second is maybe a 20 minute windows install, and not necessarily needed, just something a like having to separate business from pleasure.
|
Well, I was more asking about what edition of vmware (player vs workstation), but no worries  .
|
|
|
02-23-2013, 06:48 PM
|
#14
|
|
Diamond Member
Join Date: Sep 2002
Location: Greenville, SC
Posts: 3,658
|
Quote:
Originally Posted by Chapbass
Well, I was more asking about what edition of vmware (player vs workstation), but no worries  .
|
Gotcha, just player.
__________________
Intel Core i5-2500k | Gigabyte GA-Z68X-UD3H-B3 | 8 GB DDR3 | Gigabyte GeForce GTX 660 | Antec EarthWatts EA-650 BRONZE | Western Digital Caviar Black 1TB | COOLER MASTER CM Storm Series Trooper | COOLER MASTER Hyper 212 EVO
|
|
|
02-23-2013, 06:50 PM
|
#15
|
|
Diamond Member
Join Date: Sep 2002
Location: Greenville, SC
Posts: 3,658
|
Quote:
Originally Posted by holden j caufield
for vms I 4gb might be a little low.
|
Yeah, it is. But I am not dumping RAM into something I don't own (it's a lease) and I already have the specs for the next one, it will be 8 GB.
__________________
Intel Core i5-2500k | Gigabyte GA-Z68X-UD3H-B3 | 8 GB DDR3 | Gigabyte GeForce GTX 660 | Antec EarthWatts EA-650 BRONZE | Western Digital Caviar Black 1TB | COOLER MASTER CM Storm Series Trooper | COOLER MASTER Hyper 212 EVO
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 11:50 AM.
|