[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 14:18:33 UTC 2014


#11787: Can we save huge amounts of directory bandwith with Z_NO_FLUSH?
----------------------------+------------------------------------
 Reporter:  nickm           |          Owner:
     Type:  defect          |         Status:  new
 Priority:  normal          |      Milestone:  Tor: 0.2.5.x-final
Component:  Tor             |        Version:
 Keywords:  tor-relay zlib  |  Actual Points:
Parent ID:                  |         Points:
----------------------------+------------------------------------
 It seems our default argument when compressing with zlib is Z_SYNC_FLUSH.
 That's not ideal, though: in theory we would get better compression by
 using Z_NO_FLUSH.  But, how much better?  And would that work with our
 code, or would we need other changes?

 We should at least investigate this in 0.2.5, though if the fix is
 nontrivial, it can wait for 0.2.6.

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


More information about the tor-bugs mailing list