On Wed, Aug 2, 2017 at 8:21 AM, Enrico Olivelli <[email protected]> wrote:
> Hi, > I am trying to understand because after running my benchmark (see [1]) the > overall performances slow down incredibly. The bench starts at 80,8 MB/s > throughput and drops to 10,2 MB/s throughput. > > I think that the problem could be the I am creating a lot of ledgers on a > single bookie. > It seems that the more active ledgers I have the more time it takes the > bookie to process internal activities, like > IndexInMemPageMgr#flushOneOrMoreLedgers(true). What is your disk layout? journal/ledger/index directory settings? What is your ledger storage? are you using sorted or not? > > The slow down starts after the first line in logs as: > org.apache.bookkeeper.bookie.EntryLogger flushRotatedLogs > I suspect that there is a piece of the story that I am missing. > > This behavior is the same on BK 4.4 and BK 4.5 > Is it possible ? > [1] > https://github.com/eolivelli/bookkeepers-benchs/blob/master/src/test/java/ > BookKeeperWriteSynchClientsTest.java > > Thanks > > -- Enrico >
