diff options
| author | Gerhard Lazu <gerhard@lazu.co.uk> | 2017-09-20 11:22:20 +0100 |
|---|---|---|
| committer | Gerhard Lazu <gerhard@lazu.co.uk> | 2017-09-20 17:29:24 +0100 |
| commit | 07b85f64adab8d6f0ca979973435adb0470b5d03 (patch) | |
| tree | 65d992ce527c43acb6a1f31c68e25fb3da7482fe | |
| parent | 605eb85eebb59abe622e4278cd72dd58a401d079 (diff) | |
| download | rabbitmq-server-git-07b85f64adab8d6f0ca979973435adb0470b5d03.tar.gz | |
Clarify IO_BATCH_SIZE in betas -> deltas (not gammas!) comment
| -rw-r--r-- | src/rabbit_variable_queue.erl | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/rabbit_variable_queue.erl b/src/rabbit_variable_queue.erl index de1fdbf962..e408029877 100644 --- a/src/rabbit_variable_queue.erl +++ b/src/rabbit_variable_queue.erl @@ -178,12 +178,12 @@ %% (betas+gammas+delta)/(target_ram_count+betas+gammas+delta). I.e. as %% the target_ram_count shrinks to 0, so must betas and gammas. %% -%% The conversion of betas to gammas is done in batches of at least -%% ?IO_BATCH_SIZE. This value should not be too small, otherwise the -%% frequent operations on the queues of q2 and q3 will not be -%% effectively amortised (switching the direction of queue access -%% defeats amortisation). Note that there is a natural upper bound due -%% to credit_flow limits on the alpha to beta conversion. +%% The conversion of betas to deltas is done if there are at least +%% ?IO_BATCH_SIZE betas in q2 & q3. This value should not be too small, +%% otherwise the frequent operations on the queues of q2 and q3 will not be +%% effectively amortised (switching the direction of queue access defeats +%% amortisation). Note that there is a natural upper bound due to credit_flow +%% limits on the alpha to beta conversion. %% %% The conversion from alphas to betas is chunked due to the %% credit_flow limits of the msg_store. This further smooths the |
