Re: [Python-Dev] The untuned tunable parameter ARENA_SIZE

2017年6月01日 02:54:01 -0700

On Thu, 1 Jun 2017 18:37:17 +0900
INADA Naoki <[email protected]> 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
[email protected]
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