My name is Stefan P., Im working on http://www.systemdatarecorder.org
and I have started to test and consider replacing for our solution
apache over nginx. Im getting to know nginx and I like the server.
Some question reading over http://wiki.nginx.org/NginxHttpCoreModule
“The directive enables use of flags O_DIRECT (FreeBSD, Linux),
F_NOCACHE (Mac OS X) or directio() function (Solaris) for reading
files with size greater than specified. This directive disables
use of sendfile for this request.”
DirectIO in Solaris is a feature, when enabled lets you to bypass
OS’s page cache and read/write directly from/to disk. This has some
benefits where workloads are database servers and you want to avoid
Im a bit curious under what situations would like to have DirectIO
nginx and are we talking about same thing when we refer to directio ?
Usually most applications will benefit of having the OS’s page cache
rather of going to disk.