LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > Best configuration for PHP LiteSpeed SAPI

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 09-27-2005, 12:57 PM
jeff jeff is offline
New Member
 
Join Date: Sep 2005
Posts: 1
Default Best configuration for PHP LiteSpeed SAPI

Hello All!

I have installed LiteSpeed Web Server 2.1.1 Standard Edition on linux (Trustix 3 / kernel 2.6).
For test I have compiled PHP 5.0.4 in FastCGI and LiteSpeed PHP SAPI mode.
In my all benchmarks tests with ApacheBench the php in FastCGI mode is more fast than PHP SAPI :

ab -c 298 -n 10000 "http://myserver/phpinfo.php" (LiteSpeed PHP SAPI):
Concurrency Level: 298
Time taken for tests: 33.717688 seconds
Complete requests: 10000
Failed requests: 9962
(Connect: 0, Length: 9962, Exceptions: 0)
Write errors: 0
Total transferred: 373412827 bytes
HTML transferred: 371991430 bytes
Requests per second: 296.58 [#/sec] (mean)
Time per request: 1004.787 [ms] (mean)
Time per request: 3.372 [ms] (mean, across all concurrent requests)
Transfer rate: 10815.09 [Kbytes/sec] received

ab -c 298 -n 10000 "http://myserver/phpinfo.php" (LiteSpeed PHP FCGI):
Concurrency Level: 298
Time taken for tests: 19.784013 seconds
Complete requests: 10000
Failed requests: 28
(Connect: 0, Length: 28, Exceptions: 0)
Write errors: 0
Total transferred: 403320418 bytes
HTML transferred: 401916036 bytes
Requests per second: 505.46 [#/sec] (mean)
Time per request: 589.564 [ms] (mean)
Time per request: 1.978 [ms] (mean, across all concurrent requests)
Transfer rate: 19908.35 [Kbytes/sec] received

I have tried many options in theLiteSpeed server configuration for LiteSpeed PHP SAPI, but LiteSpeed PHP FCGI always win.

What the best LiteSpeed Standard Edition PHP SAPI server configuration for the following parameters?
Max Connections?
Environment?
Response Bufferring?
Auto Start?
Instances?
Priority?

Thanks,

Jefferson
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Setup for Rails via Litespeed Ruby LSAPI Justin Ruby/Rails 2 12-08-2007 07:19 PM
Trying to use litespeed load balancer for balancing lsapi technix Ruby/Rails 3 07-06-2007 08:28 PM
Problem running Gallery under LiteSpeed kchrist PHP 4 10-01-2006 02:53 PM
Problem installing LiteSpeed 2.2.1 Standard on UNIX perezsy Install/Configuration 17 09-22-2006 09:53 AM
RFE: API for adding blocked IPs for a vhost/directory "from the side" ts77 Feedback/Feature Requests 4 06-14-2006 10:05 AM


All times are GMT -7. The time now is 08:34 AM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.