diff options
author | Sebastian Berg <sebastian@sipsolutions.net> | 2020-03-17 13:07:56 -0500 |
---|---|---|
committer | Sebastian Berg <sebastian@sipsolutions.net> | 2020-03-17 13:19:56 -0500 |
commit | 2d6edb3677a9d3e4a4c85c91809cd9f4b9b9efbb (patch) | |
tree | 041d50543915b69167fa31e8bd7acb4e1b127475 /numpy/core/fromnumeric.py | |
parent | 4f2b219647ae6a7928590be2b709894ae2403274 (diff) | |
download | numpy-2d6edb3677a9d3e4a4c85c91809cd9f4b9b9efbb.tar.gz |
ENH: Allow toggling madvise hugepage and fix default
By default this disables madvise hugepage on kernels before 4.6, since
we expect that these typically see large performance regressions when
using hugepages due to slow defragementation code presumably fixed by:
https://github.com/torvalds/linux/commit/7cf91a98e607c2f935dbcc177d70011e95b8faff
This adds support to set the behaviour at startup time through the
``NUMPY_MADVISE_HUGEPAGE`` environment variable.
Fixes gh-15545
Diffstat (limited to 'numpy/core/fromnumeric.py')
0 files changed, 0 insertions, 0 deletions