[tor-bugs] #15017 [Tor]: Experiment: does BIO_f_buffer help performance with read/write syscalls?
Tor Bug Tracker & Wiki
blackhole at torproject.org
Tue Feb 24 16:29:07 UTC 2015
#15017: Experiment: does BIO_f_buffer help performance with read/write syscalls?
--------------------+------------------------------------
Reporter: nickm | Owner:
Type: defect | Status: new
Priority: normal | Milestone: Tor: 0.2.7.x-final
Component: Tor | Version:
Keywords: | Actual Points:
Parent ID: | Points:
--------------------+------------------------------------
dgoulet has found that openssl generates lots of small read and write
syscalls. Maybe we'd do better to have openssl buffer stuff?
BIO_f_buffer can supposedly help us here. We could buffer reads, writes,
or both.
We should see whether this helps performance, whether it causes weird
bugs, and so on. We should also try to find out how much memory openssl
allocates for this stuff, and take that into account for our OOM
calculations.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/15017>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list