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

Couchstore: Change the default blocksize

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Minor
    • bug-backlog
    • Cheshire-Cat
    • storage-engine
    • None
    • 1

    Description

      Problem
      The default block used by couchstore is 4KiB. Cloud environment and SSD recommend using a larger blocksize to reduce IOPs and increase performance

      Suggestion
      Ideally couchstore would detect the underlying blocksize and match it, so Couchbase would be block aligned through the stack. That might be tricky to do, being able to set the blocksize might be a cheap win.

      Pro
      Reduces the number of IOP need to perform an operation, improves overall performance
      Works better with documents over 4KiB
      Reduce the overhead for the index blocks

      Con
      Reduce the number of blocks in the filesystem cache
      For smaller documents might make things worst, the file system cache might be more fragmented.

      Notes
      I suggest this as it might be a cheap easy win.

      Attachments

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

        Activity

          People

            srinath.duvuru Srinath Duvuru
            pvarley Patrick Varley (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty