Skip to content

Conversation

@osschar
Copy link
Contributor

@osschar osschar commented Sep 26, 2025

In the context of WLCG Analysis Facilities it became clear that people want to experiment with different settings for block-size and prefetching. This PR adds the ability to configure ranges of acceptable values for those two parameters and then pass them to the cache via opaque url cgi parameters pfc.blocksize and pfc.prefetch.

Configuration

pfc.urlcgi [blocksize {ignore | min max}] [prefetch {ignore | min max}]

E.g.:

pfc.urlcgi blocksize 4k 512k prefetch 0 100

Example usage:

xrdcp -f 'root://xcache.site.org//store/user/matevz/xrdmon-far/xmfar-2019-01.root?pfc.blocksize=32k&pfc.prefetch=60' /dev/null

…ber of blocks for prefetching on per file basis.
@abh3 abh3 self-requested a review September 26, 2025 05:25
@osschar osschar added this to the 5.9.0 milestone Oct 2, 2025
@amadio amadio merged commit 4e6a7c7 into xrootd:master Oct 3, 2025
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

2 participants