Skip to content

Instantly share code, notes, and snippets.

@alja
Created February 22, 2024 21:15
Show Gist options
  • Save alja/cf13d4fec5ed14e5cdd6461cc73b148d to your computer and use it in GitHub Desktop.
Save alja/cf13d4fec5ed14e5cdd6461cc73b148d to your computer and use it in GitHub Desktop.
Xrootd configuration to create test cache
all.export /
all.export /xrdpfc_command/
pfc.allow_xrdpfc_command
pfc.dirstats maxdepth 5
# pfc.dirstats maxdepth 4 dir /gen
xrd.port 7779
xrd.allow host *
all.role server
oss.localroot /data2/alja/xrootd/cached-data/
ofs.osslib libXrdPss.so
pss.origin 169.228.130.83:1094
pss.cachelib /usr/lib64/libXrdPfc-5.so
#pss.cachelib /data2/alja/xrootd/r5/bld/src/libXrdPfc-5.so
pfc.blocksize 512k
pfc.ram 15g
pfc.prefetch 10
pfc.diskusage 0.95 0.97 files 300g 500g 600g purgeinterval 60
# pfc.diskusage 0.70 0.90
pfc.writequeue 10 2
# oss.space data /data2/alja/xrootd/cached-data/data
# oss.space meta /data2/alja/xrootd/cached-data/meta
# pfc.spaces data meta
oss.localroot /data2/alja/xrootd/cached-data/
ofs.trace all
pfc.trace debug
# xrd.protocol http:7777 libXrdHttp.so
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment