分析了PVFS2中的元数据操作流程,以remove操作为例,通过测试发现其瓶颈之处,提出一种将判断过程放置到服务器端来减少通信次数的优化方法,这些方法同样可以应用于其他元数据操作。在PVFS2中实现了该优化方法,并将其同原来的remove操作耗时进行了对比,结果表明,该元数据操作的性能提高了10%左右。
This paper analyzed the metadata processing in PVFS2,and took the remove operation as an example.To find out the bottlenecks in the remove operation,the time of each step was tested.And an optimization method to reduce the communication number by placing judgmental process on the server side was proposed,which is also suitable for other metadata operations.The optimization method was implemented in PVFS2.Compared with the original remove operation,this proposed method shows about 10% improvement in performance.