Re: [tor-bugs] #25375 [Core Tor/Tor]: Remove as many items as possible from second_elapsed_callback() and run_scheduled_events()

2018-05-10 Thread Tor Bug Tracker & Wiki
#25375: Remove as many items as possible from second_elapsed_callback() and
run_scheduled_events()
-+-
 Reporter:  nickm|  Owner:  nickm
 Type:  defect   | Status:  closed
 Priority:  Medium   |  Milestone:  Tor:
 |  0.3.4.x-final
Component:  Core Tor/Tor |Version:
 Severity:  Normal   | Resolution:
 Keywords:  034-roadmap-subtask, |  implemented
  034-triage-20180328, 034-included-20180328 |  Actual Points:
Parent ID:  #25500   | Points:
 Reviewer:   |Sponsor:
 |  Sponsor8
-+-

Comment (by nickm):

 I've opened #26070 to cover the remaining cases here.

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #25375 [Core Tor/Tor]: Remove as many items as possible from second_elapsed_callback() and run_scheduled_events()

2018-05-10 Thread Tor Bug Tracker & Wiki
#25375: Remove as many items as possible from second_elapsed_callback() and
run_scheduled_events()
-+-
 Reporter:  nickm|  Owner:  nickm
 Type:  defect   | Status:  closed
 Priority:  Medium   |  Milestone:  Tor:
 |  0.3.4.x-final
Component:  Core Tor/Tor |Version:
 Severity:  Normal   | Resolution:
 Keywords:  034-roadmap-subtask, |  implemented
  034-triage-20180328, 034-included-20180328 |  Actual Points:
Parent ID:  #25500   | Points:
 Reviewer:   |Sponsor:
 |  Sponsor8
-+-
Changes (by nickm):

 * status:  assigned => closed
 * resolution:   => implemented


Comment:

 I'm going to call this done for 0.3.4.  We could still remove more things,
 but we got all the stuff that would prevent us from doing #26063 and
 saving CPU.

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #25375 [Core Tor/Tor]: Remove as many items as possible from second_elapsed_callback() and run_scheduled_events()

2018-04-23 Thread Tor Bug Tracker & Wiki
#25375: Remove as many items as possible from second_elapsed_callback() and
run_scheduled_events()
-+-
 Reporter:  nickm|  Owner:  nickm
 Type:  defect   | Status:
 |  assigned
 Priority:  Medium   |  Milestone:  Tor:
 |  0.3.4.x-final
Component:  Core Tor/Tor |Version:
 Severity:  Normal   | Resolution:
 Keywords:  034-roadmap-subtask, |  Actual Points:
  034-triage-20180328, 034-included-20180328 |
Parent ID:  #25500   | Points:
 Reviewer:   |Sponsor:
 |  Sponsor8
-+-
Changes (by nickm):

 * status:  accepted => assigned
 * owner:  dgoulet => nickm


--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #25375 [Core Tor/Tor]: Remove as many items as possible from second_elapsed_callback() and run_scheduled_events()

2018-03-26 Thread Tor Bug Tracker & Wiki
#25375: Remove as many items as possible from second_elapsed_callback() and
run_scheduled_events()
--+
 Reporter:  nickm |  Owner:  dgoulet
 Type:  defect| Status:  accepted
 Priority:  Medium|  Milestone:  Tor: 0.3.4.x-final
Component:  Core Tor/Tor  |Version:
 Severity:  Normal| Resolution:
 Keywords:|  Actual Points:
Parent ID:  #25500| Points:
 Reviewer:|Sponsor:  Sponsor8
--+
Changes (by dgoulet):

 * owner:  (none) => dgoulet
 * status:  new => accepted


--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

[tor-bugs] #25375 [Core Tor/Tor]: Remove as many items as possible from second_elapsed_callback() and run_scheduled_events()

2018-02-27 Thread Tor Bug Tracker & Wiki
#25375: Remove as many items as possible from second_elapsed_callback() and
run_scheduled_events()
--+
 Reporter:  nickm |  Owner:  (none)
 Type:  defect| Status:  new
 Priority:  Medium|  Milestone:  Tor: 0.3.4.x-final
Component:  Core Tor/Tor  |Version:
 Severity:  Normal|   Keywords:
Actual Points:|  Parent ID:
   Points:|   Reviewer:
  Sponsor:  Sponsor8  |
--+
 We have a real system for periodic events and deferred events and so on --
 several of them, in fact.  We shouldn't be using second_elapsed_callback()
 and run_scheduled_events() to do things any more:
   * Some things should be done as soon as possible, on demand (see
 #25374).
   * Some things should be done on the timers from periodic.c.
   * Some things should be done with one-off timers schedueld "for later".

 And some things might still need to be done once a second -- but they
 should be things that only need to happen when Tor is running.  When Tor
 is idle or hibernating, or when DisableNetwork is set, we should be able
 to disable those once-per-second events so that we don't use so much CPU.

 '''Please make subtickets for removing things from these functions.'''

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs