[tor-bugs] #11787 [Tor]: Can we save huge amounts of directory bandwith with Z_NO_FLUSH?

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed May 7 15:11:41 UTC 2014


#11787: Can we save huge amounts of directory bandwith with Z_NO_FLUSH?
------------------------+--------------------------------
     Reporter:  nickm   |      Owner:
         Type:  defect  |     Status:  needs_review
     Priority:  normal  |  Milestone:  Tor: 0.2.5.x-final
    Component:  Tor     |    Version:
   Resolution:          |   Keywords:  tor-relay zlib
Actual Points:          |  Parent ID:
       Points:          |
------------------------+--------------------------------

Comment (by nickm):

 I've attached a fun script to try compressing different numbers of
 descriptors and microdescriptors with and without Z_SYNC_FLUSH.

 Preliminary results are that we should expect to save 5-7% when sending
 10-40 server descriptors, and between 12-17% when sending 10-100
 microdescriptors.  Worth doing IMO.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/11787#comment:4>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list