Ticket #5375 (assigned)
MDEventWorkspace (file-backed): possible performance improvement
Reported by: | Janik Zikovsky | Owned by: | Owen Arnold |
---|---|---|---|
Priority: | major | Milestone: | Backlog |
Component: | Framework | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Tester: |
Description
- MDEW cache a list of MDBoxes that need to be saved.
- When enough are accumulated, it saves them all at once.
- However, each box gets saved in sequence, which means that they may need to be relocated to another spot in the file.
- This means that you could get a lot of seeking as you save one block at the start, then relocate another at the end, then back to start, etc.
It would be better to:
- Start by relocating ALL the blocks.
- Keep a sorted list of all the blocks to write sorted by their NEW file location.
- Write them in order of NEW position.
Change History
comment:2 Changed 8 years ago by Nick Draper
- Milestone changed from Release 2.3 to Release 2.4
Moved to milestone 2.4
comment:3 Changed 8 years ago by Nick Draper
- Milestone changed from Release 2.4 to Release 2.5
Moved at the code freeze for release 2.4
comment:6 Changed 7 years ago by Nick Draper
- Milestone changed from Release 2.6 to Backlog
Moved to backlog at the code freeze for R2.6
Note: See
TracTickets for help on using
tickets.
Moved at the end of release 2.2