cvs: presentations / performance-workshop.xml /slides/perf break.xml cpuusage2.xml dso-nodso.xml xdebug-profile.png xgui.png
| From: | Derick Rethans | Date: | Thu, 31 Mar 2005 15:42:18 +0000 |
| Subject: | cvs: presentations / performance-workshop.xml /slides/perf break.xml cpuusage2.xml dso-nodso.xml xdebug-profile.png xgui.png | ||
| Groups: | php.pres | ||
| Request: | Send a blank email to pres+get-1098@lists.php.net to get a copy of this message | ||
derick Thu Mar 31 10:42:18 2005 EDT
Added files:
/presentations performance-workshop.xml
/presentations/slides/perf break.xml cpuusage2.xml
Modified files:
/presentations/slides/perf dso-nodso.xml xdebug-profile.png
xgui.png
Log:
- Update and add new slides for on-the-spot performance workshop
http://cvs.php.net/diff.php/presentations/slides/perf/dso-nodso.xml?r1=1.3&r2=1.4&ty=u
Index: presentations/slides/perf/dso-nodso.xml
diff -u presentations/slides/perf/dso-nodso.xml:1.3 presentations/slides/perf/dso-nodso.xml:1.4
--- presentations/slides/perf/dso-nodso.xml:1.3 Mon Jun 21 05:08:16 2004
+++ presentations/slides/perf/dso-nodso.xml Thu Mar 31 10:42:16 2005
@@ -3,9 +3,11 @@
<title>Apache Is Slow!</title>
<list>
- <li>When you're using PHP as DSO module</li>
- <li>So use static compiled modules</li>
- <li>or compile with --prefer-non-pic</li>
+ <li>Use static compiled modules or compile with --prefer-non-pic</li>
+ <li>Enable all compiler optimizations with -O3</li>
+ <li>Tell the compiler what CPU you use via -m~arch~ -m~cpu~</li>
+ <li>Use CPU specfic features -msse -mmmx -mfpmath=sse</li>
+ <li>Other options: -fomit-frame-pointer</li>
</list>
<image marginleft='4em' filename='dso.png'/>
http://cvs.php.net/diff.php/presentations/slides/perf/xdebug-profile.png?r1=1.1&r2=1.2&ty=u
Index: presentations/slides/perf/xdebug-profile.png
http://cvs.php.net/diff.php/presentations/slides/perf/xgui.png?r1=1.2&r2=1.3&ty=u
Index: presentations/slides/perf/xgui.png
http://cvs.php.net/co.php/presentations/performance-workshop.xml?r=1.1&p=1
Index: presentations/performance-workshop.xml
+++ presentations/performance-workshop.xml
<?xml version="1.0" encoding="iso-8859-1"?>
<presentation
template="css"
navmode="html"
navbarbackground="#4373b4"
navbartopiclinks="0"
navColor="#f1fbff"
logo1=""
stylesheet="presentations/slides/perf/ezp.css"
backgroundfixed="0" >
<topic>Performance</topic>
<title>Performance Workshop</title>
<event>PHP Quebec</event>
<location>Montréal, Canada</location>
<date>March 30th, 2005</date>
<speaker>Derick Rethans and Marcus Börger</speaker>
<email>internals@php.net</email>
<slide>slides/perf/title.xml</slide>
<slide>slides/xdebug/questions.xml</slide>
<slide>slides/perf/groups2.xml</slide>
<!-- CACHING OPTIMIZATION -->
<slide>slides/perf/caching-title.xml</slide>
<slide>slides/perf/what_caching.xml</slide>
<slide>slides/perf/how_caching_works.xml</slide>
<slide>slides/perf/pear_cache.xml</slide>
<slide>slides/perf/caching_eval.xml</slide>
<slide>slides/perf/total_page_caching.xml</slide>
<slide>slides/perf/livedocs.xml</slide>
<slide>slides/perf/static-und-squid.xml</slide>
<slide>slides/perf/extern_squid.xml</slide>
<slide>slides/perf/ezpublish-static.xml</slide>
<!-- SERVER OPTIMIZATION -->
<slide>slides/perf/server-tuning-title.xml</slide>
<slide>slides/perf/lifecycle.xml</slide>
<slide>slides/perf/how_ccache.xml</slide>
<slide>slides/perf/accelerators.xml</slide> <!-- Accelerators -->
<slide>slides/perf/dso-nodso.xml</slide>
<slide>slides/perf/squeeze.xml</slide>
<!-- OPTIMIZING APPLICATIONS -->
<slide>slides/perf/app-tuning-title.xml</slide>
<slide>slides/perf/cpuusage.xml</slide>
<slide>slides/perf/cpuusage2.xml</slide>
<slide>slides/perf/htmloptimize.xml</slide>
<slide>slides/perf/prf_fileio.xml</slide>
<slide>slides/perf/xdebug.xml</slide>
<slide>slides/perf/xdebug-trace.xml</slide>
<slide>slides/perf/xdebug-trace-xgui.xml</slide>
<slide>slides/perf/xdebug-profile.xml</slide>
<slide>slides/perf/regex.xml</slide>
<slide>slides/perf/prf_fileio.xml</slide>
<slide>slides/perf/break.xml</slide>
<!-- SQL OPTIMIZATION -->
<slide>slides/perf/database-tuning-title.xml</slide>
<slide>slides/hpp/mysql_opt2.xml</slide>
<slide>slides/phpperform/visitation1.xml</slide>
<slide>slides/phpperform/visitation2.xml</slide>
<slide>slides/phpperform/visitation3.xml</slide>
<slide>slides/phpperform/visitation4.xml</slide>
<slide>slides/phpperform/visitation5.xml</slide>
<slide>slides/phpperform/path1.xml</slide>
<slide>slides/perf/break.xml</slide>
<slide>slides/php5intro/nl/p5pp.xml</slide>
</presentation>
http://cvs.php.net/co.php/presentations/slides/perf/break.xml?r=1.1&p=1
Index: presentations/slides/perf/break.xml
+++ presentations/slides/perf/break.xml
<slide>
<title> </title>
<break lines="15"/>
<blurb align="center" class="title_blurb">
Break
</blurb>
</slide>
http://cvs.php.net/co.php/presentations/slides/perf/cpuusage2.xml?r=1.1&p=1
Index: presentations/slides/perf/cpuusage2.xml
+++ presentations/slides/perf/cpuusage2.xml
<slide>
<title>CPU Usage (2)</title>
<list>
<bullet>Everything has a cost: include_path, open_basedir, variables_order, magic_quotes,
always_populate_raw_post_data</bullet>
<bullet>Cache expensive operations, like generating images</bullet>
<bullet>Function calls are expensive</bullet>
<bullet>User defined functions are more expensive</bullet>
<bullet>Passing parameters take time</bullet>
</list>
</slide>