Nginx record length during disk IO

Nikolaos Tsipas nicktgr15 at
Thu Jan 12 12:18:28 UTC 2017


We're load testing nginx focusing on disk IO performance and we're trying
to understand what's the record length used during caching operations. The
reason why we'd like to know the utilised record length is that we could
then use similar settings during our SSDs load tests.

We had a look at the code, specifically at the ngx_write_file method but we
think that the record size used (i.e. sizeof(ngx_http_file_cache_header_t)
is too small (~40 bytes) to be the one we are looking for.

Any useful information around that area would be appreciated as well as
suggestions on where that information might be in the nginx codebase.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list