Welcome! Log In Create A New Profile

Advanced

Serving big files at constant rates

B.R.
May 14, 2012 09:46AM
Hi,

A recent thread kept my attention recently:
http://forum.nginx.org/read.php?2,226327

I don't have such a big trouble, but I don't see how to solve it.

My server usually serves small files suchas classical web pages.
On a particular location, though, I serve big files (around 100MB+).

I noticed that when those files were served, there was 'bumps' in the
transfer rate, whether the trasnfer stalled for 1s or the transfer rate
downgraded to 500Kb/s during the same period.
Those bumps were monitored server-side, so it is not some trouble in any
network in the middle.
I ensured that the only service using significant bandwith would be Nginx.

I guess I am experiencing some disk I/O speed limitations.
Thus, I tried to use aio on that location:
aio on;
directio 4m;
output_buffers 1m; (I tried 512k first hand)

The bumps are still there, appearing randomly but quite often and regularly
on the long shot.

What kind of I/O trouble is that?

Thanks,
---
*B. R.*
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Serving big files at constant rates

B.R. May 14, 2012 09:46AM

Re: Serving big files at constant rates

itpp2012 May 14, 2012 12:29PM

Re: Serving big files at constant rates

B.R. May 14, 2012 11:10PM

Re: Serving big files at constant rates

itpp2012 May 15, 2012 06:37AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 275
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