Very Slow Speed

Discussion in 'Install/Configuration' started by POSTiGA, Aug 23, 2012.

  1. POSTiGA

    POSTiGA New Member

    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

    Attached Files:

    • ls.jpg
      ls.jpg
      File size:
      51.3 KB
      Views:
      8
    • ls2.jpg
      ls2.jpg
      File size:
      50.8 KB
      Views:
      7
  2. webizen

    webizen New Member

    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?
  3. POSTiGA

    POSTiGA New Member

    Hello sir..

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

    Attached Files:

    Last edited: Aug 23, 2012
  4. POSTiGA

    POSTiGA New Member

    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
    

    Attached Files:

    • top.jpg
      top.jpg
      File size:
      64.4 KB
      Views:
      2
  5. webizen

    webizen New Member

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

    POSTiGA New Member

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

    webizen New Member

    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.
  8. POSTiGA

    POSTiGA New Member

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

    i/o take 10-11%wa..
  9. webizen

    webizen New Member

    Then you should purchase hourly support for performance tuning.

Share This Page