Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 

   


   


   

















      :: Apache-Talk
Apache-Talk mailing list archive (apache-talk@lists.lexa.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [apache-talk] performance tuning



On Sun, 16 Jan 2005, Alex Petrov wrote:

> ????? ?????? ? performance tuning.
>
> ???? ?????? ? ??????? ??????? ??????, ??????? ????????? ?? http ? ??????? nginx. ??????? ?????????? ?????? - 1000-1200. ?????????? ?????? - ????? 300. ????? output - 50-60Mbps.
>
> ???? ???????: ??????? output ?? ?????????, ?? ???? ?? ~100Mbps.
>
> ?? ???????, ??? ??????? 50-60 ?? ??????, ?????? ???, ??-??????, ??? ????? ?? ??????? ?? ??????? ?????, ??-??????, ???? ????? ????????? ??? ???? ????? ?? ?????? ? round-robin, ?? ???? ??????????? ?? 60Mbps ??????????? ?????????.
>
> ???????? ? ???, ??? ? ??? ????????? ??????? :) ????? ???-?? ??????????????? ?????????? 40 ??????? ?? ???????????? ???????? ??? ?????????? ?????? output.
>
> ??????? - linux debian 3.1, kernel 2.6.8, P4 1.8Ghz, 1G RAM, 2x250 SATA.
>
> ??? ??? ???? ???????:
>
> 1. ????? (SATA) ?????????? ? software raid0;
> 2. ????????? output buffers, ???????? bic tcp, sack;
> 3.  nginx ???????????? epoll() ? sendfile().
>
> ???? ?? top ? vmstat, ??????? ???????? 80% ??????? ? ???????? ?????????? ?????? ? ??????, ?? ??? ????, ??? ??? ????? ??????? ? ?????? ??????????? ???????? ??????????.
>
> ??? ?? ?? ??????? ? ???? ????????? ??????????? ????-??????, ??????????.
>
> ????, ??????? ???????? ?????? ?????????? ??????? - ?????????? ?????????? ????????????? ??????, ????? ??????? ?? ????????? ?? 50 ?????? ????????? ?????? ?????, ???, ?? ?????????, ?????? ?????? ?????. ??????, ??? ?????? nginx output ??????? ????????? ?? 100Mbps, ????? ????? ?????? ?????????? ?? ??????? ????????.

????? ??????????? ????????? ?????? ???? ??????? ???????, ????? ????????? ?????
???????????? ???????? ? ?????.


????? ??????
http://sysoev.ru



 




Copyright © Lexa Software, 1996-2009.