From: Martin Steigerwald <Martin@lichtvoll.de>
To: linux-btrfs@vger.kernel.org
Subject: Re: BTRFS setup advice for laptop performance ?
Date: Sun, 06 Apr 2014 17:17:57 +0200 [thread overview]
Message-ID: <2460868.gOBF3IKSYk@merkaba> (raw)
In-Reply-To: <pan$1013e$ed20a34e$87a63f12$3c7b6f9f@cox.net>
Hi,
[not cc´ing you as you didn´t cc anyone and I think you do not like to be CC
´d, note that usual on kernel related mailing lists this is a convention, so I
may miss it at some time. not restoring other cc´s as I am lazy right now]
Am Samstag, 5. April 2014, 15:06:26 schrieb Duncan:
> Garry T. Williams posted on Sat, 05 Apr 2014 10:26:06 -0400 as excerpted:
> > I no longer see the slow degradation over time because I made the
> >
> > following directories recursively nodatacow:
> > .local/share/akonadi
>
> ...snip...
>
> OK, we now have a second link to akonadi (and browsers) and slowness,
> this one confirmed as nocow helping. Thanks. It's on my list to watch
> for and point out when I see it in posts, now.
I use Akonadi and Nepomuk, long time with, now without mail indexing on a Dual
SSD BTRFS RAID 1 setup in my laptop. I see performance issues with Akonadi but
as to what I observed none of these where related to storage.
But I observe, that running this setup for a longer time seems to give hefty
free space fragmentation, visible by increased fstrim times:
/home: 54407880704 bytes were trimmed
fstrim -v /home 0,00s user 12,25s system 25% cpu 48,062 total
This has almost been instant before.
And this is still good. I redid /home as downsizing the old BTRFS let the
kernel hang repeatedly. On the old setup, I had a time of several minutes.
On redoing /home I was lazy, and made it single first and converted it to raid1
for data and metadata. This may have some performance impact, cause last time
I balanced a BTRFS filesystem the boot time doubled.
That said /home appears to be fast enough for me.
Current setup:
merkaba:~> cat /proc/version
Linux version 3.14.0-tp520 (martin@merkaba) (gcc version 4.8.2 (Debian
4.8.2-17) ) #52 SMP PREEMPT Mon Mar 31 13:41:48 CEST 2014
Waiting for 3.15-rc2 or so :)
merkaba:~> file -Lsk /dev/sata/home
/dev/sata/home: BTRFS Filesystem label "home", sectorsize 4096, nodesize
16384, leafsize 16384, UUID=[…], 102075097088/322122547200 bytes used, 2
devices
That bytes used figure doesn´t seem quite right.
merkaba:~> btrfs fi df /home
Data, RAID1: total=116.00GiB, used=92.91GiB
System, single: total=4.00MiB, used=48.00KiB
Metadata, RAID1: total=4.00GiB, used=2.15GiB
merkaba:~> btrfs fi show
[…]
Label: home uuid: […]
Total devices 2 FS bytes used 95.06GiB
devid 1 size 150.00GiB used 120.00GiB path /dev/dm-0
devid 2 size 150.00GiB used 120.00GiB path /dev/mapper/sata-home
[…]
merkaba:~> grep /home /proc/mounts
/dev/dm-0 /home btrfs rw,noatime,compress=lzo,ssd,space_cache 0 0
/dev/dm-0 /mnt/home-zeit btrfs rw,noatime,compress=lzo,ssd,space_cache 0 0
I am unsure about the compress=lzo option. The 300 GB Intel SSD 320 (SATA)
does not compress, but I bet the 480 GB Crucial m500 (mSATA) does.
Ciao,
--
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA B82F 991B EAAC A599 84C7
next prev parent reply other threads:[~2014-04-06 15:18 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
2014-04-05 15:06 ` Duncan
2014-04-06 15:17 ` Martin Steigerwald [this message]
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=2460868.gOBF3IKSYk@merkaba \
--to=martin@lichtvoll.de \
--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).