com presentations: Tweaks: singapore18.html singapore18.xml slides/intro/php7_perf_s.xml slides/intro/web_impac t_2018.xml
| From: | Rasmus Lerdorf | Date: | Sun, 16 Sep 2018 21:20:05 +0000 |
| Subject: | com presentations: Tweaks: singapore18.html singapore18.xml slides/intro/php7_perf_s.xml slides/intro/web_impac t_2018.xml | ||
| Groups: | php.pres | ||
| Request: | Send a blank email to pres+get-2296@lists.php.net to get a copy of this message | ||
Commit: 93c4c0cc58a34dfcde54caabf53b7b1599aeb4a3
Author: Rasmus Lerdorf <rasmus@php.net> Sun, 16 Sep 2018 14:20:05 -0700
Parents: 3e28b8845382b03f0b2f6d19618d2bea2cf249de
Branches: master
Link: http://git.php.net/?p=presentations.git;a=commitdiff;h=93c4c0cc58a34dfcde54caabf53b7b1599aeb4a3
Log:
Tweaks
Changed paths:
M singapore18.html
M singapore18.xml
M slides/intro/php7_perf_s.xml
A slides/intro/web_impact_2018.xml
diff --git a/singapore18.html b/singapore18.html index 16871df..cfaae6a 100644 --- a/singapore18.html +++ b/singapore18.html @@ -261,128 +261,6 @@ Hi <?echo $name?>, you are <?echo $age?> years old </body></html></code></pre> </section> </section> <section> - <section id="php7_speed"> - <img src="/presentations/slides/intro/php7trans-200.png" width="" height=""> - <p class="p" style="font-size:1.1em;text-align:left;">✔ engine improvements</p> - <ul> - <li style="font-size: 1em;">100%+ performance gain on most real-world applications</li> - <li style="font-size: 1em;">Lower memory usage, sometimes drastically lower</li> - </ul> - </section> </section> - <section> - <section id="php7perfdetail"> - <h1 style="text-align:center;">JIT?</h1> - </section> -<section id="php7perfdetail1"> - <p class="p" style="font-size:1.1em;">Improve CPU cache usage</p> - <ul> - <li style="font-size: 1em;list-style-type: none;">Step 1: Decrease overall data</li> - <li style="font-size: 1em;list-style-type: none;">Step 2: Better data locality and less indirections</li> - <li style="font-size: 1em;list-style-type: none;">Step 3: Save the world!</li> - </ul> - </section> -<section id="php7perfdetail1"> - <ul> - <li style="font-size: 1em;list-style-type: none;">zval size reduced from 24 to 16 bytes</li> - <li style="font-size: 1em;list-style-type: none;">Hashtable size reduced from 72 to 56 bytes</li> - <li style="font-size: 1em;list-style-type: none;">Hashtable bucket size reduced from 72 to 32 bytes</li> - <li style="font-size: 1em;list-style-type: none;">Immutable array optimization</li> - </ul> - <pre><code data-trim style="font-size:1.1em;" >$a = []; -for($i=0; $i < 100000;$i++) { - $a[] = ['abc','def','ghi','jkl','mno','pqr']; -} -echo memory_get_usage(true); - -// PHP 5.x 109M -// PHP 7.0 42M no opcache -// PHP 7.0 6M with opcache enabled</code></pre> - </section> -<section id="php7perfdetail2"> - <ul> - <li style="font-size: 1em;list-style-type: none;">New memory allocator similar to jemalloc</li> - <li style="font-size: 1em;list-style-type: none;">Faster hashtable iteration API</li> - <li style="font-size: 1em;list-style-type: none;">Array duplication optimization</li> - <li style="font-size: 1em;list-style-type: none;">PCRE JIT enabled by default</li> - <li style="font-size: 1em;list-style-type: none;">Precomputed string hashes</li> - <li style="font-size: 1em;list-style-type: none;">Fast ZPP (ZendParseParameters) implementation</li> - <li style="font-size: 1em;list-style-type: none;">Faster stack-allocated zvals (instead of heap)</li> - <li style="font-size: 1em;list-style-type: none;">Optimized VM calling</li> - <li style="font-size: 1em;list-style-type: none;">Global register variables with gcc 4.8+</li> - <li style="font-size: 1em;list-style-type: none;">plus hundreds of micro-optimizations</li> - </ul> - </section> -<section id="php7detail4"> - <h1 style="text-align:center;">JIT?</h1> - </section> </section> - <section> - <section id="wpbench"> - -<div id="wpbench_container" class="stretch" style="margin: 0 auto"></div> -<script src="presentations/slides/intro/wp2018.js"></script> - </section> </section> - <section> - <section id="smemwp"> - -<div id="smemwp_container" class="stretch" style="margin: 0 auto"></div> -<script src="presentations/slides/intro/smemwp2018.js"></script> - </section> </section> - <section> - <section id="prod_perc95"> - <h2 margin-bottom="2em">PHP 7 in production</h2><br> - <img src="/presentations/slides/intro/perc95.png" align="center" width="882" height="465"> - </section> -<section id="prod_cpu"> - <img src="/presentations/slides/intro/cpu.png" align="center" width="882" height="465"> - </section> -<section id="prod_mem"> - <img src="/presentations/slides/intro/mem.png" align="center" width="882" height="465"> - </section> </section> - <section> - <section id="impact"> - <h1 style="text-align:center;">Saving the Planet?</h1> - </section> -<section id="impact1"> - <ul> - <li style="font-size: 1.5em;margin-left: -1em;">Around 2 billion sites on the web</li> - <li style="font-size: 1.5em;margin-left: -1em;">On 10 million physical machines</li> - <li style="font-size: 1.5em;margin-left: -1em;">PHP drives at least 50%</li> - </ul> - </section> -<section id="impact2"> - <ul> - <li style="font-size: 1.5em;margin-left: -1em;">Currently ~5% PHP 7 Adoption</li> - <li style="font-size: 1.5em;margin-left: -1em;">which is about 250k physical servers</li> - </ul> - </section> -<section id="impact3"> - <ul> - <li style="font-size: 1.5em;margin-left: -1em;">3000 KWH/year per server costs approx. US$400</li> - <li style="font-size: 1.5em;margin-left: -1em;">Data center cooling doubles that</li> - <li style="font-size: 1.5em;margin-left: -1em;">0.5kg CO2 per KWH</li> - </ul> - </section> -<section id="impact4"> - <p class="p" style="font-size:2em;text-align:left;">At 5% Adoption</p> - <ul> - <li style="font-size: 1.5em;margin-left: -1em;">US $200M savings</li> - <li style="font-size: 1.5em;margin-left: -1em;">750M KWH Savings</li> - <li style="font-size: 1.5em;margin-left: -1em;">375M kg less CO2</li> - </ul> - </section> -<section id="impact5"> - <p class="p" style="font-size:2em;text-align:left;">At 100% Adoption</p> - <ul> - <li style="font-size: 1.5em;margin-left: -1em;">$4B savings</li> - <li style="font-size: 1.5em;margin-left: -1em;">15B KWH Savings</li> - <li style="font-size: 1.5em;margin-left: -1em;">7.5B kg less CO2</li> - </ul> - </section> -<section id="impact6"> - <h1 style="text-align:center;">Do your part</h1> - <h1 style="text-align:center;">Upgrade to PHP 7!</h1> - </section> </section> - <section> <section id="php73"> <h1 style="text-align:center;">PHP 7.3</h1> </section> @@ -526,6 +404,62 @@ echo array_key_last($a); <div align="" style="font-size: 0.8em; color: ; text-align: ; margin-left: -1em; margin-right: ; margin-top: ; margin-bottom: ;"><a href="https://github.com/php/php-src/blob/PHP-7.3/UPGRADING.INTERNALS" target="">https://github.com/php/php-src/blob/PHP-7.3/UPGRADING.INTERNALS</a></div> </section> </section> <section> + <section id="wpbench"> + +<div id="wpbench_container" class="stretch" style="margin: 0 auto"></div> +<script src="presentations/slides/intro/wp2018.js"></script> + </section> </section> + <section> + <section id="smemwp"> + +<div id="smemwp_container" class="stretch" style="margin: 0 auto"></div> +<script src="presentations/slides/intro/smemwp2018.js"></script> + </section> </section> + <section> + <section id="impact"> + <h1 style="text-align:center;">Saving the Planet?</h1> + </section> +<section id="impact1"> + <ul> + <li style="font-size: 1.5em;margin-left: -1em;">Around 2 billion sites on the web</li> + <li style="font-size: 1.5em;margin-left: -1em;">On 10 million physical machines</li> + <li style="font-size: 1.5em;margin-left: -1em;">PHP drives at least 50%</li> + </ul> + </section> +<section id="impact2"> + <ul> + <li style="font-size: 1.5em;margin-left: -1em;">Currently ~50% PHP 7 Adoption</li> + <li style="font-size: 1.5em;margin-left: -1em;">which is about 2.5M physical servers</li> + </ul> + </section> +<section id="impact3"> + <ul> + <li style="font-size: 1.5em;margin-left: -1em;">3000 KWH/year per server costs approx. US$400</li> + <li style="font-size: 1.5em;margin-left: -1em;">Data center cooling doubles that</li> + <li style="font-size: 1.5em;margin-left: -1em;">0.5kg CO2 per KWH</li> + </ul> + </section> +<section id="impact4"> + <p class="p" style="font-size:2em;text-align:left;">At 50% Adoption</p> + <ul> + <li style="font-size: 1.5em;margin-left: -1em;">US $2B savings</li> + <li style="font-size: 1.5em;margin-left: -1em;">7.5B KWH Savings</li> + <li style="font-size: 1.5em;margin-left: -1em;">3.75B kg less CO2</li> + </ul> + </section> +<section id="impact5"> + <p class="p" style="font-size:2em;text-align:left;">Let's double that to 100%!</p> + <ul> + <li style="font-size: 1.5em;margin-left: -1em;">$4B savings</li> + <li style="font-size: 1.5em;margin-left: -1em;">15B KWH Savings</li> + <li style="font-size: 1.5em;margin-left: -1em;">7.5B kg less CO2</li> + </ul> + </section> +<section id="impact6"> + <h1 style="text-align:center;">Do your part</h1> + <h1 style="text-align:center;">Upgrade to PHP 7!</h1> + </section> </section> + <section> <section id="dce"> <p class="p" style="font-size:2em;text-align:center;">Dead Code Elimination (DCE)</p> <p class="p" style="font-size:1.5em;text-align:center;">Escape Analysis</p> diff --git a/singapore18.xml b/singapore18.xml index a5bfc50..84c20a2 100644 --- a/singapore18.xml +++ b/singapore18.xml @@ -30,17 +30,12 @@ <slide>slides/intro/nold2.xml</slide> <slide>slides/intro/nold3.xml</slide> -<slide>slides/intro/php7_speed.xml</slide> -<slide>slides/intro/php7_perf_s.xml</slide> - +<slide>slides/intro/php73.xml</slide> <slide>slides/intro/wp2018.xml</slide> <slide>slides/intro/smemwp2018.xml</slide> -<slide>slides/intro/php7prod.xml</slide> -<slide>slides/intro/web_impact.xml</slide> +<slide>slides/intro/web_impact_2018.xml</slide> -<slide>slides/intro/php73.xml</slide> <slide>slides/intro/dce2018.xml</slide> - <slide>slides/intro/phan_2018.xml</slide> <slide>slides/intro/phpspy.xml</slide> diff --git a/slides/intro/php7_perf_s.xml b/slides/intro/php7_perf_s.xml index c4c252c..d123f9f 100644 --- a/slides/intro/php7_perf_s.xml +++ b/slides/intro/php7_perf_s.xml @@ -11,7 +11,7 @@ <bullet fontsize="1em" type="none">Step 3: Save the world!</bullet> </list> -<break lines="1" section="php7perfdetail1"/> +<break lines="1" section="php7perfdetail2"/> <list> <bullet fontsize="1em" type="none">zval size reduced from 24 to 16 bytes</bullet> <bullet fontsize="1em" type="none">Hashtable size reduced from 72 to 56 bytes</bullet> @@ -31,7 +31,7 @@ echo memory_get_usage(true); // PHP 7.0 6M with opcache enabled ]]></example> -<break lines="1" section="php7perfdetail2"/> +<break lines="1" section="php7perfdetail3"/> <list> <bullet fontsize="1em" type="none">New memory allocator similar to jemalloc</bullet> diff --git a/slides/intro/web_impact_2018.xml b/slides/intro/web_impact_2018.xml new file mode 100644 index 0000000..33eea87 --- /dev/null +++ b/slides/intro/web_impact_2018.xml @@ -0,0 +1,49 @@ +<slide title="" section="impact"> + +<blurb fontsize="20em" align="center">Saving the Planet?</blurb> + +<break lines="1" section="impact1"/> + +<list> +<bullet marginleft="-1em" fontsize="1.5em">Around 2 billion sites on the web</bullet> +<bullet marginleft="-1em" fontsize="1.5em">On 10 million physical machines</bullet> +<bullet marginleft="-1em" fontsize="1.5em">PHP drives at least 50%</bullet> +</list> + +<break lines="1" section="impact2"/> + +<list> +<bullet marginleft="-1em" fontsize="1.5em">Currently ~50% PHP 7 Adoption</bullet> +<bullet marginleft="-1em" fontsize="1.5em">which is about 2.5M physical servers</bullet> +</list> + +<break lines="1" section="impact3"/> + +<list> +<bullet marginleft="-1em" fontsize="1.5em">3000 KWH/year per server costs approx. US$400</bullet> +<bullet marginleft="-1em" fontsize="1.5em">Data center cooling doubles that</bullet> +<bullet marginleft="-1em" fontsize="1.5em">0.5kg CO2 per KWH</bullet> +</list> + +<break lines="1" section="impact4"/> +<blurb fontsize="2em" align="left">At 50% Adoption</blurb> +<list> +<bullet marginleft="-1em" fontsize="1.5em">US $2B savings</bullet> +<bullet marginleft="-1em" fontsize="1.5em">7.5B KWH Savings</bullet> +<bullet marginleft="-1em" fontsize="1.5em">3.75B kg less CO2</bullet> +</list> + +<break lines="1" section="impact5"/> +<blurb fontsize="2em" align="left">Let's double that to 100%!</blurb> +<list> +<bullet marginleft="-1em" fontsize="1.5em">$4B savings</bullet> +<bullet marginleft="-1em" fontsize="1.5em">15B KWH Savings</bullet> +<bullet marginleft="-1em" fontsize="1.5em">7.5B kg less CO2</bullet> +</list> + +<break lines="1" section="impact6"/> + +<blurb fontsize="20em" align="center">Do your part</blurb> +<blurb fontsize="20em" align="center">Upgrade to PHP 7!</blurb> + +</slide>
diff --git a/singapore18.html b/singapore18.html index 16871df..cfaae6a 100644 --- a/singapore18.html +++ b/singapore18.html @@ -261,128 +261,6 @@ Hi <?echo $name?>, you are <?echo $age?> years old </body></html></code></pre> </section> </section> <section> - <section id="php7_speed"> - <img src="/presentations/slides/intro/php7trans-200.png" width="" height=""> - <p class="p" style="font-size:1.1em;text-align:left;">✔ engine improvements</p> - <ul> - <li style="font-size: 1em;">100%+ performance gain on most real-world applications</li> - <li style="font-size: 1em;">Lower memory usage, sometimes drastically lower</li> - </ul> - </section> </section> - <section> - <section id="php7perfdetail"> - <h1 style="text-align:center;">JIT?</h1> - </section> -<section id="php7perfdetail1"> - <p class="p" style="font-size:1.1em;">Improve CPU cache usage</p> - <ul> - <li style="font-size: 1em;list-style-type: none;">Step 1: Decrease overall data</li> - <li style="font-size: 1em;list-style-type: none;">Step 2: Better data locality and less indirections</li> - <li style="font-size: 1em;list-style-type: none;">Step 3: Save the world!</li> - </ul> - </section> -<section id="php7perfdetail1"> - <ul> - <li style="font-size: 1em;list-style-type: none;">zval size reduced from 24 to 16 bytes</li> - <li style="font-size: 1em;list-style-type: none;">Hashtable size reduced from 72 to 56 bytes</li> - <li style="font-size: 1em;list-style-type: none;">Hashtable bucket size reduced from 72 to 32 bytes</li> - <li style="font-size: 1em;list-style-type: none;">Immutable array optimization</li> - </ul> - <pre><code data-trim style="font-size:1.1em;" >$a = []; -for($i=0; $i < 100000;$i++) { - $a[] = ['abc','def','ghi','jkl','mno','pqr']; -} -echo memory_get_usage(true); - -// PHP 5.x 109M -// PHP 7.0 42M no opcache -// PHP 7.0 6M with opcache enabled</code></pre> - </section> -<section id="php7perfdetail2"> - <ul> - <li style="font-size: 1em;list-style-type: none;">New memory allocator similar to jemalloc</li> - <li style="font-size: 1em;list-style-type: none;">Faster hashtable iteration API</li> - <li style="font-size: 1em;list-style-type: none;">Array duplication optimization</li> - <li style="font-size: 1em;list-style-type: none;">PCRE JIT enabled by default</li> - <li style="font-size: 1em;list-style-type: none;">Precomputed string hashes</li> - <li style="font-size: 1em;list-style-type: none;">Fast ZPP (ZendParseParameters) implementation</li> - <li style="font-size: 1em;list-style-type: none;">Faster stack-allocated zvals (instead of heap)</li> - <li style="font-size: 1em;list-style-type: none;">Optimized VM calling</li> - <li style="font-size: 1em;list-style-type: none;">Global register variables with gcc 4.8+</li> - <li style="font-size: 1em;list-style-type: none;">plus hundreds of micro-optimizations</li> - </ul> - </section> -<section id="php7detail4"> - <h1 style="text-align:center;">JIT?</h1> - </section> </section> - <section> - <section id="wpbench"> - -<div id="wpbench_container" class="stretch" style="margin: 0 auto"></div> -<script src="presentations/slides/intro/wp2018.js"></script> - </section> </section> - <section> - <section id="smemwp"> - -<div id="smemwp_container" class="stretch" style="margin: 0 auto"></div> -<script src="presentations/slides/intro/smemwp2018.js"></script> - </section> </section> - <section> - <section id="prod_perc95"> - <h2 margin-bottom="2em">PHP 7 in production</h2><br> - <img src="/presentations/slides/intro/perc95.png" align="center" width="882" height="465"> - </section> -<section id="prod_cpu"> - <img src="/presentations/slides/intro/cpu.png" align="center" width="882" height="465"> - </section> -<section id="prod_mem"> - <img src="/presentations/slides/intro/mem.png" align="center" width="882" height="465"> - </section> </section> - <section> - <section id="impact"> - <h1 style="text-align:center;">Saving the Planet?</h1> - </section> -<section id="impact1"> - <ul> - <li style="font-size: 1.5em;margin-left: -1em;">Around 2 billion sites on the web</li> - <li style="font-size: 1.5em;margin-left: -1em;">On 10 million physical machines</li> - <li style="font-size: 1.5em;margin-left: -1em;">PHP drives at least 50%</li> - </ul> - </section> -<section id="impact2"> - <ul> - <li style="font-size: 1.5em;margin-left: -1em;">Currently ~5% PHP 7 Adoption</li> - <li style="font-size: 1.5em;margin-left: -1em;">which is about 250k physical servers</li> - </ul> - </section> -<section id="impact3"> - <ul> - <li style="font-size: 1.5em;margin-left: -1em;">3000 KWH/year per server costs approx. US$400</li> - <li style="font-size: 1.5em;margin-left: -1em;">Data center cooling doubles that</li> - <li style="font-size: 1.5em;margin-left: -1em;">0.5kg CO2 per KWH</li> - </ul> - </section> -<section id="impact4"> - <p class="p" style="font-size:2em;text-align:left;">At 5% Adoption</p> - <ul> - <li style="font-size: 1.5em;margin-left: -1em;">US $200M savings</li> - <li style="font-size: 1.5em;margin-left: -1em;">750M KWH Savings</li> - <li style="font-size: 1.5em;margin-left: -1em;">375M kg less CO2</li> - </ul> - </section> -<section id="impact5"> - <p class="p" style="font-size:2em;text-align:left;">At 100% Adoption</p> - <ul> - <li style="font-size: 1.5em;margin-left: -1em;">$4B savings</li> - <li style="font-size: 1.5em;margin-left: -1em;">15B KWH Savings</li> - <li style="font-size: 1.5em;margin-left: -1em;">7.5B kg less CO2</li> - </ul> - </section> -<section id="impact6"> - <h1 style="text-align:center;">Do your part</h1> - <h1 style="text-align:center;">Upgrade to PHP 7!</h1> - </section> </section> - <section> <section id="php73"> <h1 style="text-align:center;">PHP 7.3</h1> </section> @@ -526,6 +404,62 @@ echo array_key_last($a); <div align="" style="font-size: 0.8em; color: ; text-align: ; margin-left: -1em; margin-right: ; margin-top: ; margin-bottom: ;"><a href="https://github.com/php/php-src/blob/PHP-7.3/UPGRADING.INTERNALS" target="">https://github.com/php/php-src/blob/PHP-7.3/UPGRADING.INTERNALS</a></div> </section> </section> <section> + <section id="wpbench"> + +<div id="wpbench_container" class="stretch" style="margin: 0 auto"></div> +<script src="presentations/slides/intro/wp2018.js"></script> + </section> </section> + <section> + <section id="smemwp"> + +<div id="smemwp_container" class="stretch" style="margin: 0 auto"></div> +<script src="presentations/slides/intro/smemwp2018.js"></script> + </section> </section> + <section> + <section id="impact"> + <h1 style="text-align:center;">Saving the Planet?</h1> + </section> +<section id="impact1"> + <ul> + <li style="font-size: 1.5em;margin-left: -1em;">Around 2 billion sites on the web</li> + <li style="font-size: 1.5em;margin-left: -1em;">On 10 million physical machines</li> + <li style="font-size: 1.5em;margin-left: -1em;">PHP drives at least 50%</li> + </ul> + </section> +<section id="impact2"> + <ul> + <li style="font-size: 1.5em;margin-left: -1em;">Currently ~50% PHP 7 Adoption</li> + <li style="font-size: 1.5em;margin-left: -1em;">which is about 2.5M physical servers</li> + </ul> + </section> +<section id="impact3"> + <ul> + <li style="font-size: 1.5em;margin-left: -1em;">3000 KWH/year per server costs approx. US$400</li> + <li style="font-size: 1.5em;margin-left: -1em;">Data center cooling doubles that</li> + <li style="font-size: 1.5em;margin-left: -1em;">0.5kg CO2 per KWH</li> + </ul> + </section> +<section id="impact4"> + <p class="p" style="font-size:2em;text-align:left;">At 50% Adoption</p> + <ul> + <li style="font-size: 1.5em;margin-left: -1em;">US $2B savings</li> + <li style="font-size: 1.5em;margin-left: -1em;">7.5B KWH Savings</li> + <li style="font-size: 1.5em;margin-left: -1em;">3.75B kg less CO2</li> + </ul> + </section> +<section id="impact5"> + <p class="p" style="font-size:2em;text-align:left;">Let's double that to 100%!</p> + <ul> + <li style="font-size: 1.5em;margin-left: -1em;">$4B savings</li> + <li style="font-size: 1.5em;margin-left: -1em;">15B KWH Savings</li> + <li style="font-size: 1.5em;margin-left: -1em;">7.5B kg less CO2</li> + </ul> + </section> +<section id="impact6"> + <h1 style="text-align:center;">Do your part</h1> + <h1 style="text-align:center;">Upgrade to PHP 7!</h1> + </section> </section> + <section> <section id="dce"> <p class="p" style="font-size:2em;text-align:center;">Dead Code Elimination (DCE)</p> <p class="p" style="font-size:1.5em;text-align:center;">Escape Analysis</p> diff --git a/singapore18.xml b/singapore18.xml index a5bfc50..84c20a2 100644 --- a/singapore18.xml +++ b/singapore18.xml @@ -30,17 +30,12 @@ <slide>slides/intro/nold2.xml</slide> <slide>slides/intro/nold3.xml</slide> -<slide>slides/intro/php7_speed.xml</slide> -<slide>slides/intro/php7_perf_s.xml</slide> - +<slide>slides/intro/php73.xml</slide> <slide>slides/intro/wp2018.xml</slide> <slide>slides/intro/smemwp2018.xml</slide> -<slide>slides/intro/php7prod.xml</slide> -<slide>slides/intro/web_impact.xml</slide> +<slide>slides/intro/web_impact_2018.xml</slide> -<slide>slides/intro/php73.xml</slide> <slide>slides/intro/dce2018.xml</slide> - <slide>slides/intro/phan_2018.xml</slide> <slide>slides/intro/phpspy.xml</slide> diff --git a/slides/intro/php7_perf_s.xml b/slides/intro/php7_perf_s.xml index c4c252c..d123f9f 100644 --- a/slides/intro/php7_perf_s.xml +++ b/slides/intro/php7_perf_s.xml @@ -11,7 +11,7 @@ <bullet fontsize="1em" type="none">Step 3: Save the world!</bullet> </list> -<break lines="1" section="php7perfdetail1"/> +<break lines="1" section="php7perfdetail2"/> <list> <bullet fontsize="1em" type="none">zval size reduced from 24 to 16 bytes</bullet> <bullet fontsize="1em" type="none">Hashtable size reduced from 72 to 56 bytes</bullet> @@ -31,7 +31,7 @@ echo memory_get_usage(true); // PHP 7.0 6M with opcache enabled ]]></example> -<break lines="1" section="php7perfdetail2"/> +<break lines="1" section="php7perfdetail3"/> <list> <bullet fontsize="1em" type="none">New memory allocator similar to jemalloc</bullet> diff --git a/slides/intro/web_impact_2018.xml b/slides/intro/web_impact_2018.xml new file mode 100644 index 0000000..33eea87 --- /dev/null +++ b/slides/intro/web_impact_2018.xml @@ -0,0 +1,49 @@ +<slide title="" section="impact"> + +<blurb fontsize="20em" align="center">Saving the Planet?</blurb> + +<break lines="1" section="impact1"/> + +<list> +<bullet marginleft="-1em" fontsize="1.5em">Around 2 billion sites on the web</bullet> +<bullet marginleft="-1em" fontsize="1.5em">On 10 million physical machines</bullet> +<bullet marginleft="-1em" fontsize="1.5em">PHP drives at least 50%</bullet> +</list> + +<break lines="1" section="impact2"/> + +<list> +<bullet marginleft="-1em" fontsize="1.5em">Currently ~50% PHP 7 Adoption</bullet> +<bullet marginleft="-1em" fontsize="1.5em">which is about 2.5M physical servers</bullet> +</list> + +<break lines="1" section="impact3"/> + +<list> +<bullet marginleft="-1em" fontsize="1.5em">3000 KWH/year per server costs approx. US$400</bullet> +<bullet marginleft="-1em" fontsize="1.5em">Data center cooling doubles that</bullet> +<bullet marginleft="-1em" fontsize="1.5em">0.5kg CO2 per KWH</bullet> +</list> + +<break lines="1" section="impact4"/> +<blurb fontsize="2em" align="left">At 50% Adoption</blurb> +<list> +<bullet marginleft="-1em" fontsize="1.5em">US $2B savings</bullet> +<bullet marginleft="-1em" fontsize="1.5em">7.5B KWH Savings</bullet> +<bullet marginleft="-1em" fontsize="1.5em">3.75B kg less CO2</bullet> +</list> + +<break lines="1" section="impact5"/> +<blurb fontsize="2em" align="left">Let's double that to 100%!</blurb> +<list> +<bullet marginleft="-1em" fontsize="1.5em">$4B savings</bullet> +<bullet marginleft="-1em" fontsize="1.5em">15B KWH Savings</bullet> +<bullet marginleft="-1em" fontsize="1.5em">7.5B kg less CO2</bullet> +</list> + +<break lines="1" section="impact6"/> + +<blurb fontsize="20em" align="center">Do your part</blurb> +<blurb fontsize="20em" align="center">Upgrade to PHP 7!</blurb> + +</slide>