Uploaded image for project: 'FreePBX'
  1. FreePBX
  2. FREEPBX-11921

Better Kernel Virtual Memory Parameters

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Out of Date
    • Affects Version/s: 13
    • Fix Version/s: None
    • Component/s: Installation
    • Labels:
      None
    • Distro Version:
      13.0.73
    • Distro:
      FreePBX Distro

      Description

      Under a load of 200 calls, all to IVRs or Voicemail, we started hearing audio artifact that could be described as "clicking" and "stuttering".

      Under load testing, it was determined that virtual memory defaults are not optimized for heavy disk loads generated by database and recording/playback. I changed the parameters to those recommended by RedHat for use with Oracle db in this doc: https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Performance_Tuning_Guide/s-memory-tunables.html and the issue improved significantly.

      Here's what I set in /etc/sysctl.conf:
      vm.swappiness = 10
      vm.dirty_ratio = 15
      vm.dirty_background_ratio = 3

      These should probably be the default on the distro.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                jerryriggin Jerry Riggin
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  NextupJiraPlusStatus

                  Error rendering 'slack.nextup.jira:nextup-jira-plus-status'. Please contact your Jira administrators.