hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Himanshu Vashishtha (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-10094) Add batching to HLogPerformanceEvaluation
Date Fri, 06 Dec 2013 22:37:36 GMT

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

Himanshu Vashishtha commented on HBASE-10094:
---------------------------------------------

+1. This would give more insights when comparing various schemes on batching sync calls.

minor nit:
-    long numIterations = 10000;
+    long numIterations = 1000000;

I don't think we need this. It will make TestHLog run longer by almost 90 sec.

> Add batching to HLogPerformanceEvaluation
> -----------------------------------------
>
>                 Key: HBASE-10094
>                 URL: https://issues.apache.org/jira/browse/HBASE-10094
>             Project: HBase
>          Issue Type: Sub-task
>          Components: Performance, wal
>            Reporter: stack
>            Assignee: Himanshu Vashishtha
>         Attachments: 10094v2.txt
>
>
> As Himanshu points out in the the parent issue, HLogPE is using an unorthodox API appending
edits to the WAL; it is using an API that is meant for tests only that does an append immediately
followed by a sync call.
> In normal deploy, WAL appends are done as a bunch of appends followed by a sync on the
tail of the transaction -- not a sync per append.
> This issue is about changing HLogPE to use append and then sync.  It also adds an argument
so you can specifying batching of a set of appends before  the sync is called.  The latter
lets HLogPE mimic multi puts that use the minibatch... which appends, appends, appends.. and
then syncs.
> Assigning to Himanshu for review.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message