Ticket #5375 (assigned)

Opened 8 years ago

Last modified 5 years ago

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:1 Changed 8 years ago by Nick Draper

  • Milestone changed from Release 2.2 to Release 2.3

Moved at the end of release 2.2

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:4 Changed 7 years ago by Nick Draper

  • Milestone changed from Release 2.5 to Release 2.6

Moved to r2.6 at the end of r2.5

comment:5 Changed 7 years ago by Nick Draper

  • Component changed from Mantid to Framework

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

comment:7 Changed 7 years ago by Nick Draper

  • Status changed from new to assigned

Bulk move to assigned at the introduction of the triage step

comment:8 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 6221

Note: See TracTickets for help on using tickets.