Re: Interjection: autodefrag mount option aye, nae?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am Fri, 22 Jan 2016 07:14:57 -0500
schrieb "Austin S. Hemmelgarn" <ahferroin7@xxxxxxxxx>:

> On 2016-01-21 15:59, Kai Krakow wrote:
> > Am Wed, 20 Jan 2016 10:39:58 -0500
> > schrieb "Austin S. Hemmelgarn" <ahferroin7@xxxxxxxxx>:
> >
> >> 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.

--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux