You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Dong Lin (JIRA)" <ji...@apache.org> on 2018/06/26 01:52:00 UTC
[jira] [Created] (KAFKA-7098) Improve accuracy of the log cleaner
throttle rate
Dong Lin created KAFKA-7098:
-------------------------------
Summary: Improve accuracy of the log cleaner throttle rate
Key: KAFKA-7098
URL: https://issues.apache.org/jira/browse/KAFKA-7098
Project: Kafka
Issue Type: Improvement
Reporter: Dong Lin
Assignee: Dong Lin
LogCleaner uses the Throttler class to throttler the log cleaning rate to the user-specified limit, i.e. log.cleaner.io.max.bytes.per.second. However, in Throttler.maybeThrottle(), the periodStartNs is set to the time before the sleep after the sleep() is called, which artificially increase the actual window size and under-estimate the actual log cleaning rate. This causes the log cleaning IO to be higher than the user-specified limit.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)