Bug #76867 [Opn]: Extremely slow performance
| From: | nikic@php.net | Date: | Thu, 09 May 2019 08:40:45 +0000 |
| Subject: | Bug #76867 [Opn]: Extremely slow performance | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-220788@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=76867&edit=1
ID: 76867
Updated by: nikic@php.net
Reported by: ivokund at gmail dot com
Summary: Extremely slow performance
Status: Open
Type: Bug
Package: Performance problem
Operating System: Ubuntu 18.04.1 LTS
PHP Version: 7.2.9
Block user comment: N
Private report: N
New Comment:
We changed USE_ZEND_ALLOC_HUGE_PAGES to control the use of transparent huge pages as well at some
point (it's disabled by default now), so I'm closing this issue.
Previous Comments:
------------------------------------------------------------------------
[2019-05-09 08:21:45] nivetha0728 at gmail dot com
Get the PHP support
------------------------------------------------------------------------
[2018-10-03 08:53:48] sjon at hortensius dot net
@requinix - USE_ZEND_ALLOC_HUGE_PAGES should control Zend's core allocation, see https://github.com/php/php-src/commit/945a661912612cdecd221cd126feda7d4335c33c.
Since that doesn't work, this issue might be caused by the opcache which has a separate setting
(opcache.enable_huge_code_pages), see https://github.com/php/php-src/commit/669f0b39b184593e01e677360fd79b2b63058ca0
@rhsoft - while hugepages are faster, misses are costly (again, see https://bugs.php.net/70984 )
------------------------------------------------------------------------
[2018-09-20 12:57:59] spam2 at rhsoft dot net
i don't get the impact completly
huge pages are assumed to be faster and PHP also has --enable-huge-code-pages for opcache - would it
be better to change that also to --disable-huge-code-pages while not sure if that is using
transparent or "dedicated" huge-pages which won't work anyways without epxlicit admin
dance (see mysql and huge pages)
------------------------------------------------------------------------
[2018-09-20 12:51:20] lyrixx at lyrixx dot info
Hello,
I got the same problem. I don't know why since I just update PHP to 7.2.10
Anyway, I executed
hugeadm --thp-never and the issue seems to be fixed.
------------------------------------------------------------------------
[2018-09-13 15:52:35] ivokund at gmail dot com
I disabled huge pages with "hugeadm --thp-never" and the problem disappeared instantly.
I'm happy now, so if this is not a PHP issue then please close the issue.
Thanks for your help everyone!
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=76867
--
Edit this bug report at https://bugs.php.net/bug.php?id=76867&edit=1