2 # File: resourcetracking_services.fcl
3 # Purpose: configuration of resource tracking services.
4 # Author: Gianluca Petrillo (petrillo@fnal.gov)
5 # Date: August 11, 2016
8 # Configuration provided:
11 # - standard_memorytracker: reports on memory usage and its grow steps;
12 # note that this configuration requires art 2.1 or newer
14 # - standard_timetracker: reports on CPU time used by each module
19 # - standard_resourcetrackers: runs memory and CPU time tracking services.
24 # @table::standard_resourcetrackers
32 # 20160811 (petrillo@fnal.gov) [v1.0]
39 ### Single service configurations
42 # configuration for art's memory tracker service
44 # - saves statistics in a new SQL database file (memory.db)
45 # - writes a report on the standard message facility output channel
47 # All summaries are printed (by service default).
49 standard_memorytracker: {
51 # do not report memory increase from the first event
52 # (this is guaranteed to be a large, but necessary, jump)
59 # (re)create a new database file on each job
60 # (the output of merged job tends to be confusing)
66 } # standard_memorytracker
70 # configuration for art's time tracker service
72 # - saves statistics in a new SQL database file (cputime.db)
73 # - writes a report on the standard message facility output channel
75 standard_timetracker: {
81 filename: "cputime.db"
83 # (re)create a new database file on each job
84 # (the output of merged job tends to be confusing)
90 } # standard_timetracker
97 standard_resourcetrackers: {
98 MemoryTracker: @local::standard_memorytracker
99 TimeTracker: @local::standard_timetracker
100 } # standard_resourcetrackers