All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Kirkwood <mark.kirkwood@catalyst.net.nz>
To: Mark Nelson <mark.nelson@inktank.com>
Cc: Josh Durgin <josh.durgin@inktank.com>, ceph-devel@vger.kernel.org
Subject: Re: Ceph RBD performance - random writes
Date: Thu, 09 Aug 2012 12:43:03 +1200	[thread overview]
Message-ID: <50230797.8040008@catalyst.net.nz> (raw)
In-Reply-To: <5022F7EF.2020007@catalyst.net.nz>

On 09/08/12 11:36, Mark Kirkwood wrote:
> On 09/08/12 09:58, Mark Nelson wrote:
>>
>> For what it's worth, with mostly default settings I was seeing about 
>> 8MB/s to dell branded samsung SSDs with 4k IOs using rados bench.  
>> That was with 256 concurrent client requests.  This is definitely 
>> something we are working hard on tracking down.
>>
>
> Right (FWIW I think the Dells are actually Toshiba devices - and are 
> pretty good). This is what I get doing the rados bench for 1M and 4K 
> blocks:
>
>

Sorry Josh - I completely missed the word "Samsung" in your 
post...(we've been testing some Dell branded SSD for another project and 
it was like giving blood to get the actual brand and model out of them)...

>
> $ rados bench -b 1048576 -t 256 -p rbd 100  write
> Total writes made:      3879
> Write size:             1048576
> Bandwidth (MB/sec):     38.414
>
> Stddev Bandwidth:       40.157
> Max bandwidth (MB/sec): 174
> Min bandwidth (MB/sec): 0
> Average Latency:        6.57279
> Stddev Latency:         6.20373
> Max latency:            28.531
> Min latency:            0.435691
>
>
> $ rados bench -b 4096 -t 256 -p rbd 100  write
> Total writes made:      4851
> Write size:             4096
> Bandwidth (MB/sec):     0.179
>
> Stddev Bandwidth:       0.378904
> Max bandwidth (MB/sec): 3.22266
> Min bandwidth (MB/sec): 0
> Average Latency:        5.60013
> Stddev Latency:         8.18634
> Max latency:            22.6542
> Min latency:            0.020016
>
>

I tried out a raft of xfs config changes and also made the Ceph journal 
really big (10G):

$ mkfs.xfs -f -l internal,size=1024m -d agcount=4 /dev/sd[b,c]2

+ mount options with nobarrier,logbufs=8

The results improved a little, but still very slow for small request 
sizes...


$ rados bench -b 1048576 -t 256 -p rbd 100  write
Total writes made:      5165
Write size:             1048576
Bandwidth (MB/sec):     50.646

Stddev Bandwidth:       18.8124
Max bandwidth (MB/sec): 205
Min bandwidth (MB/sec): 0
Average Latency:        4.93633
Stddev Latency:         0.549063
Max latency:            5.58999
Min latency:            1.90631


$ rados bench -b 4096 -t 256 -p rbd 100  write
Write size:             4096
Bandwidth (MB/sec):     0.316

Stddev Bandwidth:       0.874144
Max bandwidth (MB/sec): 3.96484
Min bandwidth (MB/sec): 0
Average Latency:        3.16257
Stddev Latency:         11.9167
Max latency:            58.1325
Min latency:            0.017823





  reply	other threads:[~2012-08-09  0:43 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-08  5:19 Ceph RBD performance - random writes Mark Kirkwood
2012-08-08 18:46 ` Josh Durgin
2012-08-08 21:58   ` Mark Nelson
2012-08-08 23:36     ` Mark Kirkwood
2012-08-09  0:43       ` Mark Kirkwood [this message]
2012-08-09  3:54         ` Mark Kirkwood
2012-08-09 11:42           ` Mark Nelson
2012-08-09 23:31             ` Mark Kirkwood
2012-08-14  5:41               ` Mark Kirkwood
2012-08-09 14:48 ` Matthew Richardson

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=50230797.8040008@catalyst.net.nz \
    --to=mark.kirkwood@catalyst.net.nz \
    --cc=ceph-devel@vger.kernel.org \
    --cc=josh.durgin@inktank.com \
    --cc=mark.nelson@inktank.com \
    /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.