Skip to content

Conversation

@j143
Copy link
Member

@j143 j143 commented Oct 24, 2025

It is fully work in progress implementation. Hoping to get it in a good shape in a couple of days.

look at review comment : #2341 (comment)

j143 added 5 commits October 25, 2025 03:23
* add getNextAccessTime() for O(1) evict queries
* add getBlocksInWindow() for prefetch lookup
* cleanup() for memomry management with sliding window
* ArrayList to LinkedList for O(1) removal
* clear() method
* in the accesses list, remove the older access from currenttime
@mboehm7
Copy link
Contributor

mboehm7 commented Oct 26, 2025

Thanks @j143 for getting started on the OOC eviction logic. As a first step, I would recommend to implement a basic eviction mechanism for cached OOC streams (see resettable queue). We anyway need this baseline to compare the performance of any compiler-assisted optimization ("foresight-based") eviction and prefetching. Furthermore, you could use primitives from the LazyWriteBuffer but implement your own OOCEvictionManager (singleton) that all in-flight OOC streams can interact with. The UnifiedMemoryManager had a different purpose (reservations before running operations) such that I would not integrate the OOC logic there.

@j143
Copy link
Member Author

j143 commented Oct 26, 2025

Hi @mboehm7 - thanks for the design comments. that simplifies my design. let me create a design separately for OOC.

@j143 j143 marked this pull request as draft October 26, 2025 11:47
@j143 j143 changed the title [WIP] Foresight based buffer implementation Foresight based buffer implementation (with UMM integration) - not a feasible design Oct 26, 2025
@j143 j143 closed this Oct 26, 2025
@github-project-automation github-project-automation bot moved this from In Progress to Done in SystemDS PR Queue Oct 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants