public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Andrew Savchenko <bircoph@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] ceph on btrfs
Date: Thu, 23 Oct 2014 17:49:03 +0400	[thread overview]
Message-ID: <20141023174903.dfc6e5be9f0213c4cd884101@gmail.com> (raw)
In-Reply-To: <loom.20141022T213802-32@post.gmane.org>

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

Hi,

On Wed, 22 Oct 2014 20:05:48 +0000 (UTC) James wrote:
> Hello,
> 
> So looking at the package sys-cluster/ceph, I see these flags:
> cryptopp debug fuse gtk +libaio libatomic +nss radosgw static-libs tcmalloc
> xfs zfs   No specific flags for btrfs?

Ceph is optimized for btrfs by design, it has no configure options
to enable or disable btrfs-related stuff:
https://github.com/ceph/ceph/blob/master/configure.ac
No configure option => no use flag.
 
> ceph-0.67.9 is marked stable, while 0.67.10 and  0.80.5 are marked
> (yellow) testing and *9999 is marked (red) masked. So what version
> would anyone recommend, with what flags?  [1]

Just use the latest (0.80.7 ATM). You may just nerame and rehash
0.80.5 ebuild (usually this works fine). Or you may stay with
0.80.5, but with fewer bug fixes.
 
>  Ceph will be the DFS on top of a (3) node mesos+spark cluster. 
> btrfs is being  set up with 2 disks in raid 1 on each system. Btrfs
> seems to be keenly compatible with ceph [2].

If raid is supposed to be read more frequently than written to,
then my favourite solution is raid-10-f2 (2 far copies, perfectly
fine for 2 disks). This will give you read performance of raid-0 and
robustness of raid-1. Though write i/o will be somewhat slower due
to more seeks.

Also it depends on workload: if you'll have a lot of independent
read requests, raid-1 will be fine too. But for large read i/o from
a single or few clients raid-10-f2 is the best imo.

> Guidance and comments, warmly requested,
> James
> 
> 
> [1] 
> http://ceph.com/docs/v0.78/rados/configuration/filesystem-recommendations/
> 
> [2] http://ceph.com/docs/master/release-notes/#v0-80-firefly

Best regards,
Andrew Savchenko

[-- Attachment #2: Type: application/pgp-signature, Size: 819 bytes --]

  reply	other threads:[~2014-10-23 13:49 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-22 20:05 [gentoo-user] ceph on btrfs James
2014-10-23 13:49 ` Andrew Savchenko [this message]
2014-10-23 19:41   ` [gentoo-user] " James
2014-10-24 10:02     ` Andrew Savchenko
2014-10-24 16:20       ` James
2014-10-25 10:00         ` Andrew Savchenko

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=20141023174903.dfc6e5be9f0213c4cd884101@gmail.com \
    --to=bircoph@gmail.com \
    --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