[tor-bugs] #11791 [Tor]: Our zlib deflate objects require lots of memory per directory connection
Tor Bug Tracker & Wiki
blackhole at torproject.org
Wed Aug 20 14:22:16 UTC 2014
#11791: Our zlib deflate objects require lots of memory per directory connection
-------------------------+-------------------------------------------------
Reporter: nickm | Owner:
Type: defect | Status: new
Priority: normal | Milestone: Tor: 0.2.6.x-final
Component: Tor | Version:
Resolution: | Keywords: tor-relay, zlib, 025-backport,
Actual Points: | 026-triaged-1
Points: | Parent ID:
-------------------------+-------------------------------------------------
Comment (by nickm):
>My first idea was to store them compressed, so we wouldn't need to do on
the fly deflation, but that'd mean they don't compress too well.
Maybe we should look for designs where a bunch of clients will wind up
requesting the same sets of descriptors? That might help. Could be
tricky, though, and it would represent a big divergence from our current
design.
> Can we change the setting dynamically if we've had to invoke the
oomkiller before?
Or we could change the settings if we are close to the memory limit. But
I don't know whether that's a such win: we'd be using more bandwidth that
way.
And maybe we could retain the current settings, but limit the number of
descriptor downloads that we support concurrently.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/11791#comment:3>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list