[Python-Dev] The untuned tunable parameter ARENA_SIZE
solipsis at pitrou.net
Thu Jun 1 05:50:14 EDT 2017
On Thu, 1 Jun 2017 18:37:17 +0900
INADA Naoki <songofacandy at 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
More information about the Python-Dev