linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Austin S. Hemmelgarn" <ahferroin7@gmail.com>
To: Adam Borowski <kilobyte@angband.pl>
Cc: Andrei Borzenkov <arvidjaar@gmail.com>,
	Martin Steigerwald <martin@lichtvoll.de>,
	waxhead@dirtcellar.net, Adam Hunt <voxadam@gmail.com>,
	linux-btrfs@vger.kernel.org
Subject: Re: lazytime mount option—no support in Btrfs
Date: Tue, 21 Aug 2018 08:17:54 -0400	[thread overview]
Message-ID: <d959efa3-4e45-c471-625d-c4ad747083ad@gmail.com> (raw)
In-Reply-To: <20180821120636.fatftem5qbhv22m4@angband.pl>

On 2018-08-21 08:06, Adam Borowski wrote:
> On Mon, Aug 20, 2018 at 08:16:16AM -0400, Austin S. Hemmelgarn wrote:
>> Also, slightly OT, but atimes are not where the real benefit is here for
>> most people.  No sane software other than mutt uses atimes (and mutt's use
>> of them is not sane, but that's a different argument)
> 
> Right.  There are two competing forks of mutt: neomutt and vanilla:
> https://github.com/neomutt/neomutt/commit/816095bfdb72caafd8845e8fb28cbc8c6afc114f
> https://gitlab.com/dops/mutt/commit/489a1c394c29e4b12b705b62da413f322406326f
> 
> So this has already been taken care of.
> 
>> so pretty much everyone who wants to avoid the overhead from them can just
>> use the `noatime` mount option.
> 
> atime updates (including relatime) are bad not only for performance, they
> also explode disk size used by snapshots (btrfs, LVM, ...) -- to the tune of
> ~5% per snapshot for some non-crafted loads.  And, are bad for media with
> low write endurance (SD cards, as used by most SoCs).
> 
> Thus, atime needs to die.
> 
>> The real benefit for most people is with mtimes, for which there is no
>> other way to limit the impact they have on performance.
> 
> With btrfs, any write already triggers metadata update (except nocow), thus
> there's little benefit of lazytime for mtimes.
But does that actually propagate all the way up to the point of updating 
the inode itself?  If so, then yes, there is not really any point.  if 
not though, then there is still a benefit.

  reply	other threads:[~2018-08-21 15:37 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-13 11:50 lazytime mount option—no support in Btrfs Adam Hunt
2017-08-14 13:19 ` Austin S. Hemmelgarn
2018-08-18 20:45 ` waxhead
2018-08-19  8:37   ` Martin Steigerwald
2018-08-19 10:25     ` Andrei Borzenkov
2018-08-20 12:16       ` Austin S. Hemmelgarn
2018-08-21 12:06         ` Adam Borowski
2018-08-21 12:17           ` Austin S. Hemmelgarn [this message]
2018-08-21 13:32             ` Janos Toth F.
2018-08-21 14:10               ` Austin S. Hemmelgarn
2018-08-21 16:05                 ` David Sterba
2018-08-21 17:01                   ` Austin S. Hemmelgarn
2018-08-22  3:57                     ` Duncan
2018-08-22 11:30                       ` Austin S. Hemmelgarn
2018-08-23  4:46                         ` Duncan
2018-08-22 13:48                     ` David Sterba
2018-08-22 13:56                       ` Austin S. Hemmelgarn
2018-08-22 15:01                         ` David Sterba
2018-08-22 16:59                           ` Austin S. Hemmelgarn
2018-08-23 23:33                 ` Janos Toth F.

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=d959efa3-4e45-c471-625d-c4ad747083ad@gmail.com \
    --to=ahferroin7@gmail.com \
    --cc=arvidjaar@gmail.com \
    --cc=kilobyte@angband.pl \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=martin@lichtvoll.de \
    --cc=voxadam@gmail.com \
    --cc=waxhead@dirtcellar.net \
    /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;
as well as URLs for NNTP newsgroup(s).