Dear Gluster Users group,
We are looking from feedbacks, advise and production experience running GlusterFS in cloud infrastructure environment.
-- Main aim ---
Using GlusterFS as a mechanism to ensure data application sourcecode replication in order to run a web based Python Framework (https://github.com/odoo/odoo)
See attached cloud infrastructure diagram for more details.
As a Cloud provider we are using Google Cloud Platform.
Servers Specs
GlusterFS nodes
3 Nodes
each one with
2 Vcore
4 GB ram
100 SSD external disk (Gluster bricks)
We were able to setup and start a GlusterFS volume:
Volume Name: XXXXXXXXXXX
Type: Replicate
Volume ID:XXXXXXXXXXXXXXXXXXXXX
Status: Started
Snapshot Count: 0
Number of Bricks: 1 x 3 = 3
Transport-type: tcp
Bricks:
Brick1: node01:/mnt/disks/brick01/XXXXXXXXXXX
Brick2: node02:/mnt/disks/brick02/XXXXXXXXXXX
Brick3: node03:/mnt/disks/brick03/XXXXXXXXXXX
Options Reconfigured:
transport.address-family: inet
nfs.disable: on
diagnostics.latency-measurement: on
diagnostics.count-fop-hits: on
Then install and mount the glusterFS client on one of the application server.
GlusterFS client/application server spec
4 Vcore
8 GB Ram
We mount the glusterFS volume with the standard glusterfs client.
--- Main Problem ---
Access to the web application from the browser is very slow and we think we are experience really poor performance in case glusterFS have to handle small file (session file, .py sourcecode file).
We have try to read and understand this http://blog.gluster.org/2016/10/gluster-tiering-and-small-file-performance
But even with the new settings below the application still very slow.
sudo gluster volume set gvol0 features.cache-invalidation on
sudo gluster volume set gvol0 features.cache-invalidation-timeout 600
sudo gluster volume set gvol0 performance.stat-prefetch on
sudo gluster volume set gvol0 performance.cache-samba-metadata on
sudo gluster volume set gvol0 performance.cache-invalidation on
sudo gluster volume set gvol0 performance.md-cache-timeout 600
sudo gluster volume set gvol0 network.inode-lru-limit 90000
sudo gluster volume set gvol0 cluster.lookup-optimize on
If that helps, please find attach a txt file that collect the "profile" data after 2 hours of "data sharing".
--- Main questions ---
Are we facing a network speed performance?
Are we looking into the right direction (small file performance)?
Shall we look to implement NFS-Ganesha to gain more performance?
Any ideas on how we can tune and improved the situation?
If you need anything else in terms of logs or anything else, don't hesitate to contact us.
Thanks in advance to anyone willing to share their ideas/feedbacks.
Marino Buccolini
IT Development Manager
e: marino.buccolini@xxxxxxxxxxx
t: 020 8253 4450
w: https://bizitas.com
90-92 Southbridge Road
Croydon
CR0 1AF
United Kingdom
Bizitas Limited
Company Reg: 10145796
Think about the environment.. Do you really need to print this e-mail?
delete this e-mail immediately and advise the sender accordingly.
Sent by Bizitas Limited using Odoo.
Attachment:
profile_gluster_log.txt
Description: Binary data
Attachment:
Base GCP Architecture.pdf
Description: Binary data
_______________________________________________ Gluster-users mailing list Gluster-users@xxxxxxxxxxx http://lists.gluster.org/mailman/listinfo/gluster-users