Host Constantly Reading VDI File

Discussions related to using VirtualBox on Windows hosts.
Post Reply
RSalameh
Posts: 25
Joined: 15. Mar 2009, 12:23

Host Constantly Reading VDI File

Post by RSalameh »

Software and Hardware Environment:
Host Computer Hardware: Dell Studio XPS Desktop 435MT
Host Computer Software: Windows Vista Home Premium (64 bit) running VirtualBox 2.1.4
Guest 1: Windows Server 2003 R2 Enterprise with SP2 (64 bit)
Guest 2: Windows Server 2003 R2 Enterprise with SP2 (64 bit)
Guest 3: Windows Server 2003 R2 Enterprise with SP2 (64 bit)
Guest 4: Windows XP Professional with SP2 (64 bit)

Problem:
For whatever reason, my host system is constantly reading Guest 4's VDI file from my hard disk even when I am not using that virtual machine (whether VB is active or not). As a matter of fact, it reads the file as soon as I boot my system. I validated this by checking the Resource Monitor and looking under the "Disk" section. The Resource Monitor is a tool within Windows that allows one to monitor system resources. Below is a snapshot in time of my Hard Disk utilization (I'm only showing the entry of concern. There are obviously other files being read and written from the hard drive):

Image: svchost.exe (LocalSystemNetworkRestricted)
PID: 576
File: C:\path\filename.vdi
Read (B/min): 432,140,804
Write (B/min): 0
IO Priority: Background
Response Time (ms): 43

Why would this be happening, if it should be happening at all?
RSalameh
Posts: 25
Joined: 15. Mar 2009, 12:23

Re: Host Constantly Reading VDI File

Post by RSalameh »

Prefetch and Superfetch are brand new to me so I did some reading on it. I'm positive you are right that this is causing the problem. Windows Vista has a "Prefetch" folder located in "C:\Windows\Prefetch" that stores trace files of commonly used applicatons and boot processes that are preloaded into Windows for faster access. In my "Prefetch" folder, there are some VirtualBox and svchost.exe trace files. As I have been using VB everyday, it looks like it is reading these VDI files into memory immediately upon booting my system. Several minutes after my system boots, my hard disk stops reading these files, which leads me to believe that it has read the file into memory. Is this a correct analysis?
vbox4me2
Volunteer
Posts: 5218
Joined: 21. Nov 2008, 20:27
Location: Rotterdam
Contact:

Re: Host Constantly Reading VDI File

Post by vbox4me2 »

Yep, all this prestuff isn't really needed unless you only use office stuff, then its handy, for the rest its useless.
RSalameh
Posts: 25
Joined: 15. Mar 2009, 12:23

Re: Host Constantly Reading VDI File

Post by RSalameh »

So how do I go about preventing my system from loading these huge VDIs into memory? Considering I do tweak SuperFetch to prevent it from loading these huge VDI files and since this SuperFetch tool is constantly running and monitoring activity, how do I know its not going to start reading my VDI files at some point again in the future?
vbox4me2
Volunteer
Posts: 5218
Joined: 21. Nov 2008, 20:27
Location: Rotterdam
Contact:

Re: Host Constantly Reading VDI File

Post by vbox4me2 »

Just disable those pre/superfetch services, thats all there is to it.
RSalameh
Posts: 25
Joined: 15. Mar 2009, 12:23

Re: Host Constantly Reading VDI File

Post by RSalameh »

Ideally, I'd like to try and keep those services running but prevent them from touching VirtualBox. How can I do that?
vbox4me2
Volunteer
Posts: 5218
Joined: 21. Nov 2008, 20:27
Location: Rotterdam
Contact:

Re: Host Constantly Reading VDI File

Post by vbox4me2 »

There is no known way to exclude files from superfetch yet.
Post Reply