Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-40345

Reduce high flush buffer contention

    XMLWordPrintable

Details

    • 1

    Description

      With many concurrent writers on a LSS, high flush buffer contention can lead to excessive calls to runtime.Gosched() in lsStore.ReserveSpaceMulti(...). This can lead to a lot of time spent in goroutine scheduling which degrades performance. This was observed in this recovery test.

       

      For test TestShardRecoveryShared:

      On MacBook (4 cores, 8 threads):

      • GOMAXPROCS=4  -> ~16s
      • GOMAXPROCS=8  -> ~20s
      • GOMAXPROCS=16 -> ~250s

      On GSI CI VM (4 cores, 16 threads):

      • GOMAXPROCS=4  -> ~500s
      • GOMAXPROCS=16 -> ~500s

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            akhil.mundroy Akhil Mundroy
            akhil.mundroy Akhil Mundroy
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty