[
https://issues.apache.org/jira/browse/BOOKKEEPER-968?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15656472#comment-15656472
]
ASF GitHub Bot commented on BOOKKEEPER-968:
-------------------------------------------
GitHub user dlg99 opened a pull request:
https://github.com/apache/bookkeeper/pull/77
BOOKKEEPER-968 Entry log flushes at configurable chunks
With this patch one can configure interval (in bytes) for entry log to
flush writes to the disk.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/dlg99/bookkeeper task/entry-log-flush
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/bookkeeper/pull/77.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #77
----
commit 8710bf8ff6e427a9fb63bce32e2b28f304c2118c
Author: Andrey Yegorov <[email protected]>
Date: 2016-11-11T08:10:35Z
BOOKKEEPER-968 Entry log flushes at configurable chunks
----
> Entry log flushes happen on log rotation and cause long spikes in IO
> utilization
> --------------------------------------------------------------------------------
>
> Key: BOOKKEEPER-968
> URL: https://issues.apache.org/jira/browse/BOOKKEEPER-968
> Project: Bookkeeper
> Issue Type: Improvement
> Components: bookkeeper-server
> Affects Versions: 4.5.0
> Reporter: Andrey Yegorov
> Assignee: Andrey Yegorov
> Priority: Minor
>
> Caught this issue on the servers with 128G of RAm. This is probably not an
> issue on servers/VMs with less RAM.
> With current implementation we end up with single entry log flush during log
> rotation.
> OS tries to flush everything as fast as possible and saturates disk. This
> results in long periods of high latency (reads and writes).
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)