From: Kai Krakow <hurikhan77@gmail.com>
To: linux-btrfs@vger.kernel.org
Subject: Re: Interjection: autodefrag mount option aye, nae?
Date: Fri, 22 Jan 2016 20:43:25 +0100 [thread overview]
Message-ID: <20160122204325.19ff0805@jupiter.sol.kaishome.de> (raw)
In-Reply-To: 56A21D41.3020004@gmail.com
Am Fri, 22 Jan 2016 07:14:57 -0500
schrieb "Austin S. Hemmelgarn" <ahferroin7@gmail.com>:
> On 2016-01-21 15:59, Kai Krakow wrote:
> > Am Wed, 20 Jan 2016 10:39:58 -0500
> > schrieb "Austin S. Hemmelgarn" <ahferroin7@gmail.com>:
> >
> >> 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'd recommend to set chrome caching to simple http cache in
> > chrome://flags as this is more suitable for btrfs (as for most Unix
> > file systems which deal with many small files better than with
> > random updates in a big fat files).
> >
> > I experienced much improved performance and responsiveness with it.
> > May be worth a try for you. I'd be interested in your results.
> >
> > chrome://flags/#enable-simple-cache-backend
> >
> Thanks for the suggestion, it does in fact appear to improve things
> on BTRFS.
The original Chrome cache manages HTTP files in big, database-like
files. This design is better for Windows machines as NTFS (or probably
an almost non-existing IO scheduler) is not good at handling many small
files. Unix is traditionally much more optimized at that and
outperforms Windows here. Adding the fact that COW file systems are not
good at database-like workloads, it explains why it works much better.
But it was also more responsive when I used it back in my XFS days
(spanning multiple devices using LVM JBOD). So I stayed with it. The
multi-second freezes once in a while of Chrome drove me crazy. This
fixed it.
--
Regards,
Kai
Replies to list-only preferred.
next prev parent reply other threads:[~2016-01-22 19:43 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
2016-01-21 20:59 ` Kai Krakow
2016-01-22 12:14 ` Austin S. Hemmelgarn
2016-01-22 19:43 ` Kai Krakow [this message]
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=20160122204325.19ff0805@jupiter.sol.kaishome.de \
--to=hurikhan77@gmail.com \
--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).