[ 
https://issues.apache.org/jira/browse/BOOKKEEPER-827?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14280428#comment-14280428
 ] 

Hudson commented on BOOKKEEPER-827:
-----------------------------------

SUCCESS: Integrated in bookkeeper-master #925 (See 
[https://builds.apache.org/job/bookkeeper-master/925/])
BOOKKEEPER-827 change throttle in GarbageCollector to use either "by entry" or 
"by byte" (Jia Zhai via fpj) (fpj: rev 0d6a65d3b14122f0c0a3a4e9d6a4fbe569165ec7)
* 
bookkeeper-server/src/test/java/org/apache/bookkeeper/bookie/CompactionTest.java
* bookkeeper-server/conf/bk_server.conf
* CHANGES.txt
* 
bookkeeper-server/src/main/java/org/apache/bookkeeper/bookie/GarbageCollectorThread.java
* 
bookkeeper-server/src/main/java/org/apache/bookkeeper/conf/ServerConfiguration.java


> change throttle in GarbageCollector to use either "by entry" or "by byte"
> -------------------------------------------------------------------------
>
>                 Key: BOOKKEEPER-827
>                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-827
>             Project: Bookkeeper
>          Issue Type: Improvement
>          Components: bookkeeper-server
>    Affects Versions: 4.3.0
>            Reporter: Jia Zhai
>            Assignee: Jia Zhai
>             Fix For: 4.4.0
>
>         Attachments: BOOKKEEPER-827-v2.patch, BOOKKEEPER-827-v3.patch, 
> BOOKKEEPER-827-v4.patch
>
>
> Current bookie compaction in GarbageCollector has setting: 'compactionRate'. 
> It is throttling and limiting the compaction by entries. 
> But from a bandwidth perspective, it would be good that we could throttle and 
> limit compaction by bytes, which would really reflect the bandwidth of disk. 
> So in this enhancement, we added another "by bytes" option when doing 
> compaction in GarbageCollector:
> "boolean isThrottleByBytes": true when use by bytes, false when use by 
> entries;
> "int compactionRateByEntries": by entries, number of concurrent entries;
> "int compactionRateByBytes": by bytes, number of bytes of entries before 
> flush.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to