From: Mark Nelson <mnelson-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
To: Barclay Jameson
<almightybeeij-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
ceph-users-Qp0mS5GaXlQ@public.gmane.org,
ceph-devel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: CephFS Slow writes with 1MB files
Date: Fri, 27 Mar 2015 11:50:59 -0500 [thread overview]
Message-ID: <55158A73.5010409@redhat.com> (raw)
In-Reply-To: <CAMzumdbezcb-p1_MpcSL-h8tTR0RKATt93Om6NPejtn1G6yPeQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
Specifically related to BTRFS, if you have random IO to existing objects
it will cause terrible fragmentation due to COW. BTRFS is often faster
than XFS initially but after it starts fragmenting can become much
slower for sequential reads. You may want to try XFS again and see if
you can improve the read performance (increasing read ahead both on the
cephfs client and on the underlying OSD block devices to something like
4MB might help).
Mark
On 03/27/2015 11:47 AM, Barclay Jameson wrote:
> Opps I should have said that I am not just writing the data but copying it :
>
> time cp Small1/* Small2/*
>
> Thanks,
>
> BJ
>
> On Fri, Mar 27, 2015 at 11:40 AM, Barclay Jameson
> <almightybeeij-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>> I did a Ceph cluster install 2 weeks ago where I was getting great
>> performance (~= PanFS) where I could write 100,000 1MB files in 61
>> Mins (Took PanFS 59 Mins). I thought I could increase the performance
>> by adding a better MDS server so I redid the entire build.
>>
>> Now it takes 4 times as long to write the same data as it did before.
>> The only thing that changed was the MDS server. (I even tried moving
>> the MDS back on the old slower node and the performance was the same.)
>>
>> The first install was on CentOS 7. I tried going down to CentOS 6.6
>> and it's the same results.
>> I use the same scripts to install the OSDs (which I created because I
>> can never get ceph-deploy to behave correctly. Although, I did use
>> ceph-deploy to create the MDS and MON and initial cluster creation.)
>>
>> I use btrfs on the OSDS as I can get 734 MB/s write and 1100 MB/s read
>> with rados bench -p cephfs_data 500 write --no-cleanup && rados bench
>> -p cephfs_data 500 seq (xfs was 734 MB/s write but only 200 MB/s read)
>>
>> Could anybody think of a reason as to why I am now getting a huge regression.
>>
>> Hardware Setup:
>> [OSDs]
>> 64 GB 2133 MHz
>> Dual Proc E5-2630 v3 @ 2.40GHz (16 Cores)
>> 40Gb Mellanox NIC
>>
>> [MDS/MON new]
>> 128 GB 2133 MHz
>> Dual Proc E5-2650 v3 @ 2.30GHz (20 Cores)
>> 40Gb Mellanox NIC
>>
>> [MDS/MON old]
>> 32 GB 800 MHz
>> Dual Proc E5472 @ 3.00GHz (8 Cores)
>> 10Gb Intel NIC
> --
> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
> the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
next prev parent reply other threads:[~2015-03-27 16:50 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-27 16:40 CephFS Slow writes with 1MB files Barclay Jameson
2015-03-27 16:47 ` Barclay Jameson
[not found] ` <CAMzumdbezcb-p1_MpcSL-h8tTR0RKATt93Om6NPejtn1G6yPeQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-03-27 16:50 ` Mark Nelson [this message]
2015-03-27 20:04 ` [ceph-users] " Gregory Farnum
2015-03-27 21:46 ` Barclay Jameson
2015-03-27 21:50 ` Gregory Farnum
[not found] ` <CAC6JEv-4D2kF7rrnGMncbE-_63+hdDzecqpB+HrMOKp1YGwv_w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-03-28 17:12 ` Barclay Jameson
[not found] ` <CAMzumda7VserizM5PEoT8mwYnTHeE4CFiUiLjnjqN2xXaeNVQQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-03-30 18:30 ` Gregory Farnum
[not found] ` <CAC6JEv_mMbKn+=nHjQmwxAk8T7=MjpJ7bXtHTeWKda7ogJ1GPg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-03-30 18:46 ` Barclay Jameson
2015-03-31 3:59 ` [ceph-users] " Yan, Zheng
[not found] ` <CAMzumdZG4Zqv5SWGTRTS_FTEUe3EwVbbBThjXVTP2gQadMhFsw@mail.gmail.com>
[not found] ` <CAMzumdZG4Zqv5SWGTRTS_FTEUe3EwVbbBThjXVTP2gQadMhFsw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-04-02 11:03 ` Yan, Zheng
2015-04-02 15:18 ` [ceph-users] " Barclay Jameson
[not found] ` <CAMzumdYdeTv0qF9VdNHb4CM=DNV_HC2nQ7sVnqJ+5w6=TrvCiQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-04-02 21:36 ` Barclay Jameson
2015-04-03 2:12 ` [ceph-users] " Yan, Zheng
2015-04-03 20:57 ` Barclay Jameson
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=55158A73.5010409@redhat.com \
--to=mnelson-h+wxahxf7alqt0dzr+alfa@public.gmane.org \
--cc=almightybeeij-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=ceph-devel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=ceph-users-Qp0mS5GaXlQ@public.gmane.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.