Skip to content

Commit

Permalink
Raise the network.inode-lru-limit to 64m from 1m.
Browse files Browse the repository at this point in the history
1m is the lower workable limit for us currently, and this is set to
grow, so pre-emptively permit for pushing this limit higher.
Sacrificing RAM to avoid disk IO for us is a no-brainer.

Signed-off-by: Jaco Kroon <[email protected]>
  • Loading branch information
jkroonza committed Apr 18, 2024
1 parent 929d71b commit a101a42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xlators/protocol/server/src/server.c
Original file line number Diff line number Diff line change
Expand Up @@ -1813,7 +1813,7 @@ struct volume_options server_options[] = {
{.key = {"inode-lru-limit"},
.type = GF_OPTION_TYPE_INT,
.min = 0,
.max = 1048576,
.max = 67108864,
.default_value = "16384",
.description = "Specifies the limit on the number of inodes "
"in the lru list of the inode cache.",
Expand Down

0 comments on commit a101a42

Please sign in to comment.