Skip to content
Snippets Groups Projects

Algorithm state profiling

Merged Benjamin Michael Wynne requested to merge bwynne/Gaudi_gaudi:AlgStateProfiling into master

Added a method to the scheduler to return the number of algorithms in each state.

Useful for profiling multithreaded jobs where we see inefficient use of threads: are we limited by our CF/DF graph, by algorithm cardinality, or by some other locking mechanism?

Edited by Marco Clemencic

Merge request reports

Pipeline #1832315 passed

Pipeline passed for a5c0d292 on bwynne:AlgStateProfiling

Approved by

Merged by Charles LeggettCharles Leggett 4 years ago (Aug 4, 2020 4:11pm UTC)

Merge details

  • Changes merged into master with 19d53385 (commits were squashed).
  • Deleted the source branch.

Pipeline #1846406 failed

Pipeline failed for 19d53385 on master

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • added 1 commit

    • 6486d856 - Changed method name to occupancy. Added mutex

    Compare with previous version

  • added 42 commits

    • 6486d856...c7d6fdfd - 41 commits from branch gaudi:master
    • 64e4f669 - Merge remote-tracking branch 'upstream/master' into AlgStateProfiling

    Compare with previous version

  • added 1 commit

    Compare with previous version

  • Benjamin Michael Wynne resolved all threads

    resolved all threads

  • Benjamin Michael Wynne marked as a Work In Progress

    marked as a Work In Progress

  • Benjamin Michael Wynne changed the description

    changed the description

  • Having had another HLT meeting, I think we have a different proposal for the data to collect, which should be more thread-safe. WIP for now.

  • added 2 commits

    • 46bde1f8 - Changed activation to be within the event loop, rather than at config time
    • 1a202f5c - Allow profiling enable/disable from inside event loop. Locking using concurrent_vector

    Compare with previous version

  • Benjamin Michael Wynne unmarked as a Work In Progress

    unmarked as a Work In Progress

  • Benjamin Michael Wynne resolved all threads

    resolved all threads

  • added 2 commits

    Compare with previous version

  • added 1 commit

    Compare with previous version

  • added 1 commit

    • a7eb5af5 - Changed to an internal timer and queue of snapshots

    Compare with previous version

  • added 1 commit

    Compare with previous version

  • added 1 commit

    Compare with previous version

  • added 1 commit

    • 2ff895f8 - Greater-than-or-equal-to interval

    Compare with previous version

  • Marco Clemencic removed milestone

    removed milestone

  • Illya Shapoval
  • added 2 commits

    Compare with previous version

  • added 1 commit

    Compare with previous version

  • added 76 commits

    • 7769461d...d1dc2b0e - 73 commits from branch gaudi:master
    • de1a27df - Merge remote-tracking branch 'upstream/master' into AlgStateProfiling
    • 09e98e73 - Added bounded queue, retrieve data with callback. But about to remove queue completely
    • 87a58896 - Remove the queue, process snapshots directly

    Compare with previous version

  • added 1 commit

    Compare with previous version

  • Tomasz Bold
  • added 1 commit

    Compare with previous version

  • added 1 commit

    Compare with previous version

  • Marco Clemencic approved this merge request

    approved this merge request

  • Benjamin Michael Wynne resolved all threads

    resolved all threads

  • I forget who actually has write access to Gaudi, but tagging @leggett and @fwinkl.

    @clemenci approved the MR before he went on holiday, so assuming you're OK with it can we get this merged?

  • added 1 commit

    Compare with previous version

  • Gerhard Raven resolved all threads

    resolved all threads

  • Charles Leggett approved this merge request

    approved this merge request

  • Charles Leggett mentioned in commit 19d53385

    mentioned in commit 19d53385

  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Please register or sign in to reply
    Loading