Optimization of Ceph Reads/Writes Based on Multi-threaded Algorithms

Ceph is an open source distributed file system. Basedon two methods of command line and library librados, weimplement the files reads/writes(also called download/upload) al-gorithms. For the library librados method, we apply two differentmulti-threaded algorithms to optimize the files reads/writes. Theresults show that the performance of multi-threaded algorithmsof downloading/uploading small files are improved by 7624%,2827% respectively compared to the method of command line, the performance are improved by 58.95%, 170.36% compared tothe method of library librados, the performance of one producerthread and one consumer thread model for downloading largefiles is improved by 22.42% compared to the method of down-loading large files serially, but has no distinct effect on uploadinglarge files. We analyze the reason and give suggestions for thefuture work.