Persistent HTTP connections && Pipelining
Igor Sysoev
is at rambler-co.ru
Fri Nov 16 21:56:12 MSK 2007
On Fri, Nov 16, 2007 at 07:39:57PM +0100, Roxis wrote:
> On Friday 16 November 2007, Igor Sysoev wrote:
> > Интересно, как выглядит тест
> >
> > ab -n 100000 http://localhost/
> >
> > на машине, где выключены обе настройке, особенно tcp_tw_reuse ?
>
> ab -n 1000000
>
> # 2.6.18.8
> Time taken for tests: 72.432 seconds
> Complete requests: 1000000
> Total transferred: 105000000 bytes
> Requests per second: 13806.05 [#/sec] (mean)
> Time per request: 0.07 [ms] (mean)
> Transfer rate: 1449.64 [Kbytes/sec] received
>
> # 2.6.23.3
> Time taken for tests: 68.602 seconds
> Complete requests: 1000000
> Total transferred: 105000000 bytes
> Requests per second: 14576.83 [#/sec] (mean)
> Time per request: 0.07 [ms] (mean)
> Transfer rate: 1530.57 [Kbytes/sec] received
Вполне себе reuse'аются. Тогда я не понимаю, что именно разрешает
tcp_tw_reuse.
--
Игорь Сысоев
http://sysoev.ru
More information about the nginx-ru
mailing list