|
|

02-11-2012, 09:50 AM
|
|
Member
|
|
Join Date: Jan 2012
Posts: 14
|
|
Server upgraded but still very poor performance!
Old setup:
Q9550 (4 threads)
8GB RAM
RAID1
Web Frontend + MySQL
2CPU LSWS enterprise license
New setup:
Q9550 (4 threads)
8GB RAM
RAID1
Dedicated MySQL server
2CPU LSWS enterprise license
3930K (12 threads)
32GB RAM
RAID10
Dedicated Web Frontend server
2CPU LSWS enterprise license
I am seeing barely any difference in performance increase.
Example: Req/second about 90/second (Req in processing 400/second)
This is nearly the same as the previous setup. How is this possible?
Still takes 15-20 seconds to load the site despite the increased CPU.
Disk I/O is under 5 at all times.
And can LSWS staff give me the appropriate figures for the 32GB RAM server:
Server:
Memory I/O Buffer
Tuning:
Connection Timeout (secs)
Max Keep-Alive Requests
Keep-Alive Timeout (secs)
Max Cached Small File Size (bytes)
Total Small File Cache Size (bytes)
Max MMAP File Size (bytes)
Total MMAP Cache Size (bytes)
AIO Block Size
Max Request URL Length (bytes)
Max Request Header Size (bytes)
Max Request Body Size (bytes)
Max Dynamic Response Header Size (bytes)
Max Dynamic Response Body Size (bytes)
Max Static File Size (bytes)
Min Static File Size (bytes)
Security:
Static Requests/second
Dynamic Requests/second
Connection Soft Limit
Connection Hard Limit
Grace Period (sec)
Banned Period (sec)
Max CGI Instances
Priority
CPU Soft Limit (sec)
CPU Hard Limit (sec)
Memory Soft Limit (bytes)
Memory Hard Limit (bytes)
Process Soft Limit
Process Hard Limit
|

02-12-2012, 05:34 PM
|
|
LiteSpeed Staff
|
|
Join Date: Sep 2009
Posts: 2,293
|
|
Quote:
|
Still takes 15-20 seconds to load the site despite the increased CPU
|
this is too slow. is the homepage only or other pages as well?
should figure out the bottle-neck of your server first.
for those parameters, actually the default settings already being optimal.
32G memory will be fully utilized by OS as disk file cache.
|

02-12-2012, 11:37 PM
|
|
Member
|
|
Join Date: Jan 2012
Posts: 14
|
|
|
This is for any page of the site.
How can I increase Req/second? Does increasing Max CGI Instance help? I should not be seeing 100 Req/second (400 in processing) with this powerful server.
On the old setup, I would see 100 Req/second (400 in processing) load is 40.
New setup, I still see 100 Req/second (400 in processing) but load is 2.
Although the load is low, the website still loading slow due to so many stuck in processing. What settings can be changed to increase the 100 Req/second to take full advantage of my server?
|

02-12-2012, 11:46 PM
|
|
LiteSpeed Staff
|
|
Join Date: Sep 2009
Posts: 2,293
|
|
|
can you paste "Real-Time Stats" here
|

02-13-2012, 03:30 AM
|
|
LiteSpeed Staff
|
|
Join Date: Sep 2009
Posts: 2,293
|
|
Quote:
|
I tracked down the issue to MySQL so now it seems to be running a lot better.
|
great
can't view the attached images.
Quote:
|
I want to whitelist for example 39.219.89.139 and 172.89.11.235
|
-- Trusted IP or sub-network must be specified in the Allowed List by adding a trailing "T"
so it is
ALL, 39.219.89.139T, 172.89.11.235T
|

02-13-2012, 06:30 AM
|
|
Member
|
|
Join Date: Jan 2012
Posts: 14
|
|
|
|

02-13-2012, 03:15 PM
|
|
LiteSpeed Staff
|
|
Join Date: Oct 2010
Posts: 2,390
|
|
Quote:
Originally Posted by mks
This is for any page of the site.
How can I increase Req/second? Does increasing Max CGI Instance help? I should not be seeing 100 Req/second (400 in processing) with this powerful server.
On the old setup, I would see 100 Req/second (400 in processing) load is 40.
New setup, I still see 100 Req/second (400 in processing) but load is 2.
Although the load is low, the website still loading slow due to so many stuck in processing. What settings can be changed to increase the 100 Req/second to take full advantage of my server?
|
1. You should disable per client throttling (set static req/sec AND dynamic req/sec => 0; connection limit (soft/hard) => 10000).
2. paste your lsphp5 ext app settings here.
3. increase Max CGI instance would NOT help.
4. php suEXEC set to 10 (good for most setup). increase it if you have very busy traffic (not in your case).
|

02-13-2012, 03:30 PM
|
|
Member
|
|
Join Date: Jan 2012
Posts: 14
|
|
|
I disabled that now and changed to 10000. Server only used for 1 website using exclusively CGI only. No PHP at all except the webmail/phpmyadmin. Is there anything else I can do for increasing req/sec? 2 CPU license is enough for this server or do I need more?
|

02-13-2012, 04:39 PM
|
|
LiteSpeed Staff
|
|
Join Date: Oct 2010
Posts: 2,390
|
|
do you know how much traffic volume (req/sec) of your site is supposed to be? do your cgi scripts talk to database? is your database ok to handle the traffic? does your cgi script take a long time to finish? if web server is not the bottleneck (like in your case), no matter how fine tune it is, it would not make much difference.
Quote:
Originally Posted by mks
...
Although the load is low, the website still loading slow due to so many stuck in processing...
|
what are those stuck in processing? cgi scripts?
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -7. The time now is 04:12 AM.
|
|