The invention relates to a distributed file system which comprises a big file storage server, a big file metadata management server and a cache server, wherein the big file storage server is used for storing split big file data blocks, and big files are files of which the size is larger than the preset size; the big file metadata management server is used for storing metadata of the big files, storing mapping information of the big file data blocks on the big file storage server, managing the namespace of the big files and processing the requesting information of a user; the cache server is used for storing small files, metadata of the small files and caching part of frequently visited big files, and the small files are the files of which the size is smaller than or equal to the preset size. According to the distributed file system, the big files and the small files are stored separately, the big files are stored on the big file storage server in a block mode, the small files are stored on the cache server and the reading and writing efficiency of the big files and the small files is improved effectively.