[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #2149 [Tor]: new 'extra dormant' mode for people who never use their tor
#2149: new 'extra dormant' mode for people who never use their tor
--------------------------------------------+-------------------------------
Reporter: arma | Owner:
Type: enhancement | Status: needs_review
Priority: major | Milestone: Tor: 0.2.4.x-final
Component: Tor | Version:
Keywords: performance scaling tor-client | Parent:
Points: | Actualpoints:
--------------------------------------------+-------------------------------
Comment(by sysrqb):
I forgot I hadn't committed/posted my new patch. I rewrote a lot of it but
I kept a lot of the ideas.
Overview:
- After client is idle for 25 hours (1 hour for predicted ports to
timeout, 24 hours from that point until dormant), stop fetching the new
consensus.
- During the 24 hour period, mark a "stage" as completed in the state file
every 2 hours. If the client is restarted, it will pick-up from this stage
after it passes the 1 hour predicted ports timeout period again.
- Once dormant, the client remains dormant until the user requests a new
connection
- If the client is dormant and restarted, it pauses bootstrapping at "81%"
(prior to creating a circuit). Once a user-initiated connection is
received, a new consensus is fetched and the connection is handled
normally.
Note, this patch is better about not launching predicted ports if the
client is dormant when it starts but makes predicted_port_init() global.
Some of the above questions remain:
- Should these functions really be in dirserv.*? They're functions of the
client, not dir server.
- Thoughts on using stages?
In bug2149_redone_1_rebased on git://gitweb.evolvesoftware.cc/tor.git and
attached.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/2149#comment:20>
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