All of lore.kernel.org
 help / color / mirror / Atom feed
* Questions of KeyValueStore (leveldb) backend
@ 2014-05-26  1:46 Guang Yang
  2014-05-26  4:55 ` Haomai Wang
  0 siblings, 1 reply; 5+ messages in thread
From: Guang Yang @ 2014-05-26  1:46 UTC (permalink / raw)
  To: haomaiwang; +Cc: Ceph-devel

Hello Haomai,
We are evaluating the key-value store backend which comes along with Firefly release (thanks for implementing it in Ceph), it is very promising for a couple of our use cases, after going through the related code change, I have a couple of questions which needs your help:
  1. One observation is that, for object larger than 1KB, it will be striped to multiple chunks (k-v in the leveldb table), with one strip as 1KB size. Is there any particular reason we choose 1KB as the strip size (and I didn’t find a configuration to tune this value)?

  2. This is properly a leveldb question, do we expect performance degradation as the leveldb instance keeps increasing (e.g. several TB)?

Thanks,
Guang--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Questions of KeyValueStore (leveldb) backend
  2014-05-26  1:46 Questions of KeyValueStore (leveldb) backend Guang Yang
@ 2014-05-26  4:55 ` Haomai Wang
  2014-05-26  5:09   ` Guang Yang
  2014-05-26  9:23   ` Wido den Hollander
  0 siblings, 2 replies; 5+ messages in thread
From: Haomai Wang @ 2014-05-26  4:55 UTC (permalink / raw)
  To: Guang Yang; +Cc: Ceph-devel

On Mon, May 26, 2014 at 9:46 AM, Guang Yang <yguang11@outlook.com> wrote:
> Hello Haomai,
> We are evaluating the key-value store backend which comes along with Firefly release (thanks for implementing it in Ceph), it is very promising for a couple of our use cases, after going through the related code change, I have a couple of questions which needs your help:
>   1. One observation is that, for object larger than 1KB, it will be striped to multiple chunks (k-v in the leveldb table), with one strip as 1KB size. Is there any particular reason we choose 1KB as the strip size (and I didn’t find a configuration to tune this value)?

1KB is not a serious value, this value can be configured in the near future.

>
>   2. This is properly a leveldb question, do we expect performance degradation as the leveldb instance keeps increasing (e.g. several TB)?

Ceph OSD is expected to own a physical disk, normally is several
TB(1-4TB). LevelDB can take it easy. Especially we use it to store
large value(compared to normal application usage).

>
> Thanks,
> Guang



-- 
Best Regards,

Wheat
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Questions of KeyValueStore (leveldb) backend
  2014-05-26  4:55 ` Haomai Wang
@ 2014-05-26  5:09   ` Guang Yang
  2014-05-26  9:23   ` Wido den Hollander
  1 sibling, 0 replies; 5+ messages in thread
From: Guang Yang @ 2014-05-26  5:09 UTC (permalink / raw)
  To: Haomai Wang; +Cc: Ceph-devel

Thanks!
On May 26, 2014, at 12:55 PM, Haomai Wang <haomaiwang@gmail.com> wrote:

> On Mon, May 26, 2014 at 9:46 AM, Guang Yang <yguang11@outlook.com> wrote:
>> Hello Haomai,
>> We are evaluating the key-value store backend which comes along with Firefly release (thanks for implementing it in Ceph), it is very promising for a couple of our use cases, after going through the related code change, I have a couple of questions which needs your help:
>>  1. One observation is that, for object larger than 1KB, it will be striped to multiple chunks (k-v in the leveldb table), with one strip as 1KB size. Is there any particular reason we choose 1KB as the strip size (and I didn’t find a configuration to tune this value)?
> 
> 1KB is not a serious value, this value can be configured in the near future.
> 
>> 
>>  2. This is properly a leveldb question, do we expect performance degradation as the leveldb instance keeps increasing (e.g. several TB)?
> 
> Ceph OSD is expected to own a physical disk, normally is several
> TB(1-4TB). LevelDB can take it easy. Especially we use it to store
> large value(compared to normal application usage).
> 
>> 
>> Thanks,
>> Guang
> 
> 
> 
> -- 
> Best Regards,
> 
> Wheat
> 

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Questions of KeyValueStore (leveldb) backend
  2014-05-26  4:55 ` Haomai Wang
  2014-05-26  5:09   ` Guang Yang
@ 2014-05-26  9:23   ` Wido den Hollander
  2014-05-26  9:29     ` Haomai Wang
  1 sibling, 1 reply; 5+ messages in thread
From: Wido den Hollander @ 2014-05-26  9:23 UTC (permalink / raw)
  To: Haomai Wang, Guang Yang; +Cc: Ceph-devel

On 05/26/2014 06:55 AM, Haomai Wang wrote:
> On Mon, May 26, 2014 at 9:46 AM, Guang Yang <yguang11@outlook.com> wrote:
>> Hello Haomai,
>> We are evaluating the key-value store backend which comes along with Firefly release (thanks for implementing it in Ceph), it is very promising for a couple of our use cases, after going through the related code change, I have a couple of questions which needs your help:
>>    1. One observation is that, for object larger than 1KB, it will be striped to multiple chunks (k-v in the leveldb table), with one strip as 1KB size. Is there any particular reason we choose 1KB as the strip size (and I didn’t find a configuration to tune this value)?
>
> 1KB is not a serious value, this value can be configured in the near future.
>

So that is currently hardcoded? I can't find any reference to it in 
config_opts.h

>>
>>    2. This is properly a leveldb question, do we expect performance degradation as the leveldb instance keeps increasing (e.g. several TB)?
>
> Ceph OSD is expected to own a physical disk, normally is several
> TB(1-4TB). LevelDB can take it easy. Especially we use it to store
> large value(compared to normal application usage).
>

With a large value you mean something like 4MB? The regular strip-size 
for RBD, CephFS and such?

>>
>> Thanks,
>> Guang
>
>
>


-- 
Wido den Hollander
42on B.V.

Phone: +31 (0)20 700 9902
Skype: contact42on
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Questions of KeyValueStore (leveldb) backend
  2014-05-26  9:23   ` Wido den Hollander
