xcache (lsetup xcache)

This is useful for laptops, desktops as well as Tier3s if you have users who access the same file at remote sites more than once using the root protocol. xcache caches the file at the specified directory so that subsequent access will be significantly faster as they will be local access.



Next do one of these:

lsetup xcache 
voms-proxy-init -voms atlas -valid 96:0

OR if you want to setup a release as well ...

lsetup "asetup AthAnalysis,21.2.3" xcache
voms-proxy-init -voms atlas -valid 96:0

If you want to set this up for a Tier3, and generate / renew the proxy automatically, please look at the script $ATLAS_LOCAL_ROOT_BASE/user/myproxydelegate-example.sh


xcache -h
xcache usage
 (usage has more information as to how to also use delegated proxies)


Select a directory for the cache files as shown in the example below. xcache start -d /tmp/desilva/myCache

This will define the following environment variables; for example:


  • if you are using it locally on the same session, then you are all ready.
  • To use xcache in another session on the same machine, you need to define export ALRB_XCACHE_PROXY...=
  • To use xcache on another machine, you need to define export ALRB_XCACHE_PROXY_REMOTE...=


For example, locally:

root -b
root [0] TFile::Open("${ALRB_XCACHE_PROXY}root://tbn18.nikhef.nl:1094//dpm/nikhef.nl/home/atlas/atlasdatadisk/rucio/data15_13TeV/d0/f1/AOD.11253261._000350.pool.root.1")

For example,remote machines on the same domain:

root -b
root [0] TFile::Open("${ALRB_XCACHE_PROXY_REMOTE}root://tbn18.nikhef.nl:1094//dpm/nikhef.nl/home/atlas/atlasdatadisk/rucio/data15_13TeV/d0/eb/AOD.11253261._000047.pool.root.1")


Edit | Attach | Watch | Print version | History: r5 | r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r1 - 2018-01-17 - AsokaDeSilva
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback