AIO block size

Discussion in 'General' started by anewday, Jul 22, 2011.

  1. anewday

    anewday Moderator

    What value does everyone use here? I set it to 2M, not sure how to calculate the optimal value. :confused:
  2. mistwang

    mistwang LiteSpeed Staff

    1M should be good for a media/CDN server.
  3. anewday

    anewday Moderator

    What about a dynamic site, such as a forum?
  4. mistwang

    mistwang LiteSpeed Staff

    AIO has no effect on dynamic site.
  5. anewday

    anewday Moderator

    Hmm, there are static files on a forum though. Apparently, it does help when the iowait on server is high (backing up files), the forum will load whereas it'll stall if AIO is disabled. :)
  6. cmanns

    cmanns Well-Known Member

    AIO block size would be best the avg file size/raid stripe size.

    I'd keep it low for a dynamic forum, 512 tops.

    Enable MMAP/whatever the other file cache is (Not LSCache) the static memory file caches, set the memory higher, on the MMAP or whatever the 2nd is that doesnt say for uber small files, raise to maybe 2048 mB so that all JS/CSS are cached in memory.

    If backing up if killing your IO make sure to run it at least busy times and maybe look into less resource intensive IO backing up. :)

Share This Page