#23777: tor spends a lot of time in malloc/free --------------------------+------------------------ Reporter: Hello71 | Owner: (none) Type: enhancement | Status: new Priority: Medium | Milestone: Component: Core Tor/Tor | Version: Severity: Normal | Resolution: Keywords: | Actual Points: Parent ID: | Points: Reviewer: | Sponsor: --------------------------+------------------------
Comment (by Hello71): compression pegs the CPU (of course), but consensus updates are pretty uncommon. malloc and free waste time I believe for every single packet forwarded, probably mainly because AFAICT there is no fast path that avoids memory allocation (or epoll waiting) in the case where the outgoing channel is free. -- Ticket URL: <https://trac.torproject.org/projects/tor/ticket/23777#comment:2> Tor Bug Tracker & Wiki <https://trac.torproject.org/> The Tor Project: anonymity online
_______________________________________________ tor-bugs mailing list tor-bugs@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs