LiteSpeed Support Forums

LiteSpeed Support Forums (http://www.litespeedtech.com/support/forum/index.php)
-   Install/Configuration (http://www.litespeedtech.com/support/forum/forumdisplay.php?f=11)
-   -   Very Slow Speed (http://www.litespeedtech.com/support/forum/showthread.php?t=6184)

POSTiGA 08-23-2012 04:43 AM

Very Slow Speed
 
2 Attachment(s)
Hello,

installed LiteSpeed on my download server with cPanel WHM

we run on
Quad Core 2.93Ghz HT Lynnfield (X3470)
CentOS Linux 6.x (cPanel/Plesk Compatible)
cPanel/WHM
24GB DDR3 ECC Memory
2 x 3TB SAS 7,200 RPM
Raid: H200 Raid Controller - Raid 1
1Gbps Unlimited Usage

- download starts after 4-5 sec and speed is very slow..liteSpeed restart after 30-40 min
im increase connection to 40.000 and soft limit & hard limit set to 10000

please check screens..

Regard's

webizen 08-23-2012 11:51 AM

your graphs show that you increased the max connections (from 20000 to 40000) but throughput still the same (~3MB/s).

is your download through PHP or direct static?

POSTiGA 08-23-2012 01:37 PM

4 Attachment(s)
Quote:

Originally Posted by webizen (Post 34784)
your graphs show that you increased the max connections (from 20000 to 40000) but throughput still the same (~3MB/s).

is your download through PHP or direct static?

Hello sir..

direct static..direct links
- this config work with another server ...network throughtput is 14-15MB/s

POSTiGA 08-23-2012 02:03 PM

1 Attachment(s)
Code:

Tasks: 227 total,  1 running, 225 sleeping,  0 stopped,  1 zombie
Cpu(s):  1.0%us,  1.8%sy,  3.8%ni, 78.6%id, 13.6%wa,  0.0%hi,  1.2%si,  0.0%st
Mem:  24588552k total, 24364632k used,  223920k free,    87672k buffers
Swap: 26820600k total,        0k used, 26820600k free, 23194488k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
 6454 nobody    20  0 89784  64m  508 D  2.0  0.3  0:10.49 litespeed
 6452 root      20  0 29652 5508  800 S  0.3  0.0  0:00.11 litespeed
    1 root      20  0 19352 1548 1232 S  0.0  0.0  0:01.66 init
    2 root      20  0    0    0    0 S  0.0  0.0  0:00.00 kthreadd
    3 root      RT  0    0    0    0 S  0.0  0.0  0:04.42 migration/0
    4 root      20  0    0    0    0 S  0.0  0.0  0:03.44 ksoftirqd/0
    5 root      RT  0    0    0    0 S  0.0  0.0  0:00.00 migration/0
    6 root      RT  0    0    0    0 S  0.0  0.0  0:00.18 watchdog/0
    7 root      RT  0    0    0    0 S  0.0  0.0  0:00.41 migration/1
    8 root      RT  0    0    0    0 S  0.0  0.0  0:00.00 migration/1
    9 root      20  0    0    0    0 S  0.0  0.0  0:12.62 ksoftirqd/1
  10 root      RT  0    0    0    0 S  0.0  0.0  0:00.22 watchdog/1
  11 root      RT  0    0    0    0 S  0.0  0.0  0:01.44 migration/2
  12 root      RT  0    0    0    0 S  0.0  0.0  0:00.00 migration/2
  13 root      20  0    0    0    0 S  0.0  0.0  0:13.01 ksoftirqd/2
  14 root      RT  0    0    0    0 S  0.0  0.0  0:00.23 watchdog/2
  15 root      RT  0    0    0    0 S  0.0  0.0  0:00.00 migration/3


webizen 08-23-2012 03:40 PM

Quote:

Originally Posted by POSTiGA (Post 34786)
Code:

...
Cpu(s):  1.0%us,  1.8%sy,  3.8%ni, 78.6%id, 13.6%wa,  0.0%hi,  1.2%si,  0.0%st
...


your i/o wait takes 13.6% cpu cycles. that's high. maybe you have disk contention or disk can _not_ keep up.

POSTiGA 08-23-2012 06:29 PM

Quote:

Originally Posted by webizen (Post 34787)
your i/o wait takes 13.6% cpu cycles. that's high. maybe you have disk contention or disk can _not_ keep up.

what is that mean ? decrease AIO block size ?
what must i do ?

webizen 08-23-2012 06:36 PM

Since your AIO was _not_ even enabled, adjust AIO size has no effect.

You should enable AIO (set AIO to Yes) and change AIO size to 1MB (default) to start with.

POSTiGA 08-23-2012 07:04 PM

Quote:

Originally Posted by webizen (Post 34790)
Since your AIO was _not_ even enabled, adjust AIO size has no effect.

You should enable AIO (set AIO to Yes) and change AIO size to 1MB (default) to start with.

AIO enabled and AIO size changed to 1MB ...

i/o take 10-11%wa..

webizen 08-23-2012 08:04 PM

Then you should purchase hourly support for performance tuning.


All times are GMT -7. The time now is 07:54 AM.