From: Michael Nishimoto <miken@agami.com>
To: David Chinner <dgc@sgi.com>
Cc: xfs@oss.sgi.com
Subject: Re: Reducing memory requirements for high extent xfs files
Date: Fri, 22 Jun 2007 16:58:06 -0700 [thread overview]
Message-ID: <467C620E.4050005@agami.com> (raw)
In-Reply-To: <20070606234723.GC86004887@sgi.com>
>
> > Also, should we consider a file with 1MB extents as
> > fragmented? A 100GB file with 1MB extents has 100k extents.
>
> Yes, that's fragmented - it has 4 orders of magnitude more extents
> than optimal - and the extents are too small to allow reads or
> writes to acheive full bandwidth on high end raid configs....
Fair enough, so multiply those numbers by 100 -- a 10TB file with 100MB
extents. It seems to me that we can look at the negative effects of
fragmentation in two ways here. First, (regardless of size) if a file
has a large number of extents, then it is too fragmented. Second, if
a file's extents are so small that we can't get full bandwidth, then it
is too fragmented.
If the second case were of primary concern, then it would be reasonable
to have 1000s of extents as long as each of the extents were big enough
to amortize disk latencies across a large amount of data.
We've been assuming that a good write is one which can send
2MB of data to a single drive; so with an 8+1 raid device, we need
16MB of write data to achieve high disk utilization. In particular,
there are flexibility advantages if high extent count files can
still achieve good performance.
Michael
next prev parent reply other threads:[~2007-06-25 6:18 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-30 16:49 Reducing memory requirements for high extent xfs files Michael Nishimoto
2007-05-30 22:55 ` David Chinner
2007-06-05 22:23 ` Michael Nishimoto
2007-06-05 23:11 ` Vlad Apostolov
2007-06-05 23:17 ` Vlad Apostolov
2007-06-06 1:36 ` David Chinner
2007-06-06 2:00 ` Vlad Apostolov
2007-06-06 2:05 ` Vlad Apostolov
2007-06-06 17:18 ` Michael Nishimoto
2007-06-06 23:47 ` David Chinner
2007-06-22 23:58 ` Michael Nishimoto [this message]
2007-06-25 2:47 ` David Chinner
2007-06-26 1:26 ` Nathan Scott
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=467C620E.4050005@agami.com \
--to=miken@agami.com \
--cc=dgc@sgi.com \
--cc=xfs@oss.sgi.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