high bandwidth configuration help

Igor Sysoev is at rambler-co.ru
Sun Feb 24 10:43:56 MSK 2008


On Sun, Feb 24, 2008 at 01:51:36AM +0000, nginx.mailinglist wrote:

> Forgot to mention bellow is my nginx config
> 
> i can push about 80mbit average now but loads are above 6 (used to be 1-2
> with lighttpd) this is after settings "sendfile off" switch, was only
> pushing ~30mbit then :(
> 
> heres my config (i replaced ips and hostnames for privacy reasons)
> 
> http://pastebin.com/m55a90c33
> 
> Thanks and hopefully someone can help me to migrate completely from lighttpd
> to nginx :)
> 
> So any tips on how to optimise for alot of large concurent file downloads
> are welcome
> 
> !

Set single worker process instead of 6. This is like single lighttpd process.
It seems that your disk can not handle several concurrent accesses.
You may try to set worker_processes to 2 or 3 and look bandwidth.

> On Sun, Feb 24, 2008 at 1:41 AM, nginx. mailinglist <
> nginx.mailinglist at xinio.info> wrote:
> 
> > Hi
> >
> > how to tweak nginx for large file serving and maximizing the use of
> > available bandwidth?
> >
> > I used to use lighttpd and was able to use 150mbit average at all times
> > with lighttpd (writev backend selected) serving very large files t oalot of
> > people
> >
> > But now i cant achievesame results
> >
> > Can anyone point me to any config options to make large file serving more
> > efficient, there arent many examples :(


-- 
Igor Sysoev
http://sysoev.ru/en/





More information about the nginx mailing list