Bharata B Rao :<div>      Thanks!! This is what I wanted! </div><div>      I&#39;ll try your patch and make some test.</div><div>      BTW: why gluster-qemu <span style="background-color:rgb(255,255,255);font-family:verdana,sans-serif;line-height:13.333333015441895px">integration had so high </span><span style="background-color:rgb(255,255,255);color:rgb(34,34,34);font-size:14px;line-height:23px">performance than fuse mount?</span></div>
<div><br></div><div>Best Regards,</div><div>yinyin<br><br><div class="gmail_quote">On Thu, Aug 9, 2012 at 10:02 PM, John Mark Walker <span dir="ltr">&lt;<a href="mailto:johnmark@redhat.com" target="_blank">johnmark@redhat.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Bharata:<br>
<br>
Thanks for writing this up. I bet someone could take this information and flesh out more scenarios + tests, posting the results on <a href="http://gluster.org" target="_blank">gluster.org</a>. Any takers?<br>
<span class="HOEnZb"><font color="#888888"><br>
-JM<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
----- Original Message -----<br>
&gt; On Wed, Aug 8, 2012 at 11:50 PM, John Mark Walker<br>
&gt; &lt;<a href="mailto:johnmark@redhat.com">johnmark@redhat.com</a>&gt; wrote:<br>
&gt; &gt;<br>
&gt; &gt; ----- Original Message -----<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; Or change your perspective. Do you NEED to write to the VM image?<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; I write to fuse mounted GlusterFS volumes from within my VMs. The<br>
&gt; &gt;&gt; VM<br>
&gt; &gt;&gt; image is just for the OS and application. With the data on a<br>
&gt; &gt;&gt; GlusterFS<br>
&gt; &gt;&gt; volume, I get the normal fuse client performance from within my<br>
&gt; &gt;&gt; VM.<br>
&gt;<br>
&gt; I ran FIO on 3 scenarios and here are the comparison numbers from<br>
&gt; them:<br>
&gt;<br>
&gt; Scenario 1: GlusterFS block backend of QEMU is used for root and data<br>
&gt; partition (a gluster volume)<br>
&gt; ./x86_64-softmmu/qemu-system-x86_64 --enable-kvm --nographic -m 1024<br>
&gt; -smp 4 -drive file=gluster://bharata/rep/F16,if=virtio,cache=none<br>
&gt; -drive file=gluster://bharata/test/F17,if=virtio,cache=none<br>
&gt;<br>
&gt; Scenario 2: GlusterFS block backend of QEMU for root and GlusterFS<br>
&gt; FUSE mount for data partition<br>
&gt; ./x86_64-softmmu/qemu-system-x86_64 --enable-kvm --nographic -m 1024<br>
&gt; -smp 4 -drive file=gluster://bharata/rep/F16,if=virtio,cache=none<br>
&gt; -drive file=/mnt/F17,if=virtio,cache=none<br>
&gt; (Here data partition is FUSE mounted on host at /mnt)<br>
&gt;<br>
&gt; Scenarios 3: GlusterFS block backend of QEMU for root and FUSE<br>
&gt; mounting gluster data partition from inside VM<br>
&gt; ./x86_64-softmmu/qemu-system-x86_64 --enable-kvm --nographic -m 1024<br>
&gt; -smp 4 -drive file=gluster://bharata/rep/F16,if=virtio,cache=none<br>
&gt;<br>
&gt; FIO exercises the data partition in each case.<br>
&gt;<br>
&gt; Here are the numbers:<br>
&gt;<br>
&gt; Scenario 1:  aggrb=47836KB/s<br>
&gt; Scenario 2:  aggrb=20894KB/s<br>
&gt; Scenario 3:  aggrb=36936KB/s<br>
&gt;<br>
&gt; FIO load file I used is this:<br>
&gt; ; Read 4 files with aio at different depths<br>
&gt; [global]<br>
&gt; ioengine=libaio<br>
&gt; direct=1<br>
&gt; rw=read<br>
&gt; bs=128k<br>
&gt; size=512m<br>
&gt; directory=/data1<br>
&gt; [file1]<br>
&gt; iodepth=4<br>
&gt; [file2]<br>
&gt; iodepth=32<br>
&gt; [file3]<br>
&gt; iodepth=8<br>
&gt; [file4]<br>
&gt; iodepth=16<br>
&gt;<br>
&gt; Regards,<br>
&gt; Bharata.<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Gluster-devel mailing list<br>
&gt; <a href="mailto:Gluster-devel@nongnu.org">Gluster-devel@nongnu.org</a><br>
&gt; <a href="https://lists.nongnu.org/mailman/listinfo/gluster-devel" target="_blank">https://lists.nongnu.org/mailman/listinfo/gluster-devel</a><br>
&gt;<br>
<br>
_______________________________________________<br>
Gluster-devel mailing list<br>
<a href="mailto:Gluster-devel@nongnu.org">Gluster-devel@nongnu.org</a><br>
<a href="https://lists.nongnu.org/mailman/listinfo/gluster-devel" target="_blank">https://lists.nongnu.org/mailman/listinfo/gluster-devel</a><br>
</div></div></blockquote></div><br></div>