Dear Krutika,Sorry for asking so naively but can you tell me on what factor do you base that the client and server event-threads parameters for a volume should be set to 4?Is this metric for example based on the number of cores a GlusterFS server has?I am asking because I saw my GlusterFS volumes are set to 2 and would like to set these parameters to something meaningful for performance tuning. My setup is a two node replica with GlusterFS 3.8.11.Best regards,M.-------- Original Message --------Subject: Re: [Gluster-users] [ovirt-users] Very poor GlusterFS performanceLocal Time: June 20, 2017 12:23 PMUTC Time: June 20, 2017 10:23 AMFrom: kdhananj@redhat.comTo: Lindsay Mathieson <lindsay.mathieson@gmail.com>Couple of things:1. Like Darrell suggested, you should enable stat-prefetch and increase client and server event threads to 4.# gluster volume set <VOL> performance.stat-prefetch on# gluster volume set <VOL> client.event-threads 4# gluster volume set <VOL> server.event-threads 42. Also glusterfs-3.10.1 and above has a shard performance bug fix - https://review.gluster.org/#/c/16966/ With these two changes, we saw great improvement in performance in our internal testing.Do you mind trying these two options above?-KrutikaOn Tue, Jun 20, 2017 at 1:00 PM, Lindsay Mathieson <lindsay.mathieson@gmail.com> wrote:Have you tried with:performance.strict-o-direct : offperformance.strict-write-ordering : off They can be changed dynamically.On 20 June 2017 at 17:21, Sahina Bose <sabose@redhat.com> wrote:[Adding gluster-users]On Mon, Jun 19, 2017 at 8:16 PM, Chris Boot <bootc@bootc.net> wrote:Hi folks,I have 3x servers in a "hyper-converged" oVirt 4.1.2 + GlusterFS 3.10configuration. My VMs run off a replica 3 arbiter 1 volume comprised of6 bricks, which themselves live on two SSDs in each of the servers (onebrick per SSD). The bricks are XFS on LVM thin volumes straight onto theSSDs. Connectivity is 10G Ethernet.Performance within the VMs is pretty terrible. I experience very lowthroughput and random IO is really bad: it feels like a latency issue.On my oVirt nodes the SSDs are not generally very busy. The 10G networkseems to run without errors (iperf3 gives bandwidth measurements of >=9.20 Gbits/sec between the three servers).To put this into perspective: I was getting better behaviour from NFS4on a gigabit connection than I am with GlusterFS on 10G: that doesn'tfeel right at all.My volume configuration looks like this:Volume Name: vmssdType: Distributed-ReplicateVolume ID: d5a5ddd1-a140-4e0d-b514-701cfe464853 Status: StartedSnapshot Count: 0Number of Bricks: 2 x (2 + 1) = 6Transport-type: tcpBricks:Brick1: ovirt3:/gluster/ssd0_vmssd/brick Brick2: ovirt1:/gluster/ssd0_vmssd/brick Brick3: ovirt2:/gluster/ssd0_vmssd/brick (arbiter) Brick4: ovirt3:/gluster/ssd1_vmssd/brick Brick5: ovirt1:/gluster/ssd1_vmssd/brick Brick6: ovirt2:/gluster/ssd1_vmssd/brick (arbiter) Options Reconfigured:nfs.disable: ontransport.address-family: inet6performance.quick-read: offperformance.read-ahead: offperformance.io-cache: offperformance.stat-prefetch: offperformance.low-prio-threads: 32network.remote-dio: offcluster.eager-lock: enablecluster.quorum-type: autocluster.server-quorum-type: servercluster.data-self-heal-algorithm: full cluster.locking-scheme: granularcluster.shd-max-threads: 8cluster.shd-wait-qlength: 10000features.shard: onuser.cifs: offstorage.owner-uid: 36storage.owner-gid: 36features.shard-block-size: 128MBperformance.strict-o-direct: onnetwork.ping-timeout: 30cluster.granular-entry-heal: enableI would really appreciate some guidance on this to try to improve thingsbecause at this rate I will need to reconsider using GlusterFS altogether.Could you provide the gluster volume profile output while you're running your I/O tests.# gluster volume profile <volname> startto start profiling# gluster volume profile <volname> infofor the profile output.Cheers,Chris
--
Chris Boot
bootc@bootc.net
_______________________________________________
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users _______________________________________________ Gluster-users mailing list--Lindsay_______________________________________________ Users mailing list