git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [DISCUSS] Update some default values


Il mar 27 mar 2018, 00:56 Sijie Guo <guosijie@xxxxxxxxx> ha scritto:

> Hi all,
>
> I went through the bookkeeper configuration file to see if there are any
> settings we should change their default values for most of the
> installations.
>
> Here I would like to raise a discussion about two settings:
>
> - `journalRemoveFromPageCache`: this settings is false. but it should be
> enabled by default, because journal pages are okay to be removed from page
> cache after they are fsynced to disks. That is what Twitter/Yahoo is using
> on production.
>
> - `fileInfoCacheInitialCapacity`: this setting is related to
> `openFileLimit`. `openFileLimit` is 20000 by default. so change this value
> to 1/4 of openFileLimit, giving a good balance between initial capacity and
> the limit and also avoid resizing cache too many times if it eventually
> hits the limit.
>
> Here the proposed change: https://github.com/apache/bookkeeper/pull/1294


Sounds good to me.
Already sent my +1

And thank you for revaming config files and docs

Enrico



>
>
>
>
>
>
> - Sijie
>
-- 


-- Enrico Olivelli