Ticket #3587 (closed: fixed)
DiskMRU: track "small" boxes memory use
Reported by: | Janik Zikovsky | Owned by: | Janik Zikovsky |
---|---|---|---|
Priority: | major | Milestone: | Iteration 30 |
Component: | Mantid | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Tester: | Owen Arnold |
Description
Caching very small boxes back and forth to disk seems to be a big slowdown, especially in the algorithms that are building up a file-backed MDEW, e.g. MergeMDEW.
I need to track the total memory used by ALL small boxes in the disk MRU in order to determine when a box should be cached or not.
The DiskMRU needs a method like: bool shouldCache(size_t memSize)
This means the MRU will have:
- A "read" buffer of most-recently read data
- A "write" buffer of data that needs to be written out but will be done in a block
- A free-space tracker for free spots in the file
- Now a "small boxes" buffer of not-cached boxes.
Change History
comment:1 Changed 9 years ago by Janik Zikovsky
- Owner set to Janik Zikovsky
- Status changed from new to accepted
comment:6 Changed 9 years ago by Janik Zikovsky
- Status changed from accepted to verify
- Resolution set to fixed
comment:7 Changed 9 years ago by Owen Arnold
- Status changed from verify to verifying
- Tester set to Owen Arnold
Note: See
TracTickets for help on using
tickets.