Skip to content

Commit

Permalink
set direct io align size to 4096 to get better performance (#176)
Browse files Browse the repository at this point in the history
Co-authored-by: lihzeng <[email protected]>
  • Loading branch information
ZZhongge and lihzeng authored Sep 30, 2024
1 parent fe88825 commit 71f9683
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 71f9683

Please sign in to comment.