TABLE 6–12
Tuning Settings for FastCGI Plug-in Test
Configuration
Tuning
magnus.conf
Init fn=
"
load-modules
"
shlib=
"
path_to_web_server_plugin_dir
/fastcgi/libfastcgi.so
"
funcs=
"
responder_fastcgi
"
shlib_flags=
"
(global|now)
"
obj.conf
NameTrans fn=
"
assign-name
"
from=
"
/fcgi/*
"
name=
"
fcgi.config
"
<Object name=
"
fcgi.config
"
>
Service type=
"
magnus-internal/ws-php
"
fn=
"
responder-fastcgi
"
app-path=
"
path_to_php
"
bind-path=
"
localhost:9000
"
app-env=
"
PHP_FCGI_CHILDREN=128
"
app-env=
"
PHP_FCGI_MAX_REQUESTS=20000
"
app-env=
"
LD_LIBRARY_PATH=
path_to_php_lib
"
listen-queue=8192
req-retry=2
reuse-connection=1
connection-timeout=120
resp-timeout=60
restart-interval=0
</Object>
mime.types
type=magnus-internal/ws-php exts=php,php3,php4
The following table shows the results of the PHP with FastCGI test.
TABLE 6–13
PHP Scalability with Fast CGI
Number of Cores
Average Throughput (ops/sec)
Average Response Time (ms)
2
876
114
4
1706
117
6
2475
121
The following is a graphical representation of PHP scalability with Fast CGI.
Performance Tests and Results
Sun Java System Web Server 7.0 Update 1 Performance Tuning, Sizing, and Scaling Guide •
116
Содержание Sun Java System Web Server 7.0
Страница 9: ...Figures FIGURE 2 1 Web Server Connection Handling 40 9 ...
Страница 10: ...10 ...
Страница 18: ...18 ...
Страница 38: ...38 ...
Страница 84: ...84 ...
Страница 100: ...100 ...