Skip to content
Snippets Groups Projects

Use local memory pool in EvtStoreSvc

Merged Olli Lupton requested to merge olupton/Gaudi:olupton_EvtStoreSvc into master
All threads resolved!

This adds some custom arena/allocator utilities (inspired by, but different from, lhcb/LHCb!2197 (merged)) and uses them inside EvtStoreSvc to minimise calls to the standard new/delete. Improves LHCb/HLT1 throughput by around 1.5%.

This handles everything internally to the EvtStoreSvc component, so it should be self-contained. Conceptually it would be nicer if the resources were owned externally, by the EventContext, but I didn't do anything like that here.

cc: @nnolte @graven

Edited by Olli Lupton

Merge request reports

Pipeline #1378524 passed

Pipeline passed for 32bbddb7 on olupton:olupton_EvtStoreSvc

Approved by

Merged by Marco ClemencicMarco Clemencic 5 years ago (Feb 24, 2020 10:29am UTC)

Merge details

  • Changes merged into master with 7e9cfd89.
  • Deleted the source branch.

Pipeline #1437327 failed

Pipeline failed for 7e9cfd89 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
  • Marco Clemencic changed milestone to %v33r1

    changed milestone to %v33r1

  • Olli Lupton mentioned in merge request lhcb/Moore!377 (merged)

    mentioned in merge request lhcb/Moore!377 (merged)

  • Olli Lupton resolved all threads

    resolved all threads

  • Olli Lupton mentioned in issue #113

    mentioned in issue #113

  • Olli Lupton added 38 commits

    added 38 commits

    • 1fd89b6f...9a48ebc9 - 33 commits from branch gaudi:master
    • 86e5fc67 - Add Gaudi::Allocator::Arena<Resource, T> generic allocator holding a pointer to a memory resource.
    • 831b9e4f - Add Gaudi::Arena::Monotonic<Alignment, UpstreamAllocator> memory resource and...
    • 7756a5ab - Migrate EvtStoreSvc to use Gaudi::Allocator::MonotonicArena<T> with an...
    • a86e51e0 - Modify EvtStoreSvc to assume+check that the store is empty in setRoot instead...
    • 32bbddb7 - Add unit test for Gaudi::Allocator::Arena and Gaudi::Arena::Monotonic.

    Compare with previous version

  • Author Contributor

    Rebased on master to resolve conflicts.

  • Author Contributor

    @clemenci as far as I'm concerned this is good to go. Feel free to ping me if there's something you want to be addressed!

  • Edited by Software for LHCb
  • Marco Clemencic approved this merge request

    approved this merge request

  • Marco Clemencic mentioned in commit 7e9cfd89

    mentioned in commit 7e9cfd89

  • Sebastien Ponce mentioned in merge request !1187 (closed)

    mentioned in merge request !1187 (closed)

  • Please register or sign in to reply
    Loading