интересно<br>&quot;Intel x86 supports 4MB pages (called Page Size Extension) (2MB pages if using PAE) in addition to its standard 4kB pages, and other architectures may often have similar features. IA-64 supports as many as eight different page sizes, from 4kB up to 256MB. This support for huge pages (known as superpages in <b>FreeBSD</b>) allows for &quot;the best of both worlds&quot;, reducing the pressure on the TLB cache (sometimes increasing speed by as much as 15%, depending on the application and the allocation size) for large allocations while still keeping memory usage at a reasonable level for small allocations.&quot; (wikipedia)<br>

<br><br><br><div class="gmail_quote">2009/12/15 Anton Yuzhaninov <span dir="ltr">&lt;<a href="mailto:citrin@citrin.ru">citrin@citrin.ru</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<div class="im">Михаил Монашёв wrote:<br>
&gt; Кто-нить использовал superpages c nginx-ом? Пишут, что всё может быть<br>
&gt; весьма плачевно: <a href="http://lists.freebsd.org/pipermail/freebsd-hackers/2009-November/030094.html" target="_blank">http://lists.freebsd.org/pipermail/freebsd-hackers/2009-November/030094.html</a><br>
<br>
</div>1. В 8-ке есть ряд улучшений в поддержки Superpages по сравнению с 7-кой.<br>
<br>
2. Много зависит от используемого CPU, а конкретно от размера его TLB-кэша. Дело<br>
в том что для обычных страниц и больших разные TLB. И на некоторых CPU для<br>
больших страниц очень маленький TLB.<br>
<br>
Так что надежнее всего провести бенчмарки на нагрузке близкой к реальной с<br>
superpages и без них.<br>
<br>
--<br>
<font color="#888888"> Anton Yuzhaninov<br>
</font><div><div></div><div class="h5"><br>
_______________________________________________<br>
nginx-ru mailing list<br>
<a href="mailto:nginx-ru@nginx.org">nginx-ru@nginx.org</a><br>
<a href="http://nginx.org/mailman/listinfo/nginx-ru" target="_blank">http://nginx.org/mailman/listinfo/nginx-ru</a><br>
</div></div></blockquote></div><br>