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

Jean-Marc Spaggiari commented on HBASE-7868:
--------------------------------------------

I'm using the PerformanceEvaluation class coming with HBase...

And then simply loop over all my HBase folders.

{code}
#!/bin/bash
export JAVA_HOME=/usr/local/jdk1.7.0_05/
for i in `ls | grep hbase-`; do
cd $i
echo `date` Starting tests for `pwd`
rm -f output.txt

echo Test starting for filterScan
for i in {1..10}; do rm -rf /tmp/*; bin/start-hbase.sh; sleep 60; bin/hbase 
org.apache.hadoop.hbase.PerformanceEvaluation --rows=100000 filterScan 1; 
bin/stop-hbase.sh; done &>> output.txt

echo Test starting for randomRead
for i in {1..10}; do rm -rf /tmp/*; bin/start-hbase.sh; sleep 60; bin/hbase 
org.apache.hadoop.hbase.PerformanceEvaluation randomRead 1; bin/stop-hbase.sh; 
done &>> output.txt

# And so on...

echo Done with tests for `pwd`
cd ..
done
{code}

I'm running that on a dedicated laptop where there is absolutly nothing else 
running. X environment is down, cups, exim, etc. all down too.
                
> HFile performance regression between 0.92 and 0.94
> --------------------------------------------------
>
>                 Key: HBASE-7868
>                 URL: https://issues.apache.org/jira/browse/HBASE-7868
>             Project: HBase
>          Issue Type: Bug
>          Components: io
>    Affects Versions: 0.94.5
>            Reporter: Matteo Bertozzi
>            Assignee: Matteo Bertozzi
>             Fix For: 0.94.6
>
>         Attachments: FilteredScan.png, hfileperf-graphs.png, performances.pdf
>
>
> By HFilePerformanceEvaluation seems that 0.94 is slower then 0.92
> Looking at the profiler for the Scan path, seems that most of the time, 
> compared to 92, is spent in the metrics dictionary lookup. [~eclark] pointed 
> out the new per family/block metrics.
> By commenting the metrics call in HFileReaderV2, the performance seems to get 
> better, but maybe metrics is not the only problem.

--
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

Reply via email to