* [gentoo-user] Btrfs: how to fix slow sequential write performance?
@ 2013-09-25 8:54 Marc Stürmer
2013-09-25 9:22 ` William Kenworthy
0 siblings, 1 reply; 2+ messages in thread
From: Marc Stürmer @ 2013-09-25 8:54 UTC (permalink / raw
To: gentoo-user
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [gentoo-user] Btrfs: how to fix slow sequential write performance?
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
0 siblings, 0 replies; 2+ messages in thread
From: William Kenworthy @ 2013-09-25 9:22 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-09-25 9:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox