diff options
author | Alexander Færøy <ahf@torproject.org> | 2018-04-03 18:26:52 +0200 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-04-12 11:14:16 -0400 |
commit | 31508a0abccfee1cda0869a9a7d22df74d6b67b7 (patch) | |
tree | 23bcbefc8feee360572afb096051091c31817e3e /changes | |
parent | 5633a633796ca10e2866ff6fd5bc40b5f7895c30 (diff) | |
download | tor-31508a0abccfee1cda0869a9a7d22df74d6b67b7.tar.gz tor-31508a0abccfee1cda0869a9a7d22df74d6b67b7.zip |
Use less memory for MaxMemInQueues for machines with more than 8 GB of RAM.
This patch changes the algorithm of compute_real_max_mem_in_queues() to
use 0.4 * RAM iff the system has more than or equal to 8 GB of RAM, but
will continue to use the old value of 0.75 * RAM if the system have less
than * GB of RAM available.
This patch also adds tests for compute_real_max_mem_in_queues().
See: https://bugs.torproject.org/24782
Diffstat (limited to 'changes')
-rw-r--r-- | changes/bug24782 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/changes/bug24782 b/changes/bug24782 new file mode 100644 index 0000000000..59bbdad123 --- /dev/null +++ b/changes/bug24782 @@ -0,0 +1,4 @@ + o Minor features (config options): + - Change the way the default value for MaxMemInQueues is calculated. We now + use 0.4 * RAM if the system have 8 GB RAM or more, otherwise we use the + former value of 0.75 * RAM. Closes ticket 24782. |