New submission from Kristján Valur Jónsson:

A new allocation policy, "lowest address strategy" improves fragmentation of 
memory in obmalloc.  pools with available memory are chosen by lowest address 
preference.  This increases the likelihood that unused pools are released to 
their corresponding arenas.  Arenas with available pools are similarly chosen 
by lowest address.
This significantly helps fragmentation in programs with dynamic memory usage, 
e.g. long running programs.  Initial tests also indicate some minor performance 
benefits of the pybench, probably due to better cache behaviour.

----------
components: Interpreter Core
files: obmalloc.patch
keywords: patch
messages: 216156
nosy: kristjan.jonsson
priority: normal
severity: normal
status: open
title: Enhance obmalloc allocation strategy
type: resource usage
versions: Python 3.5
Added file: http://bugs.python.org/file34836/obmalloc.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue21220>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to