Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:71134 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 74028 invoked from network); 15 Jan 2014 08:44:33 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Jan 2014 08:44:33 -0000 Authentication-Results: pb1.pair.com header.from=ab@php.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=ab@php.net; spf=unknown; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 85.214.73.107 as permitted sender) X-PHP-List-Original-Sender: ab@php.net X-Host-Fingerprint: 85.214.73.107 klapt.com Received: from [85.214.73.107] ([85.214.73.107:47795] helo=klapt.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 59/92-52301-E6A46D25 for ; Wed, 15 Jan 2014 03:44:32 -0500 Received: by klapt.com (Postfix, from userid 33) id F359E23D6080; Wed, 15 Jan 2014 09:44:27 +0100 (CET) Received: from 94.216.44.30 (SquirrelMail authenticated user anatol@belski.net) by webmail.klapt.com with HTTP; Wed, 15 Jan 2014 09:44:27 +0100 Message-ID: In-Reply-To: References: Date: Wed, 15 Jan 2014 09:44:27 +0100 To: "Dmitry Stogov" Cc: "PHP Internals" Reply-To: "Anatol Belski" User-Agent: SquirrelMail/1.5.2 [SVN] MIME-Version: 1.0 Content-Type: text/plain;charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: Re: [PHP-DEV] New Memory Manager From: ab@php.net ("Anatol Belski") 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