Skip to content

Commit

Permalink
set direct io align size to 4096 to get better performance
Browse files Browse the repository at this point in the history
  • Loading branch information
lihzeng committed Sep 27, 2024
1 parent fe88825 commit ec07b04
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/libjungle/db_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -402,8 +402,8 @@ class DBConfig {
struct DirectIoOptions{
DirectIoOptions()
: enabled(false)
, bufferSize(16384)
, alignSize(512)
, bufferSize(4096)
, alignSize(4096)
, readaheadSize(65536)
{}

Expand Down

0 comments on commit ec07b04

Please sign in to comment.