Grokbase Groups PHP php-pres May 2016
FAQ
Commit: b1adf275c4bb048be3e85491f72091a7959ae73b
Author: Rasmus Lerdorf <rasmus@php.net> Fri, 13 May 2016 08:13:39 +0200
Parents: 85a647422615659ab07d1dbfffde57ff90e24f7f
Branches: master

Link: http://git.php.net/?p=presentations.git;a=commitdiff;h=b1adf275c4bb048be3e85491f72091a7959ae73b

Log:
Tweak

Changed paths:
   M phpday16.html
   M slides/intro/php7_tuning.xml


Diff:
diff --git a/phpday16.html b/phpday16.html
index 8b3ab57..e0981a3 100644
--- a/phpday16.html
+++ b/phpday16.html
@@ -558,8 +558,8 @@ $bytes = random_bytes(10);

  var_dump( $int );
  var_dump( bin2hex($bytes) );</code></pre>
- <pre class="output" style="font-size:1.2em;">int(-306)
-string(20) "9873ab7dc8a54e860556"
+ <pre class="output" style="font-size:1.2em;">int(259)
+string(20) "8953b9ae2aed4675b644"
    </pre> </section> </section>
   <section>
    <section id="perf2014">
@@ -1503,6 +1503,7 @@ HugePages_Free: 300
  HugePages_Rsvd: 0
  HugePages_Surp: 0
  Hugepagesize: 2048 kB</code></pre>
+ <pre><code class="ini" data-trim style="font-size:1.1em;">USE_ZEND_ALLOC_HUGE_PAGES=1 httpd ...</code></pre>
    </section>
  <section id="php7_tune_realpath">
    <p class="p" style="font-size:2em;">increase realpath_cache_size</p>
diff --git a/slides/intro/php7_tuning.xml b/slides/intro/php7_tuning.xml
index b309c73..cbedf40 100644
--- a/slides/intro/php7_tuning.xml
+++ b/slides/intro/php7_tuning.xml
@@ -35,6 +35,10 @@ HugePages_Surp: 0
  Hugepagesize: 2048 kB
  ]]></example>

+<example fontsize="1.1em" marginleft="7em" result='0' title="" type="ini"><![CDATA[<?php
+USE_ZEND_ALLOC_HUGE_PAGES=1 httpd ...
+]]></example>
+
  <break lines="1" section="php7_tune_realpath"/>
  <blurb fontsize="2em">increase realpath_cache_size</blurb>
  <example fontsize="2em" marginleft="7em" result='0' title="" type="ini"><![CDATA[<?php

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 1 | next ›
Discussion Overview
groupphp-pres @
categoriesphp
postedMay 13, '16 at 6:13a
activeMay 13, '16 at 6:13a
posts1
users1
websitephp.net

1 user in discussion

Rasmus Lerdorf: 1 post

People

Translate

site design / logo © 2017 Grokbase