Performance Optimization for Managing Massive Numbers of Small Files in Distributed File Systems
Authors:
- 5 December 2014
- journal article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Parallel and Distributed Systems
- Vol. 26 (12) , 3433-3448
Abstract
The processing of massive numbers of small files is a challenge in the design of distributed file systems. Currently, the combined-block-storage approach is prevalent. However, the approach employs the traditional file systems such as ExtFS and may cause inefficiency when accessing small files randomly located in the disk. This paper focuses on optimizing the performance of data servers in accessing massive numbers of small files. We present a Flat Lightweight File System (iFlatLFS) to manage small files, which is based on a simple metadata scheme and a flat storage architecture. iFlatLFS is designed to substitute the traditional file system on data servers and can be deployed underneath distributed file systems that store massive numbers of small files. iFlatLFS can greatly simplify the original data access procedure. The new metadata proposed in this paper occupies only a fraction of the metadata size based on traditional file systems. We have implemented iFlatLFS in CentOS 5.5 and integrated it into an open source Distributed File System (DFS), called Taobao FileSystem (TFS), which is developed by a top B2C service provider, Alibaba, in China and is managing over 28.6 billion small photos. We have conducted extensive experiments to verify the performance of iFlatLFS. The results show that when the file size ranges from 1 to 64 KB, iFlatLFS is faster than Ext4 by 48 and 54 percent on average for random read and write in the DFS environment, respectively. Moreover, after iFlatLFS is integrated into TFS, iFlatLFS-based TFS is faster than the existing Ext4-based TFS by 45 and 49 percent on average for random read access and hybrid access (the mix of read and write accesses), respectively.Keywords
Funding Information
- China HGJ Project (2013ZX01040-002)
- Leverhulme Trust (RPG-101)
- Key Program of National Natural Science Foundation of China (61133005, 61432005)
This publication has 16 references indexed in Scilit:
- Research and Improvement of the Hot Small File Storage Performance under HDFSAdvanced Materials Research, 2013
- A File Is Not a FileACM Transactions on Computer Systems, 2012
- THE optimization of HDFS based on small files2010
- The Hadoop Distributed File System2010
- Implementing WebGIS on Hadoop: A case study of improving small file I/O performance on HDFS2009
- BigtableACM Transactions on Computer Systems, 2008
- Content Delivery Networks2008
- DynamoACM SIGOPS Operating Systems Review, 2007
- The Google file system2003
- Analysis of file I/O traces in commercial computing environmentsACM SIGMETRICS Performance Evaluation Review, 1992