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:
原文地址:https://blog.51cto.com/fengyunshan911/2416096
时间: 2024-10-13 20:22:57