linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Swâmi Petaramesh" <swami@petaramesh.org>
To: Hugo Mills <hugo@carfax.org.uk>
Cc: Duncan <1i5t5.duncan@cox.net>, linux-btrfs@vger.kernel.org
Subject: Re: BTRFS setup advice for laptop performance ?
Date: Sun, 06 Apr 2014 11:24:02 +0200	[thread overview]
Message-ID: <2131050.Gsdb2GJxUb@tethys> (raw)
In-Reply-To: <20140405141340.GT7442@carfax.org.uk>

[-- Attachment #1: Type: text/plain, Size: 3708 bytes --]

Hi people :-)

Le samedi 5 avril 2014 15:13:40 Hugo Mills a écrit :
> 
>  - I'm not aware, particularly, of any major differences between
>    noatime and relatime in performance on btrfs. (But I may be wrong
>    there).

It's especially noticeable at first boot in a given day, as "relatime" will 
have atimes updated once a day.

I've noticed that the 1st boot on any given day can be up to 3-4 times longer 
on a BTRFS with "relatime" compared to a btrfs with "noatime". This is 
especially true if snapshots have recently been made.

>  - Given Duncan's discussion of the performance of the semantic
>    desktop, I would suggest turning it off *temporarily* to see if it
>    really is where the difficulty lies.

I'm afraid that this would turn my email off (I used Kmail and it's backing 
store is Akonadi, and non, I don't want to change MUA), and I can't really 
live long without it ;-)

>    (maybe delete the database and rebuild it regularly?

I'm not considering deleting the database. It contains about 1GB of my email 
archive and I've no clue about how I could possibly export and reimport it. 
The way the Kmail apps use the Akonadi backing store is somewhat tricky...

>    mark parts of it nodatacow?

I woud be allright about trying "nodatacow", but it's totally unclear to me 
what impact this can have on snapshots ?

Will "nodatacow" defeat snapshots, allowing data to change in snapshots ?

OTOH will snapshots force datacow to happen, defeating the purpose of 
nodatacow ?

As I don't want to break my DB, I won't use nodatacow until I'm sure about the 
consequences...

>    maybe autodefrag helps?

I've always used autodefrag... Plus I perform manual defrags more often than 
in Windows :-/

>    maybe it's something simple
>    the authors of the database can change?).

I'm not going to expect KDE people to change anything aytime soon upon users 
requests. Some very *SIMPLE* bugs confirmed by dozens of users have stayed in 
their bug tracker for years.

KDE bugs stay until somedays God decides to fix one. If ever.

>    If you truly find btrfs unusable -- which you've said at various
> points in the past -- then I'm not going to suggest that you keep
> using it. Maybe something else is genuinely better for you.

Every 9 months or so I reads reports or reviews or the BTRFS wiki stating that 
performance and stability of BTRFS have dramatically improved. Then I read 
everyting I can about new mkfs or btrfstune options, advice, best mount 
options, the wiki, and give it a try.

Typically a couple months later my machines slow down to the point where I 
come and start complaining here.

Usually 2 more months and I'm back either to ext4 or ZFS, depending on the 
machine's specific usage pattern...

I still think that BTRFS *should* be very promising *if* its developpers can 
fix the recurring performance issues and make it truly usable « for basic 
boring office use » which is currently typically my case on my laptops, and I'm 
no benchmark (or maybe a human one ?) and I can say that currently, BTRFS is 
*not* adapted for a KDE desktop running KMail and Firefox - but if it aint' no 
good at this very basic usage, well what is it good at ?

I'm not ranting because I love to shoot BTRFS down in flames, but because I'd 
love to be able to keep it on my system this time, and forget it, and not to 
reformat everything again in a month or so (as soon as I will tell myself : « 
Well, the improvements promised by kernel 3.14 are still far behind my 
usability needs »)...

Kind regards.

-- 
Swâmi Petaramesh <swami@petaramesh.org> http://petaramesh.org PGP 9076E32E

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 190 bytes --]

  reply	other threads:[~2014-04-06  9:25 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 [this message]
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
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=2131050.Gsdb2GJxUb@tethys \
    --to=swami@petaramesh.org \
    --cc=1i5t5.duncan@cox.net \
    --cc=hugo@carfax.org.uk \
    --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).