You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@systemds.apache.org by "janniklinde (via GitHub)" <gi...@apache.org> on 2026/01/05 09:22:33 UTC
[PR] [SYSTEMDS-3891] OOC Source Streams [systemds]
janniklinde opened a new pull request, #2393:
URL: https://github.com/apache/systemds/pull/2393
This patch introduces a new `SourceStream` which is produced by `OOCReblockInstruction`. This change aims to prevent redundant disk writes caused by `CachingStream`s evicting the direct output of an upstream reblock instruction. The `SourceStream` triggers custom cache handling in the `CachingStream` and maintains an index for future direct access of source tiles on disk.
These changes lead to significant speedups, allowing us to perform PCA on a 1Mx1000 input matrix in ~26s compared to the previous ~40s on our local machine (although some of the observed speedups came from the now parallel read in `OOCReblockInstruction` which was previously not possible due to OOM errors for 5GB of allowed RAM).
In addition, we are now able to run the same PCA script with 1GB of memory, which completes in ~31s.
5GB:
<img width="1920" height="943" alt="monitor" src="https://github.com/user-attachments/assets/bfc2e0f4-9f09-4d16-abab-edaefcdd6043" />
1GB:
<img width="2560" height="1263" alt="monitor" src="https://github.com/user-attachments/assets/7324a5ab-b887-47d5-91cf-9156c230d60b" />
Experiments on the scale-out node also show significant speedups of PCA, reaching a 3x speedup over CP.
| mode | conf | run [s] |
|------|------|---------|
| cp | 100g | 33.061 |
| ooc | 100g | 10.502 |
| cp | 10g | nan |
| ooc | 10g | 13.767 |
| cp | 1g | nan |
| ooc | 1g | 19.031 |
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@systemds.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [SYSTEMDS-3891] OOC Source Streams [systemds]
Posted by "mboehm7 (via GitHub)" <gi...@apache.org>.
mboehm7 commented on PR #2393:
URL: https://github.com/apache/systemds/pull/2393#issuecomment-3710076701
LGTM - thanks for the improvement @janniklinde. The performance numbers under different JVM sizes are already very promising. Great job.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@systemds.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [SYSTEMDS-3891] OOC Source Streams [systemds]
Posted by "mboehm7 (via GitHub)" <gi...@apache.org>.
mboehm7 closed pull request #2393: [SYSTEMDS-3891] OOC Source Streams
URL: https://github.com/apache/systemds/pull/2393
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@systemds.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org