@ 2014-05-26  9:29     ` Haomai Wang
  0 siblings, 0 replies; 5+ messages in thread
From: Haomai Wang @ 2014-05-26  9:29 UTC (permalink / raw)
  To: Wido den Hollander; +Cc: Guang Yang, Ceph-devel

On Mon, May 26, 2014 at 5:23 PM, Wido den Hollander <wido@42on.com> wrote:
> On 05/26/2014 06:55 AM, Haomai Wang wrote:
>>
>> On Mon, May 26, 2014 at 9:46 AM, Guang Yang <yguang11@outlook.com> wrote:
>>>
>>> Hello Haomai,
>>> We are evaluating the key-value store backend which comes along with
>>> Firefly release (thanks for implementing it in Ceph), it is very promising
>>> for a couple of our use cases, after going through the related code change,
>>> I have a couple of questions which needs your help:
>>>    1. One observation is that, for object larger than 1KB, it will be
>>> striped to multiple chunks (k-v in the leveldb table), with one strip as 1KB
>>> size. Is there any particular reason we choose 1KB as the strip size (and I
>>> didn’t find a configuration to tune this value)?
>>
>>
>> 1KB is not a serious value, this value can be configured in the near
>> future.
>>
>
> So that is currently hardcoded? I can't find any reference to it in
> config_opts.h

Yes

>
>
>>>
>>>    2. This is properly a leveldb question, do we expect performance
>>> degradation as the leveldb instance keeps increasing (e.g. several TB)?
>>
>>
>> Ceph OSD is expected to own a physical disk, normally is several
>> TB(1-4TB). LevelDB can take it easy. Especially we use it to store
>> large value(compared to normal application usage).
>>
>
> With a large value you mean something like 4MB? The regular strip-size for
> RBD, CephFS and such?

Not 4MB, it should be 4KB matching the default page size in kernel. Or
4MB for radosgw goal.
I want to match the operation "set_alloc_size" and make it better for workload.


>
>>>
>>> Thanks,
>>> Guang
>>
>>
>>
>>
>
>
> --
> Wido den Hollander
> 42on B.V.
>
> Phone: +31 (0)20 700 9902
> Skype: contact42on



-- 
Best Regards,

Wheat
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-05-26  9:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-26  1:46 Questions of KeyValueStore (leveldb) backend Guang Yang
2014-05-26  4:55 ` Haomai Wang
2014-05-26  5:09   ` Guang Yang
2014-05-26  9:23   ` Wido den Hollander
2014-05-26  9:29     ` Haomai Wang

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.