hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From haosdent <haosd...@gmail.com>
Subject hsync is too slower than hflush
Date Sun, 25 Aug 2013 05:11:51 GMT
Hi, all. Hadoop support hsync which would call fsync of system after 2.0.2. I have tested the
performance of hsync() and hflush() again and again, but I found that the hsync call() everytime
would spent nearly 50ms while the hflush call() just spent 2ms. In this slide(http://www.slideshare.net/enissoz/hbase-and-hdfs-understanding-filesystem-usage
Page 18), the author mentions that hsync() is 2x slower than hflush(). So, is anything wrong?
Thank you very much and looking forward to your help. 

Best Regards,
Haosong Huang
Sent with Sparrow (http://www.sparrowmailapp.com/?sig)

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message