You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by Wei Yan <yw...@gmail.com> on 2017/09/26 00:40:22 UTC

HDFS NN FSNamesystemLock throughput

Hi, guys,

Recently we're looking into HDFS NameNode FSNamesystemLock implementation.
As it uses Java's ReentrantReadWriteLock, after configing the lock to
nonfair mode, the RPC throughput has been improved a lot. Just wonder
whether anyboby have played around the reader/writer preference further in
the lock (or directly used another lock implementation) to achieve higher
throughput, absolutely there will be trade-off between throughput and write
starvation.

thanks,
Wei