Оптимизация для загрузки большого к-ва картинок на странице
Sergey A. Osokin
osa at macomnet.ru
Thu Aug 4 17:58:50 MSD 2005
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
More information about the nginx-ru
mailing list