FragmentBuffer's Buffer Mode is slow to process large buffers
During ICARUS testing, we were creating Buffer mode requests for over 30,000 Fragments. I determined that the addFragment calls were too slow to keep up with that Fragment rate, and have made some improvements to ContainerFragment to allow much more speed when adding Fragments in bulk to a ContainerFragment.
#1 Updated by Eric Flumerfelt about 2 months ago
- Status changed from New to Resolved
I've implemented fixes on the following branches:
The artdaq-core changes result in an extremely large performance improvement when adding many Fragments to a ContainerFragment (part of the artdaq-core branch is a performance test in ContainerFragment_t):
08-05 12:20:43.676117 ContainerFragment_t nfo Adding 30000 Fragments individually took 41948716 us
08-05 12:20:43.717783 ContainerFragment_t nfo Adding 30000 Fragments in a group took 34007 us