#22819: Choice of compressors seems to be suboptimal --------------------------+--------------------- Reporter: yurivict271 | Owner: Type: defect | Status: new Priority: Medium | Milestone: Component: Core Tor/Tor | Version: Severity: Normal | Resolution: Keywords: | Actual Points: Parent ID: | Points: Reviewer: | Sponsor: --------------------------+---------------------
Comment (by yurivict271): The valid way to compare compression methods for a particular purpose is to take your data samples and run it through lzbench (https://github.com/inikep/lzbench). Compression method should be a function of the current network speed. When the speed is over a certain threshold, no compression is needed. Below the threshold compression method is chosen based on the graph for all available methods, like the first link above. When the speed is slightly below the threshold, fast and slight compressors are appropriate, like lz4. With slower speeds, deeper and slower compressors kick in, like zstd, and later lzma. I didn't see you even considering lz4 in proposal 278 references. -- Ticket URL: <https://trac.torproject.org/projects/tor/ticket/22819#comment:5> Tor Bug Tracker & Wiki <https://trac.torproject.org/> The Tor Project: anonymity online _______________________________________________ tor-bugs mailing list tor-bugs@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs