<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Serving big files at constant rates</title>
<description>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</description><link>http://forum.nginx.org/read.php?2,226392,226392#msg-226392</link><lastBuildDate>Thu, 23 May 2013 09:37:11 -0400</lastBuildDate>
<generator>Phorum 5.2.16</generator>
<item>
<guid>http://forum.nginx.org/read.php?2,226392,226444#msg-226444</guid>
<title>Re: Serving big files at constant rates</title><link>http://forum.nginx.org/read.php?2,226392,226444#msg-226444</link><description><![CDATA[Could very well be a lan driver issue, rx/tx values too high or rx value higher then tx, flow control not used or used but not supported, etc..... try an older driver or if its really old a newer one. Also see if you can get a driver with debugging compiled in or support for raw mode and run something like wireshark to see whats going on.]]></description>
<dc:creator>itpp2012</dc:creator>
<category>Nginx Mailing List - English</category><pubDate>Tue, 15 May 2012 06:37:03 -0400</pubDate></item>
<item>
<guid>http://forum.nginx.org/read.php?2,226392,226433#msg-226433</guid>
<title>Re: Serving big files at constant rates</title><link>http://forum.nginx.org/read.php?2,226392,226433#msg-226433</link><description><![CDATA[Hi,<br /><br />I tried that, but I only see these consequences:<br />- Higher peek transfer speed (up to 1.1/1.2 MiB/s)<br />- Higher instability (bumps down to 300/400 KiB/s and with longer duration)<br />- Lower average transfer rate overall<br /><br />Well, does that mean I have some network interfaces trouble?<br />---<br />*B. R.*<br /><br /><br />On Mon, May 14, 2012 at 12:29 PM, itpp2012 &lt;nginx-forum@nginx.us&gt; wrote:<br /><br />&gt; Why not create a 1gb ramdrive to make sure it is a disk IO issue. It<br />&gt; might be a lan driver buffer issue.<br />&gt;<br />&gt; Posted at Nginx Forum:<br />&gt; http://forum.nginx.org/read.php?2,226392,226422#msg-226422<br />&gt;<br />&gt; _______________________________________________<br />&gt; nginx mailing list<br />&gt; nginx@nginx.org<br />&gt; http://mailman.nginx.org/mailman/listinfo/nginx<br />&gt;<br />_______________________________________________<br />nginx mailing list<br />nginx@nginx.org<br />http://mailman.nginx.org/mailman/listinfo/nginx]]></description>
<dc:creator>B.R.</dc:creator>
<category>Nginx Mailing List - English</category><pubDate>Mon, 14 May 2012 23:10:00 -0400</pubDate></item>
<item>
<guid>http://forum.nginx.org/read.php?2,226392,226422#msg-226422</guid>
<title>Re: Serving big files at constant rates</title><link>http://forum.nginx.org/read.php?2,226392,226422#msg-226422</link><description><![CDATA[Why not create a 1gb ramdrive to make sure it is a disk IO issue. It might be a lan driver buffer issue.]]></description>
<dc:creator>itpp2012</dc:creator>
<category>Nginx Mailing List - English</category><pubDate>Mon, 14 May 2012 12:29:33 -0400</pubDate></item>
<item>
<guid>http://forum.nginx.org/read.php?2,226392,226392#msg-226392</guid>
<title>Serving big files at constant rates</title><link>http://forum.nginx.org/read.php?2,226392,226392#msg-226392</link><description><![CDATA[Hi,<br /><br />A recent thread kept my attention recently:<br />http://forum.nginx.org/read.php?2,226327<br /><br />I don't have such a big trouble, but I don't see how to solve it.<br /><br />My server usually serves small files suchas classical web pages.<br />On a particular location, though, I serve big files (around 100MB+).<br /><br />I noticed that when those files were served, there was 'bumps' in the<br />transfer rate, whether the trasnfer stalled for 1s or the transfer rate<br />downgraded to 500Kb/s during the same period.<br />Those bumps were monitored server-side, so it is not some trouble in any<br />network in the middle.<br />I ensured that the only service using significant bandwith would be Nginx.<br /><br />I guess I am experiencing some disk I/O speed limitations.<br />Thus, I tried to use aio on that location:<br />aio on;<br />directio 4m;<br />output_buffers 1m; (I tried 512k first hand)<br /><br />The bumps are still there, appearing randomly but quite often and regularly<br />on the long shot.<br /><br />What kind of I/O trouble is that?<br /><br />Thanks,<br />---<br />*B. R.*<br />_______________________________________________<br />nginx mailing list<br />nginx@nginx.org<br />http://mailman.nginx.org/mailman/listinfo/nginx]]></description>
<dc:creator>B.R.</dc:creator>
<category>Nginx Mailing List - English</category><pubDate>Mon, 14 May 2012 09:46:01 -0400</pubDate></item>
</channel>
</rss>