Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:88194 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 70325 invoked from network); 14 Sep 2015 21:14:02 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 14 Sep 2015 21:14:02 -0000 Authentication-Results: pb1.pair.com header.from=anatol.php@belski.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=anatol.php@belski.net; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain belski.net from 85.214.73.107 cause and error) X-PHP-List-Original-Sender: anatol.php@belski.net X-Host-Fingerprint: 85.214.73.107 klapt.com Received: from [85.214.73.107] ([85.214.73.107:54111] helo=h1123647.serverkompetenz.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id DC/93-48700-99837F55 for ; Mon, 14 Sep 2015 17:14:02 -0400 Received: by h1123647.serverkompetenz.net (Postfix, from userid 1006) id B35726D20CD; Mon, 14 Sep 2015 23:13:58 +0200 (CEST) Received: from w530phpdev (pD9FE88ED.dip0.t-ipconnect.de [217.254.136.237]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by h1123647.serverkompetenz.net (Postfix) with ESMTPSA id AAA036D20C9; Mon, 14 Sep 2015 23:13:54 +0200 (CEST) To: "'Dmitry Stogov'" Cc: "'Anatol Belski'" , "'Kalle Sommer Nielsen'" , "'Rasmus Lerdorf'" , "'Xinchen Hui'" , "'Nikita Popov'" , "'Zeev Suraski'" , "'Andi Gutmans'" , "'PHP Internals'" References: <031201d0ef28$abcec710$036c5530$@belski.net> In-Reply-To: Date: Mon, 14 Sep 2015 23:13:52 +0200 Message-ID: <035401d0ef32$440361e0$cc0a25a0$@belski.net> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 15.0 Thread-Index: AQHGC28vWAWs0Pbo/VmQmtRK5zDXJQFxa/PDnka7UbA= Content-Language: en-us Subject: RE: [PHP-DEV] Re: [PHP-CVS] com php-src: Added an experemental ability to move PHP code pages (PHP TEXT segment) into HUGE pages. PHP should be configured and built with --enable-huge-code-pages, OS should be configured to provide huge pages. It's possibl From: anatol.php@belski.net ("Anatol Belski") > -----Original Message----- > From: Dmitry Stogov [mailto:dmitry@zend.com] > Sent: Monday, September 14, 2015 10:37 PM > To: Anatol Belski > Cc: Anatol Belski ; Kalle Sommer Nielsen ; > Rasmus Lerdorf ; Xinchen Hui ; > Nikita Popov ; Zeev Suraski ; = Andi > Gutmans ; PHP Internals > Subject: Re: [PHP-DEV] Re: [PHP-CVS] com php-src: Added an = experemental > ability to move PHP code pages (PHP TEXT segment) into HUGE pages. PHP > should be configured and built with --enable-huge-code-pages, OS = should be > configured to provide huge pages. It's possibl >=20 > > > > With the new huge memory pages feature I'd suggest a bit softer - > > enabling its building, but setting = opcache.enable_huge_code_pages=3D0 by > default. >=20 >=20 > OK. >=20 >=20 > > Then it can be easy enable and give one more intermediate step for = pre > > testing and go into RC4 completely if ok. >=20 >=20 > In general we may get build problems on some platforms... >=20 >=20 > > What do you think? > > >=20 > I didn't get, do you like to delay this for RC4? or enable it at = compile time and > disable at run-time by default for RC3? > I agree with both. >=20 I was suggesting the latter - build and disable at run-time. With RC4 I = meant - as it's run-time enabled by default currently, that could be = turned on by default in RC4 if everything was well in RC3. Regarding possible build issues you mention - probably some magic in = config.m4 could disable huge pages? I wasn't aware, but probably yep - = like FreeBSD or OSX likely to not to have the sys/prctl.h . This could = be a reason for delaying till RC4, but it's actually easy solved doing = some test compilation in config.m4 . I'd see build + disable on run-time = in RC3 as a better move because it turns the test circle earlier which = is good considering there are only 4 RCs to go yet. Regards Anatol