This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author neologix
Recipients dmalcolm, eli.bendersky, flox, kaifeng, neologix, pitrou, python-dev
Date 2011-11-25.22:45:18
SpamBayes Score 3.537559e-08
Marked as misclassified No
Message-id <CAH_1eM13a3yGKiNtKYYGDoJFSoPUFf4kr12GwEjiSf2aLgXR2Q@mail.gmail.com>
In-reply-to <1322258101.3272.41.camel@localhost.localdomain>
Content
> Hmm, quite slow indeed, are you sure you're not running in debug mode?
>

Well, yes, but it's no faster with a non-debug build: my laptop is
really crawling :-)

> If the performance regression is limited to read(), I don't think it's
> really an issue, but using mmap/munmap explicitly would probably benicer
> anyway (1° because it lets the glibc choose whatever heuristic is best,
> 2° because it would help release memory on more systems than just glibc
> systems). I think limiting ourselves to systems which have
> MMAP_ANONYMOUS is good enough.
>

Agreed.
Here's a patch.
Files
File name Uploaded
arenas_mmap.diff neologix, 2011-11-25.22:45:17
History
Date User Action Args
2011-11-25 22:45:19neologixsetrecipients: + neologix, pitrou, eli.bendersky, flox, dmalcolm, python-dev, kaifeng
2011-11-25 22:45:18neologixlinkissue11849 messages
2011-11-25 22:45:18neologixcreate