cluster-devel.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Steven Whitehouse <swhiteho@redhat.com>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] [PATCH 0/2] GFS2: inplace_reserve performance improvements
Date: Fri, 28 Sep 2018 16:09:54 +0100	[thread overview]
Message-ID: <cff024a2-498d-5c33-e319-d1abfcdfcf59@redhat.com> (raw)
In-Reply-To: <2750068.OGLyu1R2mJ@dhcp-3-135.uk.xensource.com>

Hi,


On 28/09/18 14:43, Tim Smith wrote:
> On Friday, 28 September 2018 14:18:59 BST Steven Whitehouse wrote:
>> Hi,
>>
>> On 28/09/18 13:50, Mark Syms wrote:
>>> Hi Bon,
>>>
>>> The patches look quite good and would seem to help in the intra-node
>>> congestion case, which our first patch was trying to do. We haven't tried
>>> them yet but I'll pull a build together and try to run it over the
>>> weekend.
>>>
>>> We don't however, see that they would help in the situation we saw for the
>>> second patch where rgrp glocks would get bounced around between hosts at
>>> high speed and cause lots of state flushing to occur in the process as
>>> the stats don't take any account of anything other than network latency
>>> whereas there is more involved with a rgrp glock when state needs to be
>>> flushed.
>>>
>>> Any thoughts on this?
>>>
>>> Thanks,
>>>
>>> 	Mark.
>> There are a few points here... the stats measure the latency of the DLM
>> requests. Since in order to release a lock, some work has to be done,
>> and the lock is not released until that work is complete, the stats do
>> include that in their timings.
> I think what's happening for us is that the work that needs to be done to
> release an rgrp lock is happening pretty fast and is about the same in all
> cases, so the stats are not providing a meaningful distinction. We see the
> same lock (or small number of locks) bouncing back and forth between nodes
> with neither node seeming to consider them congested enough to avoid, even
> though the FS is <50% full and there must be plenty of other non-full rgrps.
>

It could well be that is the case. The system was designed to deal with 
inter-node contention on resource group locks. If there is no inter-node 
contention then the times should be similar and the system should have 
little effect. If the contention is all intra-node then we'd prefer a 
solution which increases the parallelism there - it covers more use 
cases than just allocation. Also it will help to keep related blocks 
closer too each other, particularly as the filesystem ages.

If might also be that there is a bug too - so worth looking closely at 
the numbers just to make sure that it is working as intended,

Steve.



  parent reply	other threads:[~2018-09-28 15:09 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-20 14:52 [Cluster-devel] [PATCH 0/2] GFS2: inplace_reserve performance improvements Mark Syms
2018-09-20 14:52 ` [Cluster-devel] [PATCH 1/2] Add some randomisation to the GFS2 resource group allocator Mark Syms
2018-09-20 14:52 ` [Cluster-devel] [PATCH 2/2] GFS2: Avoid recently demoted rgrps Mark Syms
2018-09-20 17:17 ` [Cluster-devel] [PATCH 0/2] GFS2: inplace_reserve performance improvements Bob Peterson
2018-09-20 17:47   ` Mark Syms
2018-09-20 18:16     ` Steven Whitehouse
2018-09-28 12:23     ` Bob Peterson
2018-09-28 12:36       ` Mark Syms
2018-09-28 12:50         ` Mark Syms
2018-09-28 13:18           ` Steven Whitehouse
2018-09-28 13:43             ` Tim Smith
2018-09-28 13:59               ` Bob Peterson
2018-09-28 14:11                 ` Mark Syms
2018-09-28 15:09                 ` Tim Smith
2018-09-28 15:09               ` Steven Whitehouse [this message]
2018-09-28 12:55         ` Bob Peterson
2018-09-28 13:56           ` Mark Syms
2018-10-02 13:50             ` Mark Syms

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cff024a2-498d-5c33-e319-d1abfcdfcf59@redhat.com \
    --to=swhiteho@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).