Skip to content

Improvement on the I/O section of the Improving Performance document [JIRA: DOC-774] #2359

Open
@pogzie

Description

@pogzie

http://docs.basho.com/riak/kv/2.1.4/using/performance/#optional-i-o-settings cites that

vm.dirty_background_ratio = 0
vm.dirty_background_bytes = 209715200
vm.dirty_ratio = 40
vm.dirty_bytes = 0
vm.dirty_writeback_centisecs = 100
vm.dirty_expire_centisecs = 200

It was noticed that setting the values could possibly overwrite the other corresponding config parameter.

dirty_background_bytes is the counterpart of dirty_background_ratio. Only one of them may be specified at a time. When one sysctl is written it is immediately taken into account to evaluate the dirty memory limits and the other appears as 0 when read.

https://www.kernel.org/doc/Documentation/sysctl/vm.txt

Will continue to review and possibly test modifications and file a PR for a correction.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions