[tor-bugs] #27244 [Core Tor/Tor]: Use mmap to hold our cached consensus, when we even need it stored in RAM at all.

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Sep 11 15:59:40 UTC 2018


#27244: Use mmap to hold our cached consensus, when we even need it stored in RAM
at all.
-------------------------------------------------+-------------------------
 Reporter:  nickm                                |          Owner:  (none)
     Type:  enhancement                          |         Status:
                                                 |  needs_review
 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
-------------------------------------------------+-------------------------
Changes (by nickm):

 * status:  new => needs_review


Comment:

 Oh! I hadn't seen #27629.  Maybe we can use some of this too?

 I just did a branch to implement this ticket called `networkstatus_mmap`,
 with PR at https://github.com/torproject/tor/pull/316 .  Now I'll have a
 look at #27629

 I think it might be necessary to defer this to 0.3.6 in any case:
 historically, bugs in our parsing code have been really gross to discover.

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


More information about the tor-bugs mailing list