Re: New Memory Manager

From: Date: Wed, 15 Jan 2014 08:56:35 +0000
Subject: Re: New Memory Manager
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-71135@lists.php.net to get a copy of this message
Hi Anatol, It's a Prove of Concept implementation. I publish it to decide if it makes sense to integrate it into PHP and implement support for missed things or just forget. As I wrote, at this moment, it supports only Linux, non-zts, release build. Thanks. Dmitry. On Wed, Jan 15, 2014 at 12:44 PM, Anatol Belski <ab@php.net> wrote: > Hi Dmitry, > > On Tue, January 14, 2014 15:21, Dmitry Stogov wrote: > > Hi, > > > > > > Recently I took a look into jemalloc and tcmalloc internals and tried to > > borrow some ideas. You may check the result at > > https://github.com/dstogov/php-src/tree/xx_malloc. > > It's a dirty prove of > > concept implementation of New Memory Manager for PHP. It was tested only > > on Linux, release, non-ZTS build. It misses support for debug mode and > ZTS > > yet. The main advantage is small but consistent speed improvement on > > real-life applications. > > > i've just gave it a try on windows, the compilation breaks with this error > > zend\xx_malloc.c(41) : fatal error C1083: Cannot open include file: > 'sys/mman.h': No such file or directory > > Google gave me this link > https://code.google.com/p/mman-win32/source/browse/trunk/ . I > can go for a > fix using this lib or maybe look for another equivalent after the > str_size_and_int64 RFC finish. > > Regards > > Anatol >

« previous php.internals (#71135) next »