xuzq created HDFS-15311:
---------------------------

             Summary: [SBN Read] High frequency reQueue cause Reader's 
performance to degrade
                 Key: HDFS-15311
                 URL: https://issues.apache.org/jira/browse/HDFS-15311
             Project: Hadoop HDFS
          Issue Type: Improvement
            Reporter: xuzq


If _autoMsyncPeriodMs_ is 0, will do _msync_ for each read rpc.

On the observer server side, it will cause high frequency reQueue in Handler.

As the Queue is BlockingQueue, so it will cause Readers(small number)  and 
Handlers(large number) competing for BlockingQueue locks.

It will cause the throughput decrease.

 

Maybe we can let the handler sleep a little time to wait the StateId to 
decrease ReQueue.

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org

Reply via email to