Can you give me, please, some hints on fine-tuning XFS for better
performance for web caches?
A typical Squid cache looks like this:
- HDD size: 10...30 GB
- average file size: 10...15 kB
- 16 primary directories
- each primary dir contains 256 secondary directories
- each secondary dir can contain up to 256 actual files
- the actual disk usage when the cache is "full" is ~80% (can be tuned
>From the FS point of view, the access to the files is quite random. The
cache fills up first to the maximum size, and then the oldest files are
deleted and replaced with newer files as the clients request them.
At this point, the only option i use is "noatime".
Do you have any suggestions to improve the speed?