Interesting and timely article! On an Ubuntu guest (Windows host), I install the Samba server and then use the native Windows CIFS client to connect to the Ubuntu host. This gives me the advantage of vm (virtualbox) native filesystem and letting me use my windows machine to open files on the guest Perhaps this support can be added to some later version of vagrant
Comparing Filesystem Performance in Virtual Machines
11–20 of 46 posts
Re: Comparing Filesystem Performance in Virtual Machines
#12How 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?
From the article: 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…
Re: Comparing Filesystem Performance in Virtual Machines
#13Re: Comparing Filesystem Performance in Virtual Machines
#14How 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
#15Earlier quoted context omitted.
From the article: 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…
It doesn't explain a thing on why. He just measured the performance of memory access and different caching strategies. From my point of view the "benchmarks" say nothing at all about actual I/O disk performance in virtual and native environments.
And with that in mind, the "native" bars are pretty much useless in this article. They should always be higher than the VM bars, unless specifically trying to test fsync - and since it seems fsyncs are ignored, the test isn't being achieved.
Re: Comparing Filesystem Performance in Virtual Machines
#16Re: Comparing Filesystem Performance in Virtual Machines
#17Re: Comparing Filesystem Performance in Virtual Machines
#18Is 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"
He's probably talking about the Shared Folders performance.