<style type="text/css">
/*<![CDATA[*/
blockquote.c1 {border-left: 1px solid #cccccc; margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex}
/*]]>*/
</style> <blockquote class="c1">On 05/11/2014 02:04 AM, Vadims Korsaks wrote:<br /> > HI!<br /> ><br /> > Created 2 node setup with oVirt 3.4 and CentOS 6.5, for storage created<br /> > 2 node replicated gluster (3.5) fs on same hosts with oVirt.<br /> > mount looks like this:<br /> > 127.0.0.1:/gluster01 on<br /> > /rhev/data-center/mnt/glusterSD/127.0.0.1:_gluster01 type fuse.glusterfs<br /> > (rw,default_permissions,allow_other,max_read=131072)<br /> ><br /> > when i making gluster test with dd, something like<br /> > dd if=/dev/zero bs=1M count=20000<br /> > of=/rhev/data-center/mnt/glusterSD/127.0.0.1\:_gluster01/kaka<br /> > i'm gettting speed ~ 110 MB/s, so this is 1Gbps speed of ethernet adapter<br /> ><br /> > but with in VM created in oVirt speed is lower than 20 MB/s<br /> ><br /> > why there is so huge difference?<br /> > how can improve VMs disks speed?<br /> ><br /> <br /> What are your gluster volume settings? Have you applied the following<br /> performance tunables in gluster's virt profile:<br /> <br /> eager-lock=enable<br /> remote-dio=enable<br /> <br /> Regards,<br /> Vijay<br /> <br /></blockquote> setting were:<br />[root@centos155 ~]#  gluster volume info gluster01<br /> <br />Volume Name: gluster01<br />Type: Replicate<br />Volume ID: 436edaa3-ac8b-421f-aa35-68b5bd7064b6<br />Status: Started<br />Number of Bricks: 1 x 2 = 2<br />Transport-type: tcp<br />Bricks:<br />Brick1: 10.2.75.152:/mnt/gluster01/brick<br />Brick2: 10.2.75.155:/mnt/gluster01/brick<br />Options Reconfigured:<br />storage.owner-gid: 36<br />storage.owner-uid: 36<br /><br /><br /> add your settings settings now it looks <br /><br />[root@centos155 ~]#  gluster volume info gluster01<br /> <br />Volume Name: gluster01<br />Type: Replicate<br />Volume ID: 436edaa3-ac8b-421f-aa35-68b5bd7064b6<br />Status: Started<br />Number of Bricks: 1 x 2 = 2<br />Transport-type: tcp<br />Bricks:<br />Brick1: 10.2.75.152:/mnt/gluster01/brick<br />Brick2: 10.2.75.155:/mnt/gluster01/brick<br />Options Reconfigured:<br />network.remote-dio: enable<br />cluster.eager-lock: enable<br />storage.owner-gid: 36<br />storage.owner-uid: 36<br /><br /><br />but this didn't affected performace in any big way<br />should hosts to be restarted?<br />