Bug #71272 [NEW]: i disabled hugepage use --disable-huge-code-pages not effect

From: Date: Mon, 04 Jan 2016 09:47:47 +0000
Subject: Bug #71272 [NEW]: i disabled hugepage use --disable-huge-code-pages not effect
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-198397@lists.php.net to get a copy of this message
From:             svei at vip dot qq dot com
Operating system: Linux version 2.6.33.15
PHP version:      7.0.1
Package:          opcache
Bug Type:         Bug
Bug description:i disabled hugepage use --disable-huge-code-pages not effect

Description:
------------
compile my php use --disable-huge-code-pages 
and disabled opcache
 ~ #php -m
[PHP Modules]
bcmath
Core
curl
date
dom
filter
gd
gmp
hash
iconv
json
libxml
pcre
posix
Reflection
session
SimpleXML
SPL
standard

[Zend Modules]


because i don't want to use hugepages
but this not effect
when i run test script 
the hugepages in /proc/meminfo was reduce 
before i run my test script

~ #cat /proc/meminfo | grep Huge
HugePages_Total:   11230
HugePages_Free:        5
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:       2048 kB

the HugePages_Free is 5


Test script:
---------------
<?php
sleep(10);


Expected result:
----------------
 ~ #cat /proc/meminfo | grep Huge
HugePages_Total:   11230
HugePages_Free:        5
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:       2048 kB

the HugePages_Free not change 

Actual result:
--------------
~ #cat /proc/meminfo | grep Huge
HugePages_Total:   11230
HugePages_Free:        4
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:       2048 kB

the HugePages_Free is chane to 4


-- 
Edit bug report at https://bugs.php.net/bug.php?id=71272&edit=1
-- 
Try a snapshot (PHP 5.4):   https://bugs.php.net/fix.php?id=71272&r=trysnapshot54
Try a snapshot (PHP 5.5):   https://bugs.php.net/fix.php?id=71272&r=trysnapshot55
Try a snapshot (trunk):     https://bugs.php.net/fix.php?id=71272&r=trysnapshottrunk
Fixed in SVN:               https://bugs.php.net/fix.php?id=71272&r=fixed
Fixed in release:           https://bugs.php.net/fix.php?id=71272&r=alreadyfixed
Need backtrace:             https://bugs.php.net/fix.php?id=71272&r=needtrace
Need Reproduce Script:      https://bugs.php.net/fix.php?id=71272&r=needscript
Try newer version:          https://bugs.php.net/fix.php?id=71272&r=oldversion
Not developer issue:        https://bugs.php.net/fix.php?id=71272&r=support
Expected behavior:          https://bugs.php.net/fix.php?id=71272&r=notwrong
Not enough info:            https://bugs.php.net/fix.php?id=71272&r=notenoughinfo
Submitted twice:            https://bugs.php.net/fix.php?id=71272&r=submittedtwice
register_globals:           https://bugs.php.net/fix.php?id=71272&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=71272&r=php4
Daylight Savings:           https://bugs.php.net/fix.php?id=71272&r=dst
IIS Stability:              https://bugs.php.net/fix.php?id=71272&r=isapi
Install GNU Sed:            https://bugs.php.net/fix.php?id=71272&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=71272&r=float
No Zend Extensions:         https://bugs.php.net/fix.php?id=71272&r=nozend
MySQL Configuration Error:  https://bugs.php.net/fix.php?id=71272&r=mysqlcfg



Thread (4 messages)

« previous php.bugs (#198397) next »