Talking about a huge (50GB, 500.000 entries) Apache disk_cache partition: Which Linux filesystem performs best for this task?
In my example, the partition has a lot (500.000) of very small files (< 1 KB) and a lot (500.000) of files with ~ 50 KB.
File hierarchy is as deep as
Typical actions are creating directories and files (by Apache), reading files (Apache) and removing files and directories (htcacheclean).
I'm currently using ext3 and I'm facing bad performance (i.e. slow ops with high IOwaits) when purging outdated files and emptied directories from the cache.
- the ext3 filesystem was created with "-t news" (i.e.
blocksize = 4096,
inode_size = 256and
inode_ratio = 4096).
- filesystem features: "
has_journal ext_attr resize_inode dir_index filetype needs_recovery sparse_super large_file"
- the partition is mounted with "