Skip to content

Commit

Permalink
reverse the latest commit, give more memory to pfc.ram, up to 64g
Browse files Browse the repository at this point in the history
  • Loading branch information
wyang007 committed Sep 9, 2018
1 parent 093fc6f commit 587fc46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xcache.singularity.def
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,9 @@ else
runcmsd=1
fi
if [ -z "$XCACHE_PFCRAM" ]; then
XCACHE_PFCRAM=$(free | tail -2 | head -1 | awk '{printf("%d", $NF/1024/1024/4)}')
XCACHE_PFCRAM=$(free | tail -2 | head -1 | awk '{printf("%d", $NF/1024/1024/2)}')
[ $XCACHE_PFCRAM -lt 1 ] && XCACHE_PFCRAM=1
[ $XCACHE_PFCRAM -gt 8 ] && XCACHE_PFCRAM=8
[ $XCACHE_PFCRAM -gt 64 ] && XCACHE_PFCRAM=64
XCACHE_PFCRAM=${XCACHE_PFCRAM}g
fi
[ -z "$XCACHE_SPACE_LO_MARK" ] && XCACHE_SPACE_LO_MARK="0.75"
Expand Down

0 comments on commit 587fc46

Please sign in to comment.