> -----Original Message----- > From: Dmitry Stogov [mailto:dmi...@zend.com] > Sent: Monday, September 14, 2015 10:37 PM > To: Anatol Belski <anatol....@belski.net> > Cc: Anatol Belski <a...@php.net>; Kalle Sommer Nielsen <ka...@php.net>; > Rasmus Lerdorf <ras...@lerdorf.com>; Xinchen Hui <xinche...@zend.com>; > Nikita Popov <nikita....@gmail.com>; Zeev Suraski <z...@zend.com>; Andi > Gutmans <a...@zend.com>; PHP Internals <internals@lists.php.net> > 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 > > > > > With the new huge memory pages feature I'd suggest a bit softer - > > enabling its building, but setting opcache.enable_huge_code_pages=0 by > default. > > > OK. > > > > Then it can be easy enable and give one more intermediate step for pre > > testing and go into RC4 completely if ok. > > > In general we may get build problems on some platforms... > > > > What do you think? > > > > 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. > 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 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php