From: Joel Becker <Joel.Becker@oracle.com>
To: ocfs2-devel@oss.oracle.com
Subject: [Ocfs2-devel] [RFC 0/4] Ocfs2 allocation reservations
Date: Wed, 20 Jan 2010 15:16:22 -0800 [thread overview]
Message-ID: <20100120231622.GE4333@mail.oracle.com> (raw)
In-Reply-To: <1260917320-15959-1-git-send-email-mfasheh@suse.com>
On Tue, Dec 15, 2009 at 02:48:39PM -0800, Mark Fasheh wrote:
> Hi, the following patches implement allocation reservations for Ocfs2. Right
> now I'd consider them to be beta quality - simple operations work but the
> code likely won't survive a kernel build. As it is implemented, the code
> only takes reservations on the local alloc bitmap. I've divorced the
> structures from any bitmap type however, so we can extend this to the chain
> allocators with only a small amount of code. Also, there's nothing in
> reservations.c which depends on a struct inode.
It looks nice and simple. As I read it, when you get some space
from the localalloc, you try to reserve the next space. Simple chaining
of requests. It's efficacy obviously depends on how much you reserve
for the next cycle.
> This version of the reservations code shows the following improvements:
>
> Inode: 66007 % fragmented: 50.00 clusters: 32 extents: 16
> Inode: 66009 % fragmented: 68.75 clusters: 32 extents: 22
> Inode: 66008 % fragmented: 43.75 clusters: 32 extents: 14
This is probably plenty good. Here's hoping the knob allows us
to tune it. We can probably run with different tunings to see where we
come out best.
Have you seen any deleterious effects from very aggressive
reservations?
Joel
--
"Time is an illusion, lunchtime doubly so."
-Douglas Adams
Joel Becker
Principal Software Developer
Oracle
E-mail: joel.becker at oracle.com
Phone: (650) 506-8127
prev parent reply other threads:[~2010-01-20 23:16 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-15 22:48 [Ocfs2-devel] [RFC 0/4] Ocfs2 allocation reservations Mark Fasheh
2009-12-15 22:48 ` [Ocfs2-devel] [RFC 1/3] ocfs2: " Mark Fasheh
2009-12-15 22:58 ` Mark Fasheh
2010-01-20 23:09 ` Joel Becker
2009-12-15 22:58 ` [Ocfs2-devel] [RFC 2/3] ocfs2: use allocation reservations during file write Mark Fasheh
2009-12-15 22:58 ` [Ocfs2-devel] [RFC 3/3] ocfs2: use allocation reservations for directory data Mark Fasheh
2010-01-20 23:16 ` Joel Becker [this message]
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=20100120231622.GE4333@mail.oracle.com \
--to=joel.becker@oracle.com \
--cc=ocfs2-devel@oss.oracle.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.