From: William Kenworthy <billk@iinet.net.au>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Btrfs: how to fix slow sequential write performance?
Date: Wed, 25 Sep 2013 17:22:06 +0800 [thread overview]
Message-ID: <5242AB3E.1030505@iinet.net.au> (raw)
In-Reply-To: <5242A4CF.7000902@marc-stuermer.de>
On 25/09/13 16:54, Marc Stürmer wrote:
> Greetings fellow Gentooistas,
>
> at the moment I am doing some testing and evaluating of Btrfs on my own
> system. Why? Just because I can and I am curious about it.
>
> Because I am doing that for evaluation purpose please don't give advise
> like "go ZFS" or something like that, thank you.
>
> Kernel is 3.10.7, the file system is on one hard drive only (SATA).
>
> And here comes my question: sequential write access seems to be slow as
> hell, actually something around like 10 Mbyte/s according to dd's output.
>
> The same HDD performed under ext4 with around 90 Mbyte/s.
>
> Command is something like: dd if=/dev/zero of=file.img bs=1G count=150
>
> Nothing else is running at the time of writing, no scrub/balance on the
> file system or other process eating up much cpu time.
>
> Mount option is "relatime" only. So is this a well known issue only with
> this kernel or generally with this file system at the moment?
>
> Are there any possible fixes to squeeze better performance out of it or
> is this unlikely to happen so that I should better take that into
> account of my evaluation and maybe dump it then?
>
> Thanks in advance.
>
How old is the fs? - I am ran into a major slowdown due to COW snapshot
fragmentation (VMs on ceph using btrfs) - a known problem. Using that
kernel is also giving me an eventual hard lockup if I try and do a
recursive defrag (on another system), but the ssd on an apple air
defraged fine.
btrfs is also seems very sensitive to how full it is. Have you tried a
btrfsck? - some errors seem to cause slowdowns as well.
BillK
prev parent reply other threads:[~2013-09-25 9:22 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-25 8:54 [gentoo-user] Btrfs: how to fix slow sequential write performance? Marc Stürmer
2013-09-25 9:22 ` William Kenworthy [this message]
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=5242AB3E.1030505@iinet.net.au \
--to=billk@iinet.net.au \
--cc=gentoo-user@lists.gentoo.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