[tor-commits] [sbws/master] Add changelog entry for relay list refreshing

pastly at torproject.org pastly at torproject.org
Tue Jun 26 15:36:50 UTC 2018


commit 17a5c9013b6e20b6fb17472b08e23f5d1b620901
Author: Matt Traudt <sirmatt at ksu.edu>
Date:   Fri Jun 22 10:05:08 2018 -0400

    Add changelog entry for relay list refreshing
---
 CHANGELOG.md | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 18bffbc..524ffab 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -23,6 +23,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
 - Make relay priority calculations take only ~5% of the time they used to (3s
   vs 60s) by using sets instead of lists when selecting non-Authority relays.
 (GH#204)
+- Make relay list refreshing take much less time by not allowing worker threads
+  to dogpile on the CPU. Before they would all start requesting descriptors
+from Tor at roughly the same time, causing us to overload our CPU core and make
+the process take unnecessarily long. Now we let one thread do the work so it
+can peg the CPU on its own and get the refresh done ASAP.
+(GH#205)
 
 ### Changed
 





More information about the tor-commits mailing list