Skip to content

Commit

Permalink
remove cpu waster
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlange6 committed Nov 9, 2017
1 parent 3a68239 commit 0567d83
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions Configuration/StandardSequences/python/Digi_PreMix_cff.py
Expand Up @@ -28,9 +28,10 @@
if fastSim.isChosen():
# no need for the aliases for usual mixing
del generalTracks,ecalPreshowerDigis,ecalDigis,hcalDigis,muonDTDigis,muonCSCDigis,muonRPCDigis
else:
#hack - our code is too fast at large scale - lets slow it down and idle for 15 seconds
cpuSpender=cms.EDAnalyzer("CPUSpender")
cpuSpender.secPerEvent=cms.untracked.int32(20)

pdigi.insert(0,cpuSpender)
#else:
#no need for this hack running at Nebraska
##hack - our code is too fast at large scale - lets slow it down and idle for 15 seconds
# cpuSpender=cms.EDAnalyzer("CPUSpender")
# cpuSpender.secPerEvent=cms.untracked.int32(20)
#
# pdigi.insert(0,cpuSpender)

0 comments on commit 0567d83

Please sign in to comment.