https://twiki.cern.ch/twiki/bin/view/AtlasComputing/OptimisingCode

Measure CPU time

gathena

  cd $TestArea
  pkgco.py -A External/AtlasGPerfTools External/AtlasLibUnwind Tools/PyCmt Control/PerformanceMonitoring/PerfMonGPerfTools
  cd Control/PerformanceMonitoring/PerfMonGPerfTools/cmt
  cmt br "cmt config; make"
gathena --profilerMode eventLoop --profilerInitEvent 15 --profilerOutput my.athena.profile --trf "Reco_tf.py --inputAODFile=../data12_8TeV.00204158.express_express.merge.AOD.r5583_p1717_tid01495613_00/AOD.01495613._000013.pool.root.5 --outputDAODFile test --reductionConf HIGGS2D5"

VTune

source /cvmfs/projects.cern.ch/intelsw/psxe/linux/all-setup.sh

setupATLAS
asetup Athena master latest dbg

unset TCMALLOCDIR
export TCMALLOCDIR="/cvmfs/atlas-nightlies.cern.ch/repo/sw/master/sw/lcg/releases/LCG_95/gperftools/2.5/x86_64-centos7-gcc8-opt/lib"

amplxe-cl -collect hotspots -strategy=:trace:trace,ld-linux.so.2:notrace:notrace,ld-2.12.so:notrace:notrace,ld-linux.so:notrace:notrace,ld-linux-x86-64.so.2:notrace:notrace -- \
athena.py SCT_RawDataByteStreamCnv/testSCTDecode.py

amplxe-cl -report gprof-cc -result-dir r000hs/ -format text -report-output output.txt
source /cvmfs/projects.cern.ch/intelsw/psxe/linux/all-setup.sh
 
wget https://raw.githubusercontent.com/jrfonseca/gprof2dot/master/gprof2dot.py

python gprof2dot.py -f axe output.txt | dot -Tpng -o output.png

トップ   編集 凍結解除 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2019-12-17 (火) 15:47:01 (352d)