Re: [PHP-DEV] Huge Pages

2016-03-24 Thread Brian Moon
On 3/19/16 23:29 , Rasmus wrote: We have a bit of a problem with how Linux handles huge pages when you run out of them. I've been discussing it with Dmitry and he recently committed a way to disable Huge Pages in the main allocator to master: https://github.com/php/php-src/commit/945a661912612c

Re: [PHP-DEV] Huge Pages

2016-03-21 Thread Remi Collet
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Le 20/03/2016 05:29, Rasmus a écrit : > We have a bit of a problem with how Linux handles huge pages when > you run out of them. Yes, especially on old kernel (2.6.32 on RHEL-6) For the build in my repository : - - RHEL-6 : build with --disable-huge

Re: [PHP-DEV] Huge Pages

2016-03-20 Thread Rasmus Lerdorf
On 03/20/2016 01:58 PM, Anatol Belski wrote: > Dmitry has already merged this patch into the 7.0 branch. I also know from > Remi that Fedora doesn't play well with the huge pages. Huge pages require > special system settings which are usually not enabled in OSes by default. > Having it off by de

RE: [PHP-DEV] Huge Pages

2016-03-20 Thread Anatol Belski
Hi Rasmus, > -Original Message- > From: Rasmus [mailto:ras...@lerdorf.com] > Sent: Sunday, March 20, 2016 5:29 AM > To: php-internals > Subject: [PHP-DEV] Huge Pages > > We have a bit of a problem with how Linux handles huge pages when you run > out of them. > > I've been discussing it