Sammi Chen created HDDS-17899:
---------------------------------

             Summary: Replace getHostName with getHostString in short-circuit 
client cache key
                 Key: HDDS-17899
                 URL: https://issues.apache.org/jira/browse/HDDS-17899
             Project: Apache Ozone
          Issue Type: Sub-task
            Reporter: Sammi Chen
            Assignee: Sammi Chen


getHostName() call takes considerable time on Macbook, cause significant 
performance of the same vector search run. 

getHostName() run

 
{code:java}
Random access: 154 rows/sec
Vector search: 14.6 QPS
nprobes=  1  QPS=  14.6  avg_latency=68.3ms
nprobes=  4  QPS=  16.1  avg_latency=61.9ms
nprobes=  8  QPS=  16.3  avg_latency=61.4ms
nprobes= 16  QPS=  14.6  avg_latency=68.6ms
nprobes= 32  QPS=  15.4  avg_latency=65.1ms{code}
 

 

getHostString() run

 
{code:java}
Random access: 1,009 rows/sec
Vector search: 73.8 QPS
nprobes=  1  QPS=  82.5  avg_latency=12.1ms
nprobes=  4  QPS=  88.8  avg_latency=11.3ms
nprobes=  8  QPS=  95.8  avg_latency=10.4ms
nprobes= 16  QPS=  90.2  avg_latency=11.1ms
nprobes= 32  QPS=  95.4  avg_latency=10.5ms{code}
 



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to