From: Brian Candler <B.Candler@pobox.com>
To: Dave Chinner <david@fromorbit.com>
Cc: David Fuller <dfuller@epoch.com>, xfs@oss.sgi.com
Subject: Re: Fragmentation Issue We Are Having
Date: Wed, 18 Apr 2012 10:00:51 +0100 [thread overview]
Message-ID: <20120418090051.GA14814@nsrc.org> (raw)
In-Reply-To: <20120418013607.GK6734@dastard>
On Wed, Apr 18, 2012 at 11:36:07AM +1000, Dave Chinner wrote:
> And it assumes that inode32 cannot do locality of
> files at all, when in fact it has tunable locality through a syctl.
>
> Indeed, here's some the performance enhancing games SGI play that
> can only be achieved by using the inode32 allocator:
>
> http://techpubs.sgi.com/library/tpl/cgi-bin/getdoc.cgi?coll=linux&db=bks&fname=/SGI_Admin/LX_XFS_AG/ch07.html
Ah, that's new to me. So with inode32 and
sysctl fs.xfs.rotorstep=255
you can get roughly the same locality benefit for sequentially-written files
as inode64? (Aside: if you have two processes writing files to two different
directories, will they end up mixing their files in the same AG? That
could hurt performance at readback time if reading them sequentially)
I'm not really complaining about anything here except the dearth of
readily-accessible information. If I download the whole admin book:
http://techpubs.sgi.com/library/manuals/4000/007-4273-004/pdf/007-4273-004.pdf
I see the option inode64 only mentioned once in passing (as being
incompatible with ibound). So if there's detailled information on
what exactly inode64 does and when to use it, it must be somewhere else.
Here's my user story. As a newbie, my first test was to make a 3TB
filesystem on a single drive, and I was doing a simple workload consisting
of writing 1000 files per directory sequentially. I could achieve a
sequential write speed of 75MB/s but only a sequential read speed of 25MB/s.
After questioning this on the list and eventually finding that files were
scattered around the disk (thanks to xfs_bmap). I was pointed to the
inode64 option, which I had seen in the FAQ but hadn't realised how big a
performance difference it would make.
This wasn't just an idle benchmark: my main application is creating a corpus
of files and then processing that corpus of files (either sequentially, or
with multiple processes each working sequentially through subsections of the
corpus)
Regards,
Brian.
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
next prev parent reply other threads:[~2012-04-18 9:01 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-12 1:04 Fragmentation Issue We Are Having David Fuller
2012-04-12 2:16 ` Dave Chinner
2012-04-12 2:55 ` David Fuller
2012-04-12 4:24 ` Eric Sandeen
2012-04-12 7:57 ` Brian Candler
2012-04-13 0:09 ` David Fuller
2012-04-13 7:19 ` Brian Candler
2012-04-13 7:56 ` Dave Chinner
2012-04-13 8:17 ` Brian Candler
2012-04-17 0:26 ` Dave Chinner
2012-04-17 8:58 ` Brian Candler
2012-04-18 1:36 ` Dave Chinner
2012-04-18 9:00 ` Brian Candler [this message]
2012-04-19 23:12 ` Dave Chinner
-- strict thread matches above, loose matches on Subject: below --
2012-04-19 19:54 Richard Scobie
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=20120418090051.GA14814@nsrc.org \
--to=b.candler@pobox.com \
--cc=david@fromorbit.com \
--cc=dfuller@epoch.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