On Thu, 1 Jun 2017 18:37:17 +0900
INADA Naoki <songofaca...@gmail.com> wrote:
> x86's hugepage is 2MB.
> And some Linux enables "Transparent Huge Page" feature.
> 
> Maybe, 2MB arena size is better for TLB efficiency.
> Especially, for servers having massive memory.

But, since Linux is able to merge pages transparently, we perhaps
needn't allocate large pages explicitly.

Another possible strategy is: allocate several arenas at once (using a
larger mmap() call), and use MADV_DONTNEED to relinquish individual
arenas.

Regards

Antoine.


_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to