Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Оптимизация для за грузки большого к-ва картинок на странице
On Thu, Aug 04, 2005 at 05:36:08PM +0400, Alexandr Smirnov wrote:
>
> Для FreeBSD
> ==============================================
> To tweak your FreeBSD TCP performance (IP tuning),
> you can adjust the receive and send buffer sizes.
>
> As root, execute the following, where 65536 can be
> another size you choose (such as 131072):
>
> sysctl -w net.inet.tcp.sendspace=65536
> sysctl -w net.inet.tcp.recvspace=65536
>
> If you increase the value to 262144, you must increase
> kern.ipc.maxsockbuf to something larger than 262144.
>
> For example:
> sysctl -w kern.ipc.maxsockbuf=524288
Перед установкой указанных выше параметров рекомендуется
внятное чтение tuning(7).
--
Sergey A. Osokin,
System Engineer,
Macomnet, Internet Dept.
tel: +7(095) 796-9079
fax: +7(095) 796-9067
|