Skip to content

[io] add RRawFile::DiscourageReadAheadImpl()#21715

Merged
jblomer merged 1 commit intoroot-project:masterfrom
jblomer:io-fadvise
Apr 1, 2026
Merged

[io] add RRawFile::DiscourageReadAheadImpl()#21715
jblomer merged 1 commit intoroot-project:masterfrom
jblomer:io-fadvise

Conversation

@jblomer
Copy link
Copy Markdown
Contributor

@jblomer jblomer commented Mar 27, 2026

Together with buffering, also advise the OS on read-ahead. Only implemented in the UNIX raw file, translated to posix_fadvise().

A test on the RNTuple standard benchmarks confirms small to significant improvements with input data coming from HDD and Ceph-FS.

@jblomer jblomer self-assigned this Mar 27, 2026
@jblomer jblomer requested a review from pcanal as a code owner March 27, 2026 14:17
@github-actions
Copy link
Copy Markdown

github-actions bot commented Mar 27, 2026

Test Results

    22 files      22 suites   3d 9h 16m 24s ⏱️
 3 834 tests  3 778 ✅   1 💤 55 ❌
75 674 runs  75 480 ✅ 139 💤 55 ❌

For more details on these failures, see this check.

Results for commit fdb87e8.

♻️ This comment has been updated with latest results.

@jblomer jblomer force-pushed the io-fadvise branch 2 times, most recently from 3ada327 to 87eaa89 Compare March 28, 2026 21:21
Copy link
Copy Markdown
Contributor

@silverweed silverweed left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, a couple of minor things

Together with buffering, also advise the OS on read-ahead.
Only implemented in the UNIX raw file (Linux only), translated to posix_fadvise().
@jblomer jblomer merged commit cc83bbc into root-project:master Apr 1, 2026
27 of 30 checks passed
@jblomer jblomer deleted the io-fadvise branch April 1, 2026 07:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants