Uploaded image for project: 'Kudu'
  1. Kudu
  2. KUDU-1954

Improve maintenance manager behavior in heavy write workload

    XMLWordPrintableJSON

Details

    Description

      During the investigation in this doc I found a few maintenance-manager-related issues during heavy writes:

      • we don't schedule flushes until we are already in "backpressure" realm, so we spent most of our time doing backpressure
      • even if we configure N maintenance threads, we typically are only using ~50% of those threads due to the scheduling granularity
      • when we do hit the "memory-pressure flush" threshold, all threads quickly switch to flushing, which then brings us far beneath the threshold
      • long running compactions can temporarily starve flushes
      • high volume of writes can starve compactions

      Attachments

        1. mm-trace.png
          62 kB
          Todd Lipcon

        Issue Links

          Activity

            People

              Unassigned Unassigned
              tlipcon Todd Lipcon
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated: