[tor-bugs] #27247 [Core Tor/Tor]: Clients are using RAM for cached_dir_t

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Aug 28 14:01:46 UTC 2018


#27247: Clients are using RAM for cached_dir_t
-------------------------------------------------+-------------------------
 Reporter:  nickm                                |          Owner:  ahf
     Type:  defect                               |         Status:
                                                 |  assigned
 Priority:  Medium                               |      Milestone:  Tor:
                                                 |  0.3.5.x-final
Component:  Core Tor/Tor                         |        Version:
 Severity:  Normal                               |     Resolution:
 Keywords:  035-roadmap-master, 035-triaged-     |  Actual Points:
  in-20180711                                    |
Parent ID:  #27243                               |         Points:
 Reviewer:                                       |        Sponsor:
                                                 |  Sponsor8
-------------------------------------------------+-------------------------

Comment (by nickm):

 In experiments: the cached_dir_t object, including compressed and
 uncompressed text, adds up to 5.7 MB out of a total of 24.7 MB used for
 directory allocations.  If we can remove it, or replace it with something
 mmaped, we save about 23% of our total client memory usage.

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


More information about the tor-bugs mailing list