From: "Garry T. Williams" <gtwilliams@gmail.com>
To: linux-btrfs@vger.kernel.org
Subject: Re: BTRFS setup advice for laptop performance ?
Date: Sat, 05 Apr 2014 10:26:06 -0400 [thread overview]
Message-ID: <3745993.asvTJRMXlK@vfr> (raw)
In-Reply-To: <2692878.dRG1K49eOP@fnix>
On 4-4-14 10:02:27 Swâmi Petaramesh wrote:
> However I'm still concerned with chronic BTRFS dreadful performance
> and still find that BRTFS degrades much over time even with periodic
> defrag and "best practices" etc.
Yeah, I have experienced this, too. I can't say what your experience
was, but mine was all about copy-on-write along with two applications:
akonadi and Web browsers.
I no longer see the slow degradation over time because I made the
following directories recursively nodatacow:
.local/share/akonadi
.cache/google-chrome/Default
.cache/mozilla/firefox/ogtorq5r.default
To do that, I had to copy[*] all of the existing files in those
hierarchies after chattr +C on the directories.
Using btrfs on my home directory has been fine ever since.
______________
[*] Examining my shell history turned up this snippet from that time:
for i in 0 1 2 3;do
mv data_$i data_$i.t
touch data_$i
chattr +C data_$i
cp data_$i.t data_$i
rm data_$i.t
done
I carefully walked all the directories, while none of the applications
above were running, converting all of the files to +C. It took a
while as I remember. :-)
--
Garry T. Williams
next prev parent reply other threads:[~2014-04-05 14:26 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-04 8:02 BTRFS setup advice for laptop performance ? Swâmi Petaramesh
2014-04-04 12:33 ` Austin S Hemmelgarn
2014-04-04 12:48 ` Swâmi Petaramesh
2014-04-04 15:51 ` Austin S Hemmelgarn
2014-04-04 20:31 ` Duncan
2014-04-07 12:18 ` Johannes Hirte
2014-04-04 15:09 ` Hugo Mills
2014-04-04 22:35 ` Swâmi Petaramesh
2014-04-05 10:12 ` Duncan
2014-04-05 11:10 ` Swâmi Petaramesh
2014-04-05 12:16 ` Duncan
2014-04-05 14:13 ` Hugo Mills
2014-04-06 9:24 ` Swâmi Petaramesh
2014-04-07 15:11 ` Austin S Hemmelgarn
2014-04-08 11:56 ` Clemens Eisserer
2014-04-08 12:05 ` Austin S Hemmelgarn
2014-04-09 10:53 ` Chris Samuel
2014-04-12 13:17 ` Marc MERLIN
2014-04-12 17:12 ` Koen Kooi
2014-04-05 14:26 ` Garry T. Williams [this message]
2014-04-05 15:06 ` Duncan
2014-04-06 15:17 ` Martin Steigerwald
2014-04-09 11:08 ` Chris Samuel
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=3745993.asvTJRMXlK@vfr \
--to=gtwilliams@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