Welcome! Log In Create A New Profile

Advanced

Re: Nginx record length during disk IO

Maxim Dounin
January 12, 2017 10:46AM
Hello!

On Thu, Jan 12, 2017 at 12:18:28PM +0000, Nikolaos Tsipas wrote:

> Hello,
>
> 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.

In most cases buffer size is probably what you are looking for.
Depending on the particular operation it may be either
proxy_buffer_size, or proxy_buffers, or output_buffers.

--
Maxim Dounin
http://nginx.org/
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Nginx record length during disk IO

Nikolaos Tsipas January 12, 2017 07:20AM

Re: Nginx record length during disk IO

Maxim Dounin January 12, 2017 10:46AM

Re: Nginx record length during disk IO

nicktgr15 January 16, 2017 07:10AM

Re: Nginx record length during disk IO

oscaretu . January 16, 2017 07:22AM

Re: Nginx record length during disk IO

Maxim Dounin January 16, 2017 07:36AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 181
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready