You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bookkeeper.apache.org by Sijie Guo <gu...@gmail.com> on 2018/03/26 22:56:00 UTC
[DISCUSS] Update some default values
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
- Sijie
Re: [DISCUSS] Update some default values
Posted by Enrico Olivelli <eo...@gmail.com>.
Il mar 27 mar 2018, 00:56 Sijie Guo <gu...@gmail.com> 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