元数据性能评估

通过 mdtestopen in new window 进行元数据性能测试的结果如下:

工具设置

#!/bin/bash
TEST_PATH=/mnt/cfs/mdtest # mount point of CubeFS volume
for CLIENTS in 1 2 4 8 # number of clients
do
mpirun --allow-run-as-root -np $CLIENTS --hostfile hfile01 mdtest -n 5000 -u -z 2 -i 3 -d $TEST_PATH;
done

目录创建

Dir Creation

1 进程4 进程16 进程64 进程
1 客户端448.6182421.00114597.9743055.15
2 客户端956.9475917.57628930.43172388.765
4 客户端2027.0213213.40354449.056104771.356
8 客户端4643.75527416.90489641.301119542.62

目录删除

Dir Removal

1 进程4 进程16 进程64 进程
1 客户端399.7792118.00512351.63534903.672
2 客户端833.3535176.81224471.67450242.973
4 客户端1853.61711462.92746413.31391128.059
8 客户端4441.43524133.61774401.336115013.557

目录状态查看

Dir Stat

1 进程4 进程16 进程64 进程
1 客户端283232.7611215309.5244231088.10412579177.02
2 客户端572834.1432169669.0588362749.21718120970.71
4 客户端1263474.5493333746.78610160929.2931874265.88
8 客户端2258670.0698715752.8322524794.9877533648.04

文件创建

File Creation

1 进程4 进程16 进程64 进程
1 客户端448.8882400.80313638.07227785.947
2 客户端925.685664.16625889.16350434.484
4 客户端2001.13712986.96850330.95291387.825
8 客户端4479.83125933.43786667.966112746.199

文件删除

File Removal

1 进程4 进程16 进程64 进程
1 客户端605.1433678.13818631.34247035.912
2 客户端1301.1518365.66734005.2564860.041
4 客户端3032.68314017.42650938.92680692.761
8 客户端7170.38632056.95968761.90888357.563

Tree创建

Tree Creation

1 进程4 进程16 进程64 进程
1 客户端305.778229.56286.29923.917
2 客户端161.31211.11976.30124.439
4 客户端260.562223.15381.20923.867
8 客户端350.038220.74481.62117.144

Tree删除

Tree Removal

1 进程4 进程16 进程64 进程
1 客户端137.46270.88131.2357.057
2 客户端217.026113.3623.9717.128
4 客户端231.622113.53930.6267.299
8 客户端185.15683.92320.6075.515
在github上编辑