Skip to content

PerfMon: Various improvements/changes related to PerfMonMTSvc

Hi guys,

With this MR I'm making a number of changes to PerfMonMT:

  • Now we have a dedicated algorithm to do the event counting. This algorithm can be used to do event-level monitoring, e.g. finding the event in-flight when we have the max. PSS etc. (to-be-implemented)
  • Moved the plotting script to PerfMonAna which is the proper place for it
  • Added a property that allows the client to suppress table printing
  • By default we now only monitoring the summary statistics, which look like:
INFO =======================================================================================
INFO                                  PerfMonMTSvc Report                                       
INFO =======================================================================================
INFO !!! PLEASE NOTE THAT THIS SERVICE IS CURRENTLY IN R&D PHASE
INFO =======================================================================================
INFO *** Full set of information can also be found in: PerfMonMTSvc_result.json
INFO *** In order to make plots using the results run the following commands:
INFO *** $ perfmonmt-plotter PerfMonMTSvc_result.json
INFO =======================================================================================
INFO                                  Snaphots Summary                                          
INFO =======================================================================================
INFO Step         dCPU [s]    dWall [s]   <CPU>  dVMEM [kB] dRSS [kB]  dPSS [kB]  dSwap [kB]
INFO ---------------------------------------------------------------------------------------
INFO Initialize   13.98       39.319      0.36   566476     236072     236035     0   
INFO Event Loop   3234.31     353.718     9.14   2543632    2069200    2069200    0   
INFO Finalize     13.31       13.497      0.99   0          800        796        0   
INFO ***************************************************************************************
INFO Number of events processed:        1000 
INFO CPU usage per event [ms]:          3234 
INFO Events per second:                 2.827 
INFO =======================================================================================
INFO                                   System Information                                       
INFO =======================================================================================
INFO CPU Model:                         Intel(R) Xeon(R) CPU E5-2667 v2 @ 3.30GHz 
INFO Number of Available Cores:         32  
INFO =======================================================================================

Best, Serhan

Edited by Alaettin Serhan Mete

Merge request reports