cvs: presentations /slides/intro lac1.xml lac2.xml lac3.xml
| From: | Rasmus Lerdorf | Date: | Sun, 19 Apr 2009 06:19:16 +0000 |
| Subject: | cvs: presentations /slides/intro lac1.xml lac2.xml lac3.xml | ||
| Groups: | php.pres | ||
| Request: | Send a blank email to pres+get-1553@lists.php.net to get a copy of this message | ||
rasmus Sun Apr 19 06:19:16 2009 UTC
Modified files:
/presentations/slides/intro lac1.xml lac2.xml lac3.xml
Log:
Updates
http://cvs.php.net/viewvc.cgi/presentations/slides/intro/lac1.xml?r1=1.3&r2=1.4&diff_format=u
Index: presentations/slides/intro/lac1.xml
diff -u presentations/slides/intro/lac1.xml:1.3 presentations/slides/intro/lac1.xml:1.4
--- presentations/slides/intro/lac1.xml:1.3 Mon Jul 21 18:02:19 2008
+++ presentations/slides/intro/lac1.xml Sun Apr 19 06:19:16 2009
@@ -1,4 +1,4 @@
-<slide title="Laconica">
+<slide title="Early version of Laconica">
<break lines="1" />
@@ -29,10 +29,6 @@
% siege |ffff00|-H| "Cookie: rememberme=1%3A195e06ce1b0c466b62c0d0025611fe72" \
|ffff00|-c| 5 "http://laconica.localhost/index.php?action=public"
\
|ffff00|-b| |ffff00|-t|30s
-** SIEGE 2.66
-** Preparing 5 concurrent users for battle.
-The server is now under siege...
-Lifting the server siege... done.
Transactions: 615 hits
Availability: 100.00 %
Elapsed time: 29.88 secs
@@ -46,4 +42,52 @@
Longest transaction: 7.81
Shortest transaction: 0.05]]></example>
+<break lines="1"/>
+<blurb fontsize="4em">Actually not super terrible</blurb>
+
+<example fontsize="1.4em" type="shell" title="Benchmarking Habari-0.6 -
PHP 5.2.10-dev"><![CDATA[
+% siege |ffff00|-c| 5 "http://habari.localhost
|ffff00|-b| |ffff00|-t|30s
+Transactions: 345 hits
+Availability: 100.00 %
+Elapsed time: 30.23 secs
+Data transferred: 1.74 MB
+Response time: |ffff00|0.43 secs|
+Transaction rate: |ffff00|11.41 trans/sec|
+Throughput: 0.06 MB/sec
+Concurrency: 4.94
+Successful transactions: 345
+Failed transactions: 0
+Longest transaction: 0.65
+Shortest transaction: 0.35]]></example>
+
+<example fontsize="1.4em" type="shell" title="Benchmarking
Wordpress-2.7.1 - PHP 5.2.10-dev"><![CDATA[
+% siege |ffff00|-c| 5 "http://wordpress.localhost
|ffff00|-b| |ffff00|-t|30s
+Transactions: 219 hits
+Availability: 100.00 %
+Elapsed time: 30.13 secs
+Data transferred: 1.07 MB
+Response time: |ffff00|0.68 secs|
+Transaction rate: |ffff00|7.27 trans/sec|
+Throughput: 0.04 MB/sec
+Concurrency: 4.94
+Successful transactions: 219
+Failed transactions: 0
+Longest transaction: 0.98
+Shortest transaction: 0.62]]></example>
+
+<example fontsize="1.4em" type="shell" title="Magento-1.3.0 - PHP
5.2.10-dev"><![CDATA[
+% siege |ffff00|-c| 5 "http://magento.localhost/a-widget.html |ffff00|-b|
|ffff00|-t|30s
+Transactions: 71 hits
+Availability: 100.00 %
+Elapsed time: 30.42 secs
+Data transferred: 1.04 MB
+Response time: |ffff00|2.04 secs|
+Transaction rate: |ffff00|2.33 trans/sec|
+Throughput: 0.03 MB/sec
+Concurrency: 4.75
+Successful transactions: 71
+Failed transactions: 0
+Longest transaction: 2.27
+Shortest transaction: 1.85]]></example>
+
</slide>
http://cvs.php.net/viewvc.cgi/presentations/slides/intro/lac2.xml?r1=1.2&r2=1.3&diff_format=u
Index: presentations/slides/intro/lac2.xml
diff -u presentations/slides/intro/lac2.xml:1.2 presentations/slides/intro/lac2.xml:1.3
--- presentations/slides/intro/lac2.xml:1.2 Mon Jul 21 18:02:19 2008
+++ presentations/slides/intro/lac2.xml Sun Apr 19 06:19:16 2009
@@ -46,4 +46,47 @@
Longest transaction: 20.61
Shortest transaction: 0.02]]></example>
+<example fontsize="1.4em" type="shell" title="Habari-0.6 - PHP
5.2.10-dev + APC"><![CDATA[
+Transactions: 794 hits
+Availability: 100.00 %
+Elapsed time: 29.75 secs
+Data transferred: 4.00 MB
+Response time: |ffff00|0.19 secs|
+Transaction rate: |ffff00|26.69 trans/sec|
+Throughput: 0.13 MB/sec
+Concurrency: 4.99
+Successful transactions: 794
+Failed transactions: 0
+Longest transaction: 0.48
+Shortest transaction: 0.07]]></example>
+
+<example fontsize="1.4em" type="shell" title="Wordpress-2.7.1 - PHP
5.2.10-dev + APC"><![CDATA[
+Transactions: 999 hits
+Availability: 100.00 %
+Elapsed time: 30.20 secs
+Data transferred: 4.88 MB
+Response time: |ffff00|0.15 secs|
+Transaction rate: |ffff00|33.08 trans/sec|
+Throughput: 0.16 MB/sec
+Concurrency: 4.99
+Successful transactions: 999
+Failed transactions: 0
+Longest transaction: 0.68
+Shortest transaction: 0.06]]></example>
+
+<example fontsize="1.4em" type="shell" title="Magento-1.3.0 - PHP
5.2.10-dev + APC"><![CDATA[
+% siege |ffff00|-c| 5 "http://magento.localhost/a-widget.html |ffff00|-b|
|ffff00|-t|30s
+Transactions: 125 hits
+Availability: 100.00 %
+Elapsed time: 30.49 secs
+Data transferred: 1.83 MB
+Response time: |ffff00|1.21 secs|
+Transaction rate: |ffff00|4.10 trans/sec|
+Throughput: 0.06 MB/sec
+Concurrency: 4.94
+Successful transactions: 125
+Failed transactions: 0
+Longest transaction: 1.63
+Shortest transaction: 1.05]]></example>
+
</slide>
http://cvs.php.net/viewvc.cgi/presentations/slides/intro/lac3.xml?r1=1.1&r2=1.2&diff_format=u
Index: presentations/slides/intro/lac3.xml
diff -u presentations/slides/intro/lac3.xml:1.1 presentations/slides/intro/lac3.xml:1.2
--- presentations/slides/intro/lac3.xml:1.1 Sun Jul 20 05:56:32 2008
+++ presentations/slides/intro/lac3.xml Sun Apr 19 06:19:16 2009
@@ -13,7 +13,16 @@
% grep stat sys1.txt | grep -v fstat | wc -l
153]]></example>
-<example fontsize="1.4em" type="shell" title="All the
syscalls"><![CDATA[accept(3, {sa_family=AF_INET, sin_port=htons(52273),
sin_addr=inet_addr("10.211.55.2")}, [16]) = 9
+<example fontsize="1.4em" type="shell" title="Common
Mistake"><![CDATA[stat64("/var/www/index.html", 0xbfd279ac) = -1 ENOENT (No
such file or directory)
+stat64("/var/www/index.cgi", 0xbfd27afc) = -1 ENOENT (No such file or directory)
+stat64("/var/www/index.pl", 0xbfd27afc) = -1 ENOENT (No such file or directory)
+stat64("/var/www/index.php", {st_mode=S_IFREG|0664, st_size=7198, ...}) =
0]]></example>
+
+<example fontsize="1.4em" title="Fix
DirectoryIndex"><![CDATA[<Directory /var/www>
+ DirectoryIndex index.php
+</Directory>]]></example>
+
+<example fontsize="1.4em" type="shell" title="All the Laconica
syscalls"><![CDATA[accept(3, {sa_family=AF_INET, sin_port=htons(52273),
sin_addr=inet_addr("10.211.55.2")}, [16]) = 9
getsockname(9, {sa_family=AF_INET, sin_port=htons(80),
sin_addr=inet_addr("10.211.55.3")}, [16]) = 0
fcntl64(9, F_GETFL) = 0x2 (flags O_RDWR)
fcntl64(9, F_SETFL, O_RDWR|O_NONBLOCK) = 0