[Gluster-users] Gluster performance

José Ferradeira jf at logicworks.pt
Thu Apr 8 18:25:12 UTC 2021


Hello, 

I'm running oVirt with Glusterfs as storage. 
On a 10GB network. 

Gluster version: glusterfs 6.10 

Configuration: 
# gluster volume info data2 

Volume Name: data2 
Type: Distribute 
Volume ID: 3fc4d067-f845-47bc-beae-2be0106116b9 
Status: Started 
Snapshot Count: 0 
Number of Bricks: 1 
Transport-type: tcp 
Bricks: 
Brick1: engine.pt.ags.corp:/storage/brick1 
Options Reconfigured: 
performance.client-io-threads: off 
server.event-threads: 2 
client.event-threads: 4 
cluster.choose-local: on 
user.cifs: off 
features.shard: on 
cluster.shd-wait-qlength: 10000 
cluster.locking-scheme: granular 
cluster.data-self-heal-algorithm: full 
cluster.server-quorum-type: server 
cluster.quorum-type: auto 
cluster.eager-lock: enable 
network.remote-dio: enable 
performance.low-prio-threads: 32 
performance.io-cache: off 
performance.read-ahead: off 
performance.quick-read: off 
transport.address-family: inet 
nfs.disable: on 


On the same disks I did these tests: 

On a NFS storage: 

# dd if=/dev/zero of=test5.img bs=1G count=1 oflag=dsync 
1+0 registos dentro 
1+0 registos fora 
1073741824 bytes (1,1 GB) copiados, 1,70022 s, 632 MB/s 

# dd if=/dev/zero of=test5.img bs=5G count=1 oflag=dsync 
0+1 registos dentro 
0+1 registos fora 
2147479552 bytes (2,1 GB) copiados, 2,94035 s, 730 MB/s 


On the Gluster Storage 

dd if=/dev/zero of=test5.img bs=1G count=1 oflag=dsync 
1+0 registos dentro 
1+0 registos fora 
1073741824 bytes (1,1 GB) copiados, 2,22618 s, 482 MB/s 

# dd if=/dev/zero of=test5.img bs=5G count=1 oflag=dsync 
0+1 registos dentro 
0+1 registos fora 
2147479552 bytes (2,1 GB) copiados, 4,10337 s, 523 MB/s 


This means that NFS is faster than Gluster? 
How can I improve Gluster performance? 

Thanks 

-- 
Com os melhores cumprimentos | Kind Regards | Meilleures salutations | Met vriendelijke groeten, 
Descubra AQUI os novos superpoderes do Zimbra 9 

José Ferradeira 
T.: +351 214 261 698 
--------------------------------------------- 
Logicworks Tecnologias de Informática 
http://www.logicworks.pt 
www.acloud.pt 
serviços de alojamento e virtualização 




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20210408/33d6e6a4/attachment.html>


More information about the Gluster-users mailing list