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

GoXDCR: Max dcp connections(10) yields same or lesser drain rate compared to min(2)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 4.0.0
    • 4.0.0
    • couchbase-bucket, XDCR
    • Security Level: Public
    • centOS 6.x

    Description

      Build


      4.0.0-2134

      Found during manual testing.

      Pls see screenshots attached.

      1. Load 3M keys on .186.
      2. Start replication from .186 --> .188, source_nozzles = 2
      3. At this point dcp has to stream atleast 3M keys to goxdcr. The drain-rate with 2 dcp connections streaming keys to xdcr is around 3.5K per sec. Watch for 2-3 mins.
      4. Increase the source nozzle count to 10, let the drain rate stabilize. Data load continues. We have ~4M keys in dcp queue.
      I saw that drain-rate was in the 3.25 - 3.5K range. I saw 10 active dcp connections.

      Therefore, I do not see any difference in dcp drain rate when source_nozzles = 2 or 10.

      This would mean that docs received by goxdcr from dcp will remain same and hence may not affect the rate of replication, regardless of the source nozzle count.

      In another case, I saw drain rate was atleast 2.5 times slower with source nozzles = 10 compared to 2. However after a while, the drain rates looked almost equal.

      Attachments

        1. Screen Shot 2015-05-14 at 5.20.17 PM.png
          290 kB
          Aruna Piravi
        2. Screen Shot 2015-05-14 at 5.30.20 PM.png
          272 kB
          Aruna Piravi
        3. Screen Shot 2015-05-18 at 2.59.08 PM.png
          311 kB
          Aruna Piravi
        4. Screen Shot 2015-05-18 at 3.02.48 PM.png
          313 kB
          Aruna Piravi
        5. Screen Shot 2015-05-18 at 3.06.10 PM.png
          349 kB
          Aruna Piravi
        6. Screen Shot 2015-05-18 at 3.12.33 PM.png
          287 kB
          Aruna Piravi
        7. Screen Shot 2015-05-27 at 1.21.46 PM.png
          292 kB
          Aruna Piravi
        8. Screen Shot 2015-05-27 at 1.27.25 PM.png
          287 kB
          Aruna Piravi
        9. Screen Shot 2015-05-27 at 1.31.30 PM.png
          297 kB
          Aruna Piravi
        10. Screen Shot 2015-05-27 at 1.33.59 PM.png
          290 kB
          Aruna Piravi
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            apiravi Aruna Piravi (Inactive)
            apiravi Aruna Piravi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty