[Python-Dev] The untuned tunable parameter ARENA_SIZE (original) (raw)
Antoine Pitrou solipsis at pitrou.net
Thu Jun 1 05:50:14 EDT 2017
- Previous message (by thread): [Python-Dev] The untuned tunable parameter ARENA_SIZE
- Next message (by thread): [Python-Dev] The untuned tunable parameter ARENA_SIZE
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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 arenas.
Regards
Antoine.
- Previous message (by thread): [Python-Dev] The untuned tunable parameter ARENA_SIZE
- Next message (by thread): [Python-Dev] The untuned tunable parameter ARENA_SIZE
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]