[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-bugs] #24368 [Core Tor/Tor]: A zstd-compressed cached-microdesc-consensus is 1.5% larger than a gzipped one



#24368: A zstd-compressed cached-microdesc-consensus is 1.5% larger than a gzipped
one
-------------------------+-------------------------------------------------
     Reporter:  teor     |      Owner:  (none)
         Type:  defect   |     Status:  new
     Priority:  Medium   |  Milestone:  Tor: 0.3.3.x-final
    Component:  Core     |    Version:  Tor: 0.3.1.1-alpha
  Tor/Tor                |   Keywords:  regression, compression, zstd, tor-
     Severity:  Normal   |  dir
Actual Points:           |  Parent ID:
       Points:  1        |   Reviewer:
      Sponsor:           |
-------------------------+-------------------------------------------------
 Using the cached-microdesc-consensus that is:
 {{{
 valid-after 2017-11-21 11:00:00
 }}}

 I get the following results:
 {{{
 $ zstd cached-microdesc-consensus
 $ gzip -9 cached-microdesc-consensus
 $ du -h cached-microdesc-consensus*
 1.9M    cached-microdesc-consensus
 564K    cached-microdesc-consensus.gz
 576K    cached-microdesc-consensus.zst
 }}}

 It's only 1.5% larger, but I thought zstd was meant to produce smaller
 consensuses than gzip?
 Or did I get the compression settings wrong?

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/24368>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs