HADOOP中HDFS基准测试

hdfs 基准测试:

磁盘读写性能测试
hadoop jar ./hadoop-mapreduce-client-jobclient-2.7.2.3.jar TestDFSIO -read -nrFiles 10 -fileSize 10MB
hadoop jar ./hadoop-mapreduce-client-jobclient-2.7.2.3.jar TestDFSIO -write -nrFiles 10 -fileSize 10MB
  • dev环境:
    read:
    19/06/28 08:14:45 INFO fs.TestDFSIO: ----- TestDFSIO ----- : read
    19/06/28 08:14:45 INFO fs.TestDFSIO:            Date & time: Fri Jun 28 08:14:45 CST 2019
    19/06/28 08:14:45 INFO fs.TestDFSIO:        Number of files: 10
    19/06/28 08:14:45 INFO fs.TestDFSIO: Total MBytes processed: 100.0
    19/06/28 08:14:45 INFO fs.TestDFSIO:      Throughput mb/sec: 1369.86301369863
    19/06/28 08:14:45 INFO fs.TestDFSIO: Average IO rate mb/sec: 1448.015869140625
    19/06/28 08:14:45 INFO fs.TestDFSIO:  IO rate std deviation: 313.0168409477681
    19/06/28 08:14:45 INFO fs.TestDFSIO:     Test exec time sec: 1.444

write:

19/06/28 08:17:58 INFO fs.TestDFSIO: ----- TestDFSIO ----- : write
19/06/28 08:17:58 INFO fs.TestDFSIO:            Date & time: Fri Jun 28 08:17:58 CST 2019
19/06/28 08:17:58 INFO fs.TestDFSIO:        Number of files: 10
19/06/28 08:17:58 INFO fs.TestDFSIO: Total MBytes processed: 100.0
19/06/28 08:17:58 INFO fs.TestDFSIO:      Throughput mb/sec: 94.2507068803016
19/06/28 08:17:58 INFO fs.TestDFSIO: Average IO rate mb/sec: 94.32148742675781
19/06/28 08:17:58 INFO fs.TestDFSIO:  IO rate std deviation: 2.5780734529814877
19/06/28 08:17:58 INFO fs.TestDFSIO:     Test exec time sec: 2.482
19/06/28 08:17:58 INFO fs.TestDFSIO: 

原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/190836.html

(0)
上一篇 2021年11月14日
下一篇 2021年11月14日

相关推荐

发表回复

登录后才能评论