Comparing Filesystem Performance in Virtual Machines
mitchellh.com
Comparing Filesystem Performance in Virtual Machines
1–10 of 46 posts
Re: Comparing Filesystem Performance in Virtual Machines
#2Re: Comparing Filesystem Performance in Virtual Machines
#3So i suppose, the host system caches the reads. Also, how could it possibly be true that native writes are slower then virtual writes?
Re: Comparing Filesystem Performance in Virtual Machines
#4How is it that native is slower then virtual i/o in his tests? I don't get it... if it's only reading some cached data, it's not a real test scenario, isn't it? So i suppose, the host system caches the reads. Also, how could it possibly be true that native writes are slower then virtual writes?
It is interesting that sometimes the native filesystem within the virtual machine outperforms the native filesystem on the host machine. This test uses raw read system calls with zero user-space buffering. It is very likely that the hypervisors do buffering for reads from their virtual machines, so they’re seeing better performance from not context switching to the native kernel as much. This theory is further supported by looking at the raw result data for fread benchmarks. In those tests, the native filesystem beats the virtual filesystems every time.
Re: Comparing Filesystem Performance in Virtual Machines
#5Re: Comparing Filesystem Performance in Virtual Machines
#6How is it that native is slower then virtual i/o in his tests? I don't get it... if it's only reading some cached data, it's not a real test scenario, isn't it? So i suppose, the host system caches the reads. Also, how could it possibly be true that native writes are slower then virtual writes?
Re: Comparing Filesystem Performance in Virtual Machines
#7How is it that native is slower then virtual i/o in his tests? I don't get it... if it's only reading some cached data, it's not a real test scenario, isn't it? So i suppose, the host system caches the reads. Also, how could it possibly be true that native writes are slower then virtual writes?
Re: Comparing Filesystem Performance in Virtual Machines
#8Is it just me or do the graphs not match up to the text in several places? For example in the 64MB random file write graph ( http://i.imgur.com/iGxn2H1.png ) green is the vmware native according to the legend, which is clearly the highest bar graph across the board, yet he says "VirtualBox continues to outperform VMware on writes"
Re: Comparing Filesystem Performance in Virtual Machines
#9Perhaps this support can be added to some later version of vagrant