Merge pull request #111 from pentago/master

Added FreeBSD w/ ZFS performance instructions
This commit is contained in:
Andy Dawson 2015-09-11 10:46:34 +02:00
commit 0932b4d10c
1 changed files with 3 additions and 0 deletions

View File

@ -57,6 +57,9 @@ http {
# Speed up file transfers by using sendfile() to copy directly # Speed up file transfers by using sendfile() to copy directly
# between descriptors rather than using read()/write(). # between descriptors rather than using read()/write().
# For performance reasons, on FreeBSD systems w/ ZFS
# this option should be disabled as ZFS's ARC caches
# frequently used files in RAM by default.
sendfile on; sendfile on;
# Tell Nginx not to send out partial frames; this increases throughput # Tell Nginx not to send out partial frames; this increases throughput