Speed Issues

Discussion in 'General' started by EvoIX_MR2006, Jan 29, 2010.

  1. EvoIX_MR2006

    EvoIX_MR2006 Active Member

    We have setup a new server with LSWS 4.0.12 and PHP 5.3.1. Everything appears to be normal, but the speeds we get from the server when doing a standard HTTP download are horrendous.

    Not sure what I'm doing wrong here, any suggestions?
  2. NiteWave

    NiteWave Administrator

  3. EvoIX_MR2006

    EvoIX_MR2006 Active Member

  4. NiteWave

    NiteWave Administrator

    I'd like know the exact difference.

    size of the download file;

    how long it takes under apache and litespeed (transfer rate - bytes/second)
  5. EvoIX_MR2006

    EvoIX_MR2006 Active Member

    The file is 100 Megabytes.

    Locally, the apache server serves this file at nearly 100 MB/s over standard HTTP.
    Locally, the litespeed server seems to be locked at 1 MB/s.

    At the end user's place of business, they receive 3 MB/s to an apache server, and 400 KB/s to the litespeed server.
  6. NiteWave

    NiteWave Administrator

    any limit setting for "Per Client Throttling"?

    Server-->Server-->Per Client Throttling-->Outbound Bandwidth (bytes/sec)

    or vhost level:

    virtual hosts->Basic-->Per Client Throttle -->Per Client Bandwidth: Out/sec

    or enabled gzip for this big file?
  7. EvoIX_MR2006

    EvoIX_MR2006 Active Member

    Neither are set.
  8. NiteWave

    NiteWave Administrator

    will run the test on our lab later(unable to do it right now).

    1M/s is too slow for local network download.
  9. EvoIX_MR2006

    EvoIX_MR2006 Active Member

    No problems. Do you need any more information?

    CentOS 5.4
    Kernel is 2.6.18-164.11.1.el5
  10. NiteWave

    NiteWave Administrator

    ok --- in Server-->Tuning, what's your settngs:
    Send Buffer Size (bytes):
    Use sendfile():
  11. EvoIX_MR2006

    EvoIX_MR2006 Active Member

    Send Buffer is set to 0 (Default)
    We are using sendfile.
  12. EvoIX_MR2006

    EvoIX_MR2006 Active Member

    We've re-installed the operating system, and are still having the same problem. Hardware is fine, as this works correctly with Apache.
  13. NiteWave

    NiteWave Administrator

    sorry for reply late.

    I tested on 2 files which is 128M and 131M --- for several times. Using wget in another machine on the same LAN. The speed is stable at 112 MB/s(though the initial wget get 51.6 MB/s, 82.7 MB/s, but later fixed at 112MB/s)

    Server is CentOS release 5.4 (Final)

  14. mistwang

    mistwang LiteSpeed Staff

    How about I/O wait of the server? If I/O wait is high, you may consider using 4.1RC2 with AIO enabled.
  15. wanren

    wanren Member

    connection limit on VPS license

    I visited Litespeed website before and was interested in purchasing a vps license, but it has some kind of limit on connection or something like that.

    I come back today and find nowhere stating that limit. Do I miss it somewhere?

    I will purchase a vps license if it has no such the limit. Thanks!
  16. wanren

    wanren Member

    sorry, click on wrong button to post a reply:(

Share This Page