Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-3283

Improve write efficiency by decreasing the number of force sync to disk

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

      The whole write cost about 140ms, and 110ms was cost by force sync to disk. The force sync operations are as follows.
      RocksDB

      1. When create key, the response was put into omDoubleBufferHelper, and sync to disk by writeOptions.setSync(true)
      2. When commit key, the response was put into omDoubleBufferHelper, and sync to disk by writeOptions.setSync(true)

      Ratis

      1. leader and follower sync raftlog to disk

      Attachments

        Activity

          People

            yjxxtd runzhiwang
            yjxxtd runzhiwang
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated: