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

fsync while vbucket file grows during normal persistence called too often

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • feature-backlog
    • 5.0.1
    • storage-engine
    • 1

    Description

      Currently fsync (among other places) is called here:

      [root@cust1cntsdfdb1 ~]# grep -3 sync /tmp/paf-1.txt
      Thread 25 (Thread 0x2b34d2fd8940 (LWP 30693)):
      #0 0x000000301bece4d7 in fdatasync () from /lib64/libc.so.6
      #1 0x00002b34bb63f79f in couch_sync () from /opt/couchbase/lib/libcouchstore.so.1
      #2 0x00002b34bb3dce9f in cfs_sync () from /opt/couchbase/lib/memcached/ep.so
      #3 0x00002b34bb639b1f in couchstore_commit () from /opt/couchbase/lib/libcouchstore.so.1
      #4 0x00002b34bb3d3e35 in CouchKVStore::saveDocs(unsigned short, unsigned long, _doc**, _docinfo**, int) () from /opt/couchbase/lib/memcached/ep.so #5 0x00002b34bb3d45ab in CouchKVStore::commit2couchstore() () from /opt/couchbase/lib/memcached/ep.so
      [root@cust1cntsdfdb1 ~]#
      

      This causes way too many fsync calls per second on our system, the system can not handle that.

      Please consider making this fsync called not with every saveData, but configurable

      We absolutely need some way to reduce number of fsyncs on our load or we can't use Couchbase out of the box..

      Attachments

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

        Activity

          People

            srinath.duvuru Srinath Duvuru
            paf Alexander Petrossian (PAF)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty