Repository: kudu Updated Branches: refs/heads/master 0061f32d1 -> 8e11defa1
[jepsen] limit block cache capacity to 128MB Changelist 297b72b introduced consistency check for the relative ratio of the block cache capacity and the memory pressure threshold. Since the default capacity of the block cache is 512MB, that lead to inability to start tablet servers and masters on machines with relatively small amount of total memory. This changelist set the block cache capacity limit to 128MB for Kudu Jepsen tests. As of now, Kudu Jepsen tests do not require a huge block cache capacity. Change-Id: Iebc6c9b3c616270dd233be4474cb0b29068efda9 Reviewed-on: http://gerrit.cloudera.org:8080/10308 Reviewed-by: Adar Dembo <[email protected]> Tested-by: Alexey Serbin <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/kudu/repo Commit: http://git-wip-us.apache.org/repos/asf/kudu/commit/8e11defa Tree: http://git-wip-us.apache.org/repos/asf/kudu/tree/8e11defa Diff: http://git-wip-us.apache.org/repos/asf/kudu/diff/8e11defa Branch: refs/heads/master Commit: 8e11defa118d88551ad4b8837f73c9ca01f6907f Parents: 0061f32 Author: Alexey Serbin <[email protected]> Authored: Fri May 4 11:53:45 2018 -0700 Committer: Alexey Serbin <[email protected]> Committed: Fri May 4 19:44:09 2018 +0000 ---------------------------------------------------------------------- java/kudu-jepsen/resources/kudu.flags | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/kudu/blob/8e11defa/java/kudu-jepsen/resources/kudu.flags ---------------------------------------------------------------------- diff --git a/java/kudu-jepsen/resources/kudu.flags b/java/kudu-jepsen/resources/kudu.flags index 0890740..f92461a 100644 --- a/java/kudu-jepsen/resources/kudu.flags +++ b/java/kudu-jepsen/resources/kudu.flags @@ -15,7 +15,14 @@ # specific language governing permissions and limitations # under the License. -# This overrides all flags in a flag file +# This overrides all flags in a flag file. +# +# The block cache capacity is set to not exceed 1/2 of the effective +# memory pressure threshold on smaller machines: current Kudu Jepsen +# tests do not require a lot of memory of block cache capacity around. +# An alternative approach would be replacing that with the +# --force_block_cache_capacity flag. --unlock_experimental_flags --unlock_unsafe_flags +--block_cache_capacity_mb=128 --logtostderr
