From: "Michael L. Semon" <mlsemon35@gmail.com>
To: Alphazo <alphazo@gmail.com>, xfs@oss.sgi.com
Subject: Re: finobt option for end user
Date: Sun, 21 Dec 2014 15:38:40 -0500 [thread overview]
Message-ID: <54972FD0.5010601@gmail.com> (raw)
In-Reply-To: <CAHJqNbx8qrs6OosFq1TGz4jqzxh82zvLRzxQ1oWpOp5MP6h3oQ@mail.gmail.com>
On 12/20/14 17:52, Alphazo wrote:
> Hello,
>
> I'm pretty new to XFS. I'm considering moving away from ext4 to XFS because
> of the new self-describing option, performance and reliability improvements
> that XFS went through over the past year. Now I'm puzzled with the new free
> inode btree option (finobt). I tried to find some documentation about it
> but couldn't find the pros or cons. So from an end-user perspective with a
> couple of TB worth of photos:
> - Does it improve overall reliability?
> - Does it provide faster fsck/repair?
> - Does it improve any read or write operation?
> - Is it safe to use and does it recover as well as with finobt=0?
> - What is the typical case for enabling it and would you recommend using it
> for any new fs creation?
>
> Thank you in advance for your pointers.
> Alphazo
As a user...
You could try it out and see:
mkfs.xfs -m crc=1,finobt=1 <block_device_to_format>
Here, on old junk hardware, finobt aids greatly in multitasking on
small-file creation. It may not have the same effect on your hardware.
finobt has given very, very little trouble since it was accepted into the
kernel code and xfsprogs.
Recovery and reliability have become roughly equal between old XFS, new
XFS, and new XFS with finobt. They just approach the problem in different
ways. With old XFS, I rely heavily on xfs_repair and xfsdump to show
filesystem issues. With new XFS, the kernel code is more likely to complain
as the issues are happening.
finobt introduces the slightest bit of overhead that might be noticed at the
point of resource exhaustion. Otherwise, its overhead might be hard to spot.
As for safety and reliability, I'm working with kernel 3.18 with the drives'
write caches shut off and using the latest xfsprogs. It works great. The
new v5-superblock XFS progresses at a fast pace, and it helps greatly to
keep up with it. kernel 3.18 seems to be a better kernel, period. YMMV.
Try a test filesystem first and test to your liking first. If something
goes wrong, you should find that out in two weeks of testing the file
system.
Just curious, though, with that volume of images, is there a possibility of
making a read-only filesystem? That would take a lot of the safety and
recovery issues out of the equation, even if you stick with ext4. It would
make your main concern to sha256sum the files so that you can check them
later for bit-rot.
Good luck!
Michael
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
next prev parent reply other threads:[~2014-12-21 20:38 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-20 22:52 finobt option for end user Alphazo
2014-12-21 20:38 ` Michael L. Semon [this message]
2014-12-21 21:30 ` Alphazo
2014-12-21 22:18 ` Dave Chinner
2014-12-23 22:35 ` Alphazo
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=54972FD0.5010601@gmail.com \
--to=mlsemon35@gmail.com \
--cc=alphazo@gmail.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