Skip to contentSkip to conversation

Chunk size in Ceph

DISCUSSION Christian Baun 3 participants 4 messages Jun 28, 2010

lore
Share & tools
lore
#0 lore raw

Hi,

What is the chunk size of Ceph?
I couldn't find this information.

Best Regards
Christian

#2 lore raw

Hello all,

Sage informed me of the place where the default size is set a while back. In src/config.cc, the struct g_default_file_layout has a few default size parameters. He advised me that fl_stripe_unit and fl_object_size should be the same. He also told me there's a way to set those on individual files, though that's potentially a pain and could be easier by just setting the default at compile time.

There's also a feature request in on alternate methods of setting these. I'm sure the Ceph team would welcome input on this.

http://tracker.newdream.net/issues/185

--Alex

Quoted 25 lines · Thomas Mueller

Am Mon, 28 Jun 2010 16:27:54 +0200 schrieb Christian Baun:

Quoted 7 lines

Hi,

What is the chunk size of Ceph?
I couldn't find this information.

Best Regards
Christian

IMHO 4mb

found in first link if I google "ceph chunk size":
http://lmgtfy.com/?q=ceph+chunk+size

(http://www.usenix.org/events/fast09/wips_posters/molina_wip.pdf)

:)

- Thomas

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

#3 lore raw

Thanks a lot! :-)

Best Regards
Christian

Am Montag, 28. Juni 2010 schrieb Alex‎ Nelson:

Quoted 4 lines

Hello all,

Sage informed me of the place where the default size is set a while back. In src/config.cc, the struct g_default_file_layout has a few default size parameters. He advised me that fl_stripe_unit and fl_object_size should be the same. He also told me there's a way to set those on individual files, though that's potentially a pain and could be easier by just setting the default at compile time.

Quoted 29 lines

There's also a feature request in on alternate methods of setting these. I'm sure the Ceph team would welcome input on this.

http://tracker.newdream.net/issues/185

--Alex

Quoted 20 lines · Thomas Mueller

Am Mon, 28 Jun 2010 16:27:54 +0200 schrieb Christian Baun:

Quoted 7 lines

Hi,

What is the chunk size of Ceph?
I couldn't find this information.

Best Regards
Christian

IMHO 4mb

found in first link if I google "ceph chunk size":
http://lmgtfy.com/?q=ceph+chunk+size

(http://www.usenix.org/events/fast09/wips_posters/molina_wip.pdf)

:)

- Thomas

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