Skip to content
Snippets Groups Projects

IOVSvc: Remove locking from CondSvc::isValidID.

Merged Scott Snyder requested to merge ssnyder/athena:isValidID.IOVSvc-20201111 into master
All threads resolved!

The locking within CondSvc::isValidID is heavily contended in jobs with many threads (32-64). Rework so that we don't need to use locking.

Rather than doing a SG lookup each time isValidID is called, we instead build a map from SG key to CondCont instances at the end of initialization. (This is called from CondInputLoader::start). We can then look up the key directly in this map rather then querying SG. Since this map is modified only during START, we don't need any locking.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • :white_check_mark: CI Result SUCCESS (hash b1af5f8b)

    Athena AthSimulation AthGeneration AnalysisBase
    externals :white_check_mark: :white_check_mark: :white_check_mark: :white_check_mark:
    cmake :white_check_mark: :white_check_mark: :white_check_mark: :white_check_mark:
    make :white_check_mark: :white_check_mark: :white_check_mark: :white_check_mark:
    required tests :white_check_mark: :white_check_mark: :white_check_mark: :white_check_mark:
    optional tests :white_check_mark: :white_check_mark: :white_check_mark: :white_check_mark:

    Full details available on this CI monitor view
    :white_check_mark: Athena: number of compilation errors 0, warnings 0
    :white_check_mark: AthSimulation: number of compilation errors 0, warnings 0
    :white_check_mark: AthGeneration: number of compilation errors 0, warnings 0
    :white_check_mark: AnalysisBase: number of compilation errors 0, warnings 0
    :pencil: For experts only: Jenkins output [CI-MERGE-REQUEST-CC7 23274]

  • Frank Winklmeier resolved all threads

    resolved all threads

  • mentioned in commit 3ce02e05

  • Please register or sign in to reply
    Loading