Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I use an external disk to store virtualbox's hard disk image.

I think if there is any way to decrease the number of reads/writes to the hard disk, maybe by using more physical memory, it may have better performance and less usage of the external disk.

Am I right? If so, how do you do that?

Thank you

share|improve this question
    
If you have an eSata port, you should use that. USB 2.0 FTL. –  surfasb Oct 10 '11 at 2:23
    
How to check do I have eSata port and if yes,how to use it?Thank you~ –  sam Dec 14 '11 at 0:30

2 Answers 2

up vote 1 down vote accepted

I guess there are file consistency considerations that require vbox to faithfully carry out every disk write access required by the guest OS to the physical disk. File systems normally assume that disks perform write operations roughly in the order as they are issued (especially if the hard disk is explicitly instructed to flush its cache between writes). If vbox adopts any delayed writing or large write cache, the ordering may be violated and the file system in the guest may get corrupted if the vm is not closed properly.

Read caching, on the other hand, is really handled by the operating system and I believe it's pretty good in both Linux and recent Windows. The only thing you can do is to add more physical memory or close programs on the hose system when you're using the VM.

You may be able to reduce disk access due to paging in the guest. Simply allocate more memory to the VM and shrink/disable the page file.

(Edit: typo fixes)

share|improve this answer

Certainly if you haven't given the VM enough ram the vm will swap to disk. To add ram, stop the vm, select properties, System and set the Base Memory. You may want to eval the VM first to ensure it is RAM starved before doing this.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.