You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Allan Yang (JIRA)" <ji...@apache.org> on 2018/05/19 02:10:00 UTC

[jira] [Commented] (HBASE-20601) Add multiPut support and other miscellaneous to PE

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

Allan Yang commented on HBASE-20601:
------------------------------------

{quote}
I think connection count would be better description for the new parameter.
Name the variable, conNum, connCount.
{quote}
modified patch uploaded, thanks for your your advice, Ted.

> Add multiPut support and other miscellaneous to PE
> --------------------------------------------------
>
>                 Key: HBASE-20601
>                 URL: https://issues.apache.org/jira/browse/HBASE-20601
>             Project: HBase
>          Issue Type: Bug
>          Components: tooling
>    Affects Versions: 2.0.0
>            Reporter: Allan Yang
>            Assignee: Allan Yang
>            Priority: Minor
>             Fix For: 2.1.0
>
>         Attachments: HBASE-20601.branch-2.002.patch, HBASE-20601.branch-2.003.patch, HBASE-20601.branch-2.patch
>
>
> Add some useful stuff and some refinement to PE tool
> 1. Add multiPut support
> Though we have BufferedMutator, sometimes we need to benchmark batch put in a certain number.
> Set --multiPut=number to enable batchput(meanwhile, --autoflush need be set to false)
> 2. Add Connection Number support
> Before, there is only on parameter to control the connection used by threads. oneCon=true means all threads use one connection, false means each thread has it own connection.
> When thread number is high and oneCon=false, we noticed high context switch frequency in the machine which PE run on, disturbing the benchmark results(each connection has its own netty worker threads, 2*CPU IIRC).  
> So, added a new parameter conNum to PE. set --conNum=2 means all threads will share 2 connections.
> 3. Add avg RT and avg TPS/QPS statstic for all threads
> Useful when we want to meansure the total throughtput of the cluster
> 4. Delete some redundant code
> Now RandomWriteTest is inherited from SequentialWrite.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)