tor/changes/bug24782
Alexander Færøy 31508a0abc 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
2018-04-12 11:14:16 -04:00

5 lines
250 B
Plaintext

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.