linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Duncan <1i5t5.duncan@cox.net>
To: linux-btrfs@vger.kernel.org
Subject: Re: Interjection: autodefrag mount option aye, nae?
Date: Wed, 20 Jan 2016 18:39:39 +0000 (UTC)	[thread overview]
Message-ID: <pan$90a8f$b59e4c75$185631ae$dd96d553@cox.net> (raw)
In-Reply-To: 569FAA4E.1040204@gmail.com

Austin S. Hemmelgarn posted on Wed, 20 Jan 2016 10:39:58 -0500 as
excerpted:

> On 2016-01-20 10:33, Al wrote:
>> [very quietly] I've had autodefrag out of my mount options for a long
>> while now. Is that still the recommended position?

> I think it really depends on what you're doing.  In my case, I usually
> have it on, and the only issue I've ever seen is that Chrome sometimes
> loads pages from local cache slower than it should be.  I also don't use
> ridiculous numbers of snapshots either (I use them only to get a stable
> view of the filesystem when generating a backup), so I don't have much
> experience with how they interact with autodefrag.

I use autodefrag here too.

The situations where autodefrag won't make sense are going to be ones 
where people are doing large files (half-gig plus) with heavy rewrites -- 
typically large database and VM image files.  Those need other measures, 
generally nocow, lower snapshotting frequencies, and periodic manual 
defrag.

Autodefrag with heavy snapshotting is more of an open question, as would 
be autodefrag on SSD.  I'd personally argue that the benefits of 
autodefrag exceed the down sides in these cases, but can easily see how 
some may argue otherwise, so it's admin's call, after suitable testing if 
they care enough about it to do that.

Autodefrag is definitely recommended for "desktop" usage (particularly on 
non-ssd), however, where the largest random-rewrite-pattern files are the 
smaller (typically under quarter GiB) sqlite type databases common to 
firefox/chrome/thunderbird/evolution/etc, as that's where autodefrag does 
its best.

My typical usage is pretty close to this "desktop" usage, tho I am on 
SSD, so I use autodefrag.

-- 
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


  reply	other threads:[~2016-01-20 18:39 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-14 16:13 Query about proposed dedup patches and behaviours James Hogarth
2016-01-14 16:46 ` Austin S. Hemmelgarn
2016-01-14 19:26   ` Liu Bo
2016-01-14 19:41     ` Austin S. Hemmelgarn
2016-01-15  1:47       ` Duncan
2016-01-15  9:33         ` James Hogarth
2016-01-15 12:18           ` Duncan
2016-01-20 15:33       ` Interjection: autodefrag mount option aye, nae? Al
2016-01-20 15:39         ` Austin S. Hemmelgarn
2016-01-20 18:39           ` Duncan [this message]
2016-01-21 20:59           ` Kai Krakow
2016-01-22 12:14             ` Austin S. Hemmelgarn
2016-01-22 19:43               ` Kai Krakow
2016-01-23 22:11 ` Query about proposed dedup patches and behaviours Mark Fasheh
2016-01-24  5:12   ` 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$90a8f$b59e4c75$185631ae$dd96d553@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 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).