Tsz-wo Sze created RATIS-1924:
---------------------------------

             Summary: Increase the default of raft.server.log.segment.size.max
                 Key: RATIS-1924
                 URL: https://issues.apache.org/jira/browse/RATIS-1924
             Project: Ratis
          Issue Type: Improvement
          Components: server
            Reporter: Tsz-wo Sze
            Assignee: Tsz-wo Sze


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|https://github.com/apache/ratis/pull/953#discussion_r1376972528], 32MB 
seems a good choice.
{quote}
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.
{quote}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to