From: Bob Peterson <rpeterso@redhat.com>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] [GFS2 PATCH] GFS2: Block reservation doubling scheme
Date: Thu, 9 Oct 2014 23:39:30 -0400 (EDT) [thread overview]
Message-ID: <1434862380.575692.1412912370946.JavaMail.zimbra@redhat.com> (raw)
In-Reply-To: <463016676.6312142.1412780615512.JavaMail.zimbra@redhat.com>
----- Original Message -----
> ----- Original Message -----
> > This patch introduces a new block reservation doubling scheme. If we
>
> Maybe I sent this patch out prematurely. Instead of doubling the
> reservation, maybe I should experiment with making it grow additively.
> IOW, Instead of 32-64-128-256-512, I should use:
> 32-64-96-128-160-192-224-etc...
> I know other file systems using doubling schemes, but I'm concerned
> about it being too aggressive.
I tried an additive reservations algorithm. I basically changed the
previous patch from doubling the reservation to adding 32 blocks.
In other words, I replaced:
+ ip->i_rsrv_minblks <<= 1;
with this:
+ ip->i_rsrv_minblks += RGRP_RSRV_MINBLKS;
The results were not as good, but still very impressive, and maybe
acceptable:
Reservation doubling scheme:
EXTENT COUNT FOR OUTPUT FILES = 310103
EXTENT COUNT FOR OUTPUT FILES = 343990
EXTENT COUNT FOR OUTPUT FILES = 332818
EXTENT COUNT FOR OUTPUT FILES = 336852
EXTENT COUNT FOR OUTPUT FILES = 334820
Reservation additive scheme (32 blocks):
EXTENT COUNT FOR OUTPUT FILES = 322406
EXTENT COUNT FOR OUTPUT FILES = 341665
EXTENT COUNT FOR OUTPUT FILES = 341769
EXTENT COUNT FOR OUTPUT FILES = 348676
EXTENT COUNT FOR OUTPUT FILES = 348079
So I'm looking for opinions:
(a) Stick with the original reservation doubling patch, or
(b) Go with the additive version.
(c) Any other ideas?
Regards,
Bob Peterson
Red Hat File Systems
next prev parent reply other threads:[~2014-10-10 3:39 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1612755211.6184739.1412773976742.JavaMail.zimbra@redhat.com>
2014-10-08 13:29 ` [Cluster-devel] [GFS2 PATCH] GFS2: Block reservation doubling scheme Bob Peterson
2014-10-08 15:03 ` Bob Peterson
2014-10-10 3:39 ` Bob Peterson [this message]
2014-10-10 9:07 ` Steven Whitehouse
2014-10-14 13:44 ` Bob Peterson
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=1434862380.575692.1412912370946.JavaMail.zimbra@redhat.com \
--to=rpeterso@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.