Thread (15 messages) 15 messages, 7 authors, 2016-01-24

Re: Interjection: autodefrag mount option aye, nae?

From: Kai Krakow <hidden>
Date: 2016-01-22 19:43:34

Am Fri, 22 Jan 2016 07:14:57 -0500
schrieb "Austin S. Hemmelgarn" [off-list ref]:
On 2016-01-21 15:59, Kai Krakow wrote:
quoted
Am Wed, 20 Jan 2016 10:39:58 -0500
schrieb "Austin S. Hemmelgarn" [off-list ref]:
quoted
On 2016-01-20 10:33, Al wrote:
quoted
[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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help