Tuning LiteSpeed using memory mapped to serve < 4MB static files

Discussion in 'Install/Configuration' started by redstrike, Sep 29, 2011.

  1. redstrike

    redstrike Member

    I have a 768 MB VPS, it is free 1/2 of total RAM. Is it ok if i tuning LiteSpeed to handle static files which < 4MB, by using MMP?

    PHP:
    Max MMAP File Size (bytes): 4M 
    Total MMAP Cache Size 
    (bytes): 256M
    My site is still running OK. But i don't know is there any drawback if set Tuning Settings like that?

    serving files which has 16KB from the memory buffer cache is optimal than 4KB???
    Last edited: Sep 29, 2011
  2. redstrike

    redstrike Member

    Is there anyone can give me an advice? Using MMP or sendfile to serve large static files like audio, video is the optimal solution for reducing disk I/O?
  3. NiteWave

    NiteWave Administrator

    to serve large static files, sendfile is better

Share This Page