Uploaded image for project: 'Ratis'
  1. Ratis
  2. RATIS-1924

Increase the default of raft.server.log.segment.size.max

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0
    • server
    • None

    Description

      Currently, the default is 8MB which is very small. The servers will roll the log frequently and create a lot of small files.

      According to William Song's comment, 32MB seems a good choice.

      It's only that I did experiments earlier and found 32MB is the optimal for IOTDB default workload. The experiments show:

      • (end to end throughput) improves substantially as segmented size grow from 8MB to 32MB, slowly from 32MB to 128MB.
      • The memory usage in JVM young increases as the segmented size grow, even if we restricted the max-cached-size and max-cached-segments. It turned out to be the open segment.

      Attachments

        Issue Links

          Activity

            People

              szetszwo Tsz-wo Sze
              szetszwo Tsz-wo Sze
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m