-
Type: New Feature
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Fully Compatible
-
Dev Platform 2022-06-27, Dev Platform 2022-07-11
-
168
System memory will be monitored by constantly checking used memory via psutil. The interval for checking will be 0.1 seconds. This should get a good approximation of peak system memory usage without too much overhead. All the memory values over time will be stored, and can be used to diagnose system state concurrent with actions taking place at given time intervals or generating memory over time visuals. From this data we can also calculate the peak system memory, min system memory, and average memory. Because each system may be different in its ambient memory use, we use the difference of the peak memory vs the starting memory or min memory to find a baseline value from which to compare other build variants with.
Json format: { system_memory: { mem_over_time:{[ timestamp: <datetime timestamp>(3), memory: <long>(3) ]} min: <long>(2), max: <long>(2), arithmetic_mean: <long>(2), start_mem: <long>(2) } }
- has to be done after
-
SERVER-67044 Create build metrics CLI interface and generic output
- Closed
-
SERVER-67109 create build metrics json validator
- Closed
- has to be done before
-
SERVER-67059 build metric visualization graph
- Closed