From: Duncan <1i5t5.duncan@cox.net>
To: linux-btrfs@vger.kernel.org
Subject: Re: btrfs: poor performance on deleting many large files
Date: Wed, 16 Dec 2015 08:10:42 +0000 (UTC) [thread overview]
Message-ID: <pan$4efca$3a4784ea$c11db74f$a631a8cf@cox.net> (raw)
In-Reply-To: 566F7D29.9000707@bouton.name
Lionel Bouton posted on Tue, 15 Dec 2015 03:38:33 +0100 as excerpted:
> I just checked: this has only be made crystal-clear in the latest
> man-pages version 4.03 released 10 days ago.
>
> The mount(8) page of Gentoo's current stable man-pages (4.02 release in
> August) which is installed on my systems states for noatime:
> "Do not update inode access times on this filesystem (e.g., for faster
> access on the news spool to speed up news servers)."
Hmm... I hadn't synced and updated in about that time, and sure enough,
while I've just synced I've not yet updated, and still have man-pages
4.02 installed.
But, the mount.8(.bz2 in my case as that's the compression I'm configured
for, I had to use man -d mount to debug-dump what file it was actually
loading) manpage actually belongs to util-linux, according to equery
belongs, while equery files man-pages | grep mount only returns hits for
mount.2(.bz2 and umount).
So at least here, it's util-linux providing the mount (8) manpage, not
man-pages.
Tho I'm on ~amd64 and IIRC just updated util-linux in the last update, so
the cross-ref to nodiratime in the noatime entry (saying it isn't
necessary as noatime covers it) probably came from there, or a similar
recent util-linux update.
Let's see...
My current util-linux (with the xref in both noatime and nodiratime to
the other, saying nodiratime isn't needed if noatime is used) is 2.27.1.
The oldest version I still have in my binpkg cache (tho I likely have
older on the backup) is util-linux 2.24.2. For noatime it has the
wording you mention, don't update inode access times, but for nodiratime,
it specifically mentions directory inode access times. So from util-linux
2.24.2 at least, the information was there, but you had to read between
the lines a bit more, because nodiratime mentions dir inodes, and noatime
says don't update atime on inodes, so it's there but you have to be a
reasonably astute reader to see it.
In between those two I have other versions including 2.26.2 and 2.27.
Looks like 2.27 added both the "implies nodiratime" wording to the noatime
entry, and the nodiratime unneeded if noatime set notation to the
nodiratime entry.
If there was a util-linux 2.26.x beyond x=2, I apparently never installed
it, so the wording likely changed with 2.27, but may have changed with
late 2.26 versions as well, if there were any beyond 2.26.2.
And on gentoo, 2.26.2 appears to be the latest stable-keyworded, so
that's what stable users would have.
But as I said, the info is there at least as of 2.24.2, you just have to
note in the nodiratime entry that it says dir inodes, while the noatime
entry simply says inodes, without excluding dir inodes. So it's there,
you just have to be a somewhat astute reader to note it.
Anywhere else, say on-the-net recommendations for nodiratime, /should/
mention that they aren't necessary if noatime is used as well, but of
course not all of them will. (Tho I'd actually find it a bit strange to
see discussion of nodiratime without discussion of noatime as well, as
I'd guess any discussion of just one of the two would likely be on
noatime, leaving nodiratime unmentioned if they're only covering one, as
it shouldn't be necessary to mention, since it's already included in
noatime.)
But there's probably a bunch of folks who originally read coverage of
noatime, then saw nodiratime later, and thought "Oh, that's separate?
Well I want that too!" and simply enabled them both, without actually
checking the manpage or other documentation including on-the-net
discussion.
I know here I originally saw noatime and decided I wanted it, then was
confused when I saw nodiratime sometime later. But I don't just enable
stuff without having some idea what I'm enabling, so I did my research,
and saw noatime implied nodiratime as well, so the only reason nodiratime
might be needed would be if you wanted atime in general, but not on dirs.
--
Duncan - List replies preferred. No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master." Richard Stallman
next prev parent reply other threads:[~2015-12-16 8:10 UTC|newest]
Thread overview: 48+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-23 1:43 btrfs: poor performance on deleting many large files Mitch Fossen
2015-11-23 6:29 ` Duncan
2015-11-25 21:49 ` Mitchell Fossen
2015-11-26 16:52 ` Duncan
2015-11-26 18:25 ` Christoph Anton Mitterer
2015-11-26 23:29 ` Duncan
2015-11-27 0:06 ` Christoph Anton Mitterer
2015-11-27 3:38 ` Duncan
2015-11-28 3:57 ` Christoph Anton Mitterer
2015-11-28 6:49 ` Duncan
2015-12-12 22:15 ` Christoph Anton Mitterer
2015-12-13 7:10 ` Duncan
2015-12-16 22:14 ` Christoph Anton Mitterer
2015-12-14 14:24 ` Austin S. Hemmelgarn
2015-12-14 19:39 ` Christoph Anton Mitterer
2015-12-14 20:27 ` Austin S. Hemmelgarn
2015-12-14 21:30 ` Lionel Bouton
2015-12-14 23:25 ` Christoph Anton Mitterer
2015-12-15 1:49 ` Duncan
2015-12-15 2:38 ` Lionel Bouton
2015-12-16 8:10 ` Duncan [this message]
2015-12-14 23:10 ` Christoph Anton Mitterer
2015-12-14 23:16 ` project idea: per-object default mount-options / more btrfs-properties / chattr attributes (was: btrfs: poor performance on deleting many large files) Christoph Anton Mitterer
2015-12-15 2:08 ` btrfs: poor performance on deleting many large files Duncan
2015-12-15 4:05 ` Chris Murphy
2015-11-27 1:49 ` Qu Wenruo
2015-11-23 12:59 ` Austin S Hemmelgarn
2015-11-26 0:23 ` [auto-]defrag, nodatacow - general suggestions?(was: btrfs: poor performance on deleting many large files?) Christoph Anton Mitterer
2015-11-26 0:33 ` Hugo Mills
2015-12-09 5:43 ` Christoph Anton Mitterer
2015-12-09 13:36 ` Duncan
2015-12-14 2:46 ` Christoph Anton Mitterer
2015-12-14 11:19 ` Duncan
2015-12-16 23:39 ` Kai Krakow
2015-12-14 1:44 ` Christoph Anton Mitterer
2015-12-14 10:51 ` Duncan
2015-12-16 23:55 ` Christoph Anton Mitterer
2015-11-26 23:08 ` Duncan
2015-12-09 5:45 ` Christoph Anton Mitterer
2015-12-09 16:36 ` Duncan
2015-12-16 21:59 ` Christoph Anton Mitterer
2015-12-17 4:06 ` Duncan
2015-12-18 0:21 ` Christoph Anton Mitterer
2015-12-17 4:35 ` Duncan
2015-12-17 5:07 ` Duncan
2015-12-17 5:12 ` Duncan
2015-12-17 6:00 ` Duncan
2015-12-17 6:01 ` Duncan
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='pan$4efca$3a4784ea$c11db74f$a631a8cf@cox.net' \
--to=1i5t5.duncan@cox.net \
--cc=linux-btrfs@vger.kernel.org \
/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.