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

[tor-bugs] #22704 [Core Tor/Tor]: Use mmaps to handle journalled microdesc/routerdesc files.



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs