[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #7707 [Tor]: Impose a minimum write size for TLS writes
#7707: Impose a minimum write size for TLS writes
-----------------------------------+----------------------------------------
Reporter: nickm | Owner:
Type: defect | Status: new
Priority: normal | Milestone: Tor: 0.2.4.x-final
Component: Tor | Version:
Keywords: tor-relay performance | Parent:
Points: | Actualpoints:
-----------------------------------+----------------------------------------
Reported pseudonymously:
If our TokenBucketRefillInterval is very low, we'll frequently wind up
with very small writes, which can be exceptionally bad with TLS. One
answer is to say "don't do that then" and keep TokenBucketRefillInterfal
to about 100msec or so. Another answer is to nagle our TLS writes, and
never write less than the full amount in the output buffer, or one cell,
whichever is smaller.
For non-TLS writes, the kernel should nagle for us, so we're probably
fine, though it might be sensible to impose a write threshold there too.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/7707>
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