元数据性能评估

通过 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 客户端769.9083630.33712777.61920629.592
2 客户端1713.0387259.28224064.05236769.599
4 客户端3723.99314002.36642976.83761513.648
8 客户端6681.78323946.14364191.3893729.222

目录删除

Dir Removal

1 进程4 进程16 进程64 进程
1 客户端853.9954012.40415238.64742028.845
2 客户端1906.2617967.68828410.30862338.506
4 客户端3942.59015601.79946741.94587411.655
8 客户端7072.08025183.09269054.92379459.091

目录状态查看

Dir Stat

1 进程4 进程16 进程64 进程
1 客户端462527.4451736760.3326194206.76815509755.836
2 客户端885454.3353414538.35212263175.10424951003.498
4 客户端1727030.7826874284.76524371306.25010412238.894
8 客户端1897588.2147499219.74425927923.6464264896.279

文件创建

File Creation

1 进程4 进程16 进程64 进程
1 客户端706.4533306.2709647.17610879.290
2 客户端1601.8916601.52219181.96520756.693
4 客户端3369.91113165.05636158.06141817.753
8 客户端6312.91122560.68755801.06276157.675

文件删除

File Removal

1 进程4 进程16 进程64 进程
1 客户端1220.3224606.34011715.45723653.043
2 客户端2360.1338971.36122097.20641579.985
4 客户端4547.02117242.90034965.47161726.902
8 客户端8809.38120379.83955363.38971101.736

Tree创建

Tree Creation

1 进程4 进程16 进程64 进程
1 客户端734.383379.403146.07037.811
2 客户端648.938432.150148.92130.699
4 客户端756.639394.733123.72223.998
8 客户端607.547263.439124.9117.510

Tree删除

Tree Removal

1 进程4 进程16 进程64 进程
1 客户端552.70683.19723.8235.747
2 客户端448.55784.63324.0375.137
4 客户端453.52085.63623.4905.233
8 客户端429.92083.44923.7771.667
在github上编辑