[tor-bugs] #22704 [Core Tor/Tor]: Use mmaps to handle journalled microdesc/routerdesc files.
    Tor Bug Tracker & Wiki 
    blackhole at torproject.org
       
    Fri Jun 23 12:39:56 UTC 2017
    
    
  
#22704: Use mmaps to handle journalled microdesc/routerdesc files.
------------------------------+---------------------------------
     Reporter:  nickm         |      Owner:
         Type:  defect        |     Status:  new
     Priority:  Medium        |  Milestone:  Tor: 0.3.2.x-final
    Component:  Core Tor/Tor  |    Version:
     Severity:  Normal        |   Keywords:  sponsor8-maybe mmap
Actual Points:                |  Parent ID:  #7176
       Points:  3             |   Reviewer:
      Sponsor:                |
------------------------------+---------------------------------
 We waste RAM by keeping extrainfos, microdescs, and descriptors allocated
 locally after we have saved them to the journal. Instead, we could mmap
 the journal, and use mremap to grow it as we expand.
 #7176 has a patch for this that could use some review and revision.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/22704>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
    
    
More information about the tor-bugs
mailing list