From: Casper Bang <casper.bang@gmail.com>
To: linux-btrfs@vger.kernel.org
Subject: Re: Experiences: Why BTRFS had to yield for ZFS
Date: Wed, 19 Sep 2012 08:09:47 +0000 (UTC) [thread overview]
Message-ID: <loom.20120919T094704-616@post.gmane.org> (raw)
In-Reply-To: CAG1y0sfmGczX1u+JApcB3Dz_gd9g=mT6JGDKkqJR5fRfSViOTg@mail.gmail.com
> IIRC there were some patches post-3.0 which relates to sync. If oracle
> db uses sync writes (or call sync somewhere, which it should), it
> might help to re-run the test with more recent kernel. kernel-ml
> repository might help.
Yeah there doesn't seem to be a shortage of patches coming into btrfs
(just looking around the mailing-list) so that doesn't surprise me.
Indeed, reading about race conditions, deadlocks and locks being held too
long, does not serve to promote btrfs as particular production ready.
> > Ext4 starts out with a realtime to SCN ratio of about 3.4 and ends down
around a
> > factor 2.2.
> >
> > ZFS starts out with a realtime to SCN ratio of about 7.5 and ends down
around
a
> > factor 4.4.
>
> So zfsonlinux is actually faster than ext4 for that purpuse? coool !
Yes, rather amazingly fast - again, seems to us ZFS is optimized for write
while btrfs is optimized for read.
> Just wondering, did you use "discard" option by any chance? In my
> experience it makes btrfs MUCH slower.
I actually don't remember when we added this (we started out without it),
but I don't recall seeing a major difference. We should disable it however,
since the stupid fancy HP RAID controller refuses to pass on TRIM and Smart
commands anyway (and the propriatary HP SSD tools refuse to access
non-enterprise HP SSD's.
next prev parent reply other threads:[~2012-09-19 8:10 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-17 8:45 Experiences: Why BTRFS had to yield for ZFS Casper Bang
2012-09-17 9:15 ` Ralf Hildebrandt
2012-09-17 9:55 ` Casper Bnag
2012-09-17 10:05 ` Avi Miller
2012-09-17 10:47 ` Casper Bnag
2012-09-17 10:58 ` Avi Miller
2012-09-18 16:48 ` Andrew McGlashan
2012-09-18 21:46 ` Avi Miller
2012-09-18 5:28 ` Anand Jain
2012-09-19 7:28 ` Casper Bang
2012-09-19 7:36 ` Fajar A. Nugraha
2012-09-19 8:09 ` Casper Bang [this message]
2012-09-18 23:08 ` Gregory Farnum
2012-09-19 15:25 ` Chris Mason
2012-09-19 19:43 ` Casper Bang
2012-10-08 14:38 ` Casper Bang
2012-10-08 20:59 ` Avi Miller
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=loom.20120919T094704-616@post.gmane.org \
--to=casper.bang@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;
as well as URLs for NNTP newsgroup(s).