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

[tor-bugs] #26900 [Core Tor/Tor]: Reduce background compression thread priority



#26900: Reduce background compression thread priority
------------------------------+--------------------
     Reporter:  Hello71       |      Owner:  (none)
         Type:  enhancement   |     Status:  new
     Priority:  Low           |  Milestone:
    Component:  Core Tor/Tor  |    Version:
     Severity:  Normal        |   Keywords:
Actual Points:                |  Parent ID:
       Points:                |   Reviewer:
      Sponsor:                |
------------------------------+--------------------
 As I understand, the compression is not latency-sensitive, i.e. if we get
 it done 30 seconds or 1 minute later, nobody really minds, but if we
 process 10000 packets 200 ms slower, that materially affects user
 experience. Also, I think if you do not set the thread priority, modern
 schedulers may assume that because it runs infrequently, the compression
 task is a "foreground" or "interactive" task and the actual cell relaying
 is a "background" task that may be slowed down to minimize user impact,
 exactly the opposite of what we want.

 Therefore, this should improve single-CPU relay performance (and multi-CPU
 relay performance once we implement better multithreading).

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/26900>
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