You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bookkeeper.apache.org by "Jiannan Wang (JIRA)" <ji...@apache.org> on 2013/01/07 11:30:12 UTC

[jira] [Created] (BOOKKEEPER-536) The overhead of ReadAheadCache is too large

Jiannan Wang created BOOKKEEPER-536:
---------------------------------------

             Summary: The overhead of ReadAheadCache is too large
                 Key: BOOKKEEPER-536
                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-536
             Project: Bookkeeper
          Issue Type: Bug
          Components: hedwig-server
            Reporter: Jiannan Wang
             Fix For: 4.3.0


Testing with 300 bytes per message, we observed that when the presentCacheSize is 128M, while the readAheadCache size is ~800M. Total ratio is 800/128 ~= 6.25 with 5.25 times overhead.
So if user sets readAheadCache limit size to 2G, it may consumes maximum about 15G which is too large.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira