From 17ecd04fde2fd98b0cca3afb251b7173e22d3f42 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Thu, 3 Apr 2014 12:06:44 -0400 Subject: Change the logic for the default for MaxMemInQueues If we can't detect the physical memory, the new default is 8 GB on 64-bit architectures, and 1 GB on 32-bit architectures. If we *can* detect the physical memory, the new default is CLAMP(256 MB, phys_mem * 0.75, MAX_DFLT) where MAX_DFLT is 8 GB on 64-bit architectures and 2 GB on 32-bit architectures. You can still override the default by hand. The logic here is simply trying to choose a lower default value on systems with less than 12 GB of physical RAM. --- changes/bug11396 | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 changes/bug11396 (limited to 'changes') diff --git a/changes/bug11396 b/changes/bug11396 new file mode 100644 index 000000000..af94be04f --- /dev/null +++ b/changes/bug11396 @@ -0,0 +1,7 @@ + o Minor features (security): + + - If you don't specify MaxMemInQueues yourself, Tor now tries to + pick a good value based on your total system memory. Previously, + the default was always 8 GB. You can still override the default by + setting MaxMemInQueues yourself. Resolves ticket 11396. + -- cgit v1.2.3