I\'m going to build large files server, and need stack-overflow community advice for file system choice (linux).
File server is going to serve 1-2GB sized static files
To provide best results with serve heavy content, there is something else to tune. Please take a look at Nginx core developer's comment below:
Switch off sendfile, it works bad on such workloads under linux due to no ability to control readahead (and hence blocks read from disk).
sendfile off;
Use large output buffers
output_buffers 1 512k
Try using aio to ensure better disk concurrency (and note under linux it needs directio as well), i.e. something like this
aio on; directio 512;
Other recommendations:
Check the filesystem swap is not used
Filesystem - ext4, xfs. Good to enable data_writeback and noatime mount options