Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
Trac
Trac
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Create a new issue
  • Issue Boards

GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

  • Legacy
  • TracTrac
  • Issues
  • #25815

Closed (moved)
Open
Opened Apr 16, 2018 by Karsten Loesing@karsten

Speed up hourly updater performance

When looking at Onionoo's logs with irl the other day we noticed that the hourly updater sometimes takes as long as 45 minutes.

We obviously need to be careful not to let this time get closer to 60 minutes or even exceed that time.

I just looked a little bit closer at the logs and made a graph. It shows three phases of the hourly updater:

  • before: from starting the updater to writing details documents;
  • write: writing details documents;
  • after: from after writing details documents to the end.

The graph compares total runtimes on the x axis with the three phases on the y axis. I'm reading two things in this graph.

  • Writing details documents really takes a long time. It's never faster than 15 minutes and can take longer than 30 minutes in some cases.
  • Whenever an hourly update takes longer than, say, 40 minutes, it's not just the details documenting that takes longer than usual, but also the phase before takes longer. I guess the system is just generally slower at those times.

I'd say let's look at details document writing for optimizing runtime. Maybe we can decide early that we don't have to update a file. But that's just guessing, we should add more logging to that code, as right now the logs are silent for those 30 to 45 minutes.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: legacy/trac#25815