agiardullo b5b2b75e52 better tuning of arena block size
Summary: Currently, if users didn't set options.arena_block_size, we set "result.arena_block_size = result.write_buffer_size / 10". It makes result.arena_block_size not a multiplier of 4KB, even if options.write_buffer_size is a multiplier of MBs. When calling malloc to arena_block_size, we may waste a small amount of memory for it. We now make the default to be /8 or /16 and align it to 4KB.

Test Plan: unit tests

Reviewers: sdong

Reviewed By: sdong

Subscribers: dhruba, leveldb

Differential Revision: https://reviews.facebook.net/D46467
2015-09-08 20:53:32 -07:00
..
c.h
2015-07-17 18:59:11 +02:00
2015-06-18 13:56:31 -07:00
2015-04-23 12:10:36 -07:00
2015-08-07 21:59:51 -07:00
2015-07-01 16:13:56 -07:00
2015-09-08 20:53:32 -07:00
2015-08-06 17:59:05 -07:00
2015-08-31 16:13:29 -07:00
2015-07-17 18:59:11 +02:00
2015-08-13 11:17:10 -07:00
2015-07-29 16:54:23 -07:00
2015-07-29 16:54:23 -07:00