You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Duo Zhang (Jira)" <ji...@apache.org> on 2021/04/01 03:14:00 UTC
[jira] [Commented] (HBASE-25658) Basic benchmark to show the impact
on performance for tracing
[ https://issues.apache.org/jira/browse/HBASE-25658?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17312820#comment-17312820 ]
Duo Zhang commented on HBASE-25658:
-----------------------------------
I set up a all-in-one jaeger receiver with downsampling 1.0, which means drop all the received tracing data, to minimum the effect on the receiver side.
I modified the tracing code a bit, where I removed the tracing on RegionScanner.next, because a scan rpc call from client side could lead to thousands of RegionScanner.next, so it is not a good idea to trace every RegionScanner.next call.
Still execute the same command, for HBASE-22120 with trace disabled
{noformat}
Write: 224758 row per second
[ Avg TPS/QPS] 205061 row per second
[ Avg TPS/QPS] 242453 row per second
[ Avg TPS/QPS] 226761 row per second
Scan: 86981 row per second
[ Avg TPS/QPS] 86042 row per second
[ Avg TPS/QPS] 86582 row per second
[ Avg TPS/QPS] 88319 row per second
Read: 2807 row per second
[ Avg TPS/QPS] 2770 row per second
[ Avg TPS/QPS] 2776 row per second
[ Avg TPS/QPS] 2876 row per second
{noformat}
For HBASE-22120 with trace enabled and sampling ratio as 1.0, which means trace all, the result is
{noformat}
-Dotel.traces.exporter=jaeger -Dotel.exporter.jaeger.endpoint=xxxxx:14250 -Dotel.metrics.exporter=none -Dotel.traces.sampler=parentbased_traceidratio -Dotel.traces.sampler.arg=1.0 -Dotel.resource.attributes=service.name=hbase
{noformat}
{noformat}
Write: 89618 row per second
[ Avg TPS/QPS] 84689 row per second
[ Avg TPS/QPS] 85225 row per second
[ Avg TPS/QPS] 98941 row per second
Scan: 86075 row per second
[ Avg TPS/QPS] 84201 row per second
[ Avg TPS/QPS] 87094 row per second
[ Avg TPS/QPS] 86929 row per second
Read: 2890 row per second
[ Avg TPS/QPS] 2900 row per second
[ Avg TPS/QPS] 2776 row per second
[ Avg TPS/QPS] 2876 row per second
{noformat}
> Basic benchmark to show the impact on performance for tracing
> -------------------------------------------------------------
>
> Key: HBASE-25658
> URL: https://issues.apache.org/jira/browse/HBASE-25658
> Project: HBase
> Issue Type: Sub-task
> Reporter: Duo Zhang
> Assignee: Duo Zhang
> Priority: Major
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)