Chunk size

9 views
Skip to first unread message

Bálint Loch

unread,
Jun 2, 2012, 4:54:14 PM6/2/12
to kfs-...@googlegroups.com
Hi, is it possible to change the chunk size? And why is it exactly 64MB? Because the chunks on GFS is 64MB too?
Thank you'r answer and the KFS project too!!!

Sriram

unread,
Jun 4, 2012, 2:56:04 PM6/4/12
to KFS User
Hi,

Yes. Larger size is better: better from disk I/O perspective.

There is a constant that sets the chunk size at 64MB:

common/kfstypes.h:const size_t CHUNKSIZE = 64u << 20; //!< (64MB)

If you change this value, you'll need to rebuild and re-load your data
(i.e., reformat the data).

Sriram
Reply all
Reply to author
Forward
0 new messages