From bc9a6352916be69edbcb31c3de2879091c066b0d Mon Sep 17 00:00:00 2001 From: Simon MacMullen Date: Tue, 18 Jun 2013 12:29:30 +0100 Subject: Eliminate ?MEMORY_LIMIT_SCALING and make the ratio at which we page configurable. Note that I have changed the representation from a ratio-of-a-ratio to just a plain ratio (i.e. propertion of total memory, not proportion of the high watermark). I believe this will be easier to understand. Hence also the name vm_memory_paging_watermark, chosen by analogy with vm_memory_high_watermark. --- ebin/rabbit_app.in | 1 + 1 file changed, 1 insertion(+) (limited to 'ebin') diff --git a/ebin/rabbit_app.in b/ebin/rabbit_app.in index 339fa69e..b28214af 100644 --- a/ebin/rabbit_app.in +++ b/ebin/rabbit_app.in @@ -19,6 +19,7 @@ {ssl_listeners, []}, {ssl_options, []}, {vm_memory_high_watermark, 0.4}, + {vm_memory_paging_watermark, 0.2}, {disk_free_limit, 1000000000}, %% 1GB {msg_store_index_module, rabbit_msg_store_ets_index}, {backing_queue_module, rabbit_variable_queue}, -- cgit v1.2.1 From bfc817b58e3883f15e586d426bce33a1d209bb10 Mon Sep 17 00:00:00 2001 From: Simon MacMullen Date: Tue, 18 Jun 2013 13:33:43 +0100 Subject: Matthias convinced me to go with ratio-of-a-ratio. --- ebin/rabbit_app.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ebin') diff --git a/ebin/rabbit_app.in b/ebin/rabbit_app.in index b28214af..46ed24f9 100644 --- a/ebin/rabbit_app.in +++ b/ebin/rabbit_app.in @@ -19,7 +19,7 @@ {ssl_listeners, []}, {ssl_options, []}, {vm_memory_high_watermark, 0.4}, - {vm_memory_paging_watermark, 0.2}, + {vm_memory_high_watermark_paging_ratio, 0.5}, {disk_free_limit, 1000000000}, %% 1GB {msg_store_index_module, rabbit_msg_store_ets_index}, {backing_queue_module, rabbit_variable_queue}, -- cgit v1.2.1