Skip to content

Extremely large discrepancy in Windows monitoring #6

@Mikyx-1

Description

@Mikyx-1
(virenv1) C:\Users\DELL Inspiron\Desktop\test_procstats>python test.py
[Monitor] Parent process 6896 terminated
{'cpu_max': 452.0, 'cpu_avg': 185.70089285714286, 'cpu_p95': 318.5866666666667, 'ram_max': 143.0390625, 'ram_avg': 134.86342075892858, 'ram_p95': 143.0390625, 'num_cores': 6, 'measurements_taken': 56, 'data_quality_score': 59.38751316457196, 'gpu_max_util': {}, 'gpu_mean_util': {}, 'vram_max_mb': {}, 'vram_mean_mb': {}, 'start_time': 1749245897.44733, 'duration': 10.921975374221802, 'timeout_reached': False, 'system_info': {'cpu': {'name': '11th Gen Intel(R) Core(TM) i5-11320H @ 3.20GHz', 'cores': 6, 'architecture': 'AMD64', 'frequency': 2496.0}, 'system': {'platform': 'win32', 'os_name': 'Windows', 'os_version': '10', 'total_ram_mb': 16126.78515625, 'python_version': '3.8.20'}}, 'num_processes': 5, 'function_result': None, 'function_error': None, 'stdout': 'Process 0: Starting 100% CPU burn for 10s\r\nProcess 1: Starting 100% CPU burn for 10s\r\nProcess 2: Starting 100% CPU burn for 10s\r\nProcess 3: Starting 50% CPU burn for 10s\r\nSystem: 6 CPU cores (theoretical max 600%)\r\nTarget: 350% CPU for 10s\r\nStrategy: 4 processes\r\n  Process 0: 100%\r\n  Process 1: 100%\r\n  Process 2: 100%\r\n  Process 3: 50%\r\n', 'stderr': ''}

(virenv1) C:\Users\DELL Inspiron\Desktop\test_procstats>python test.py
[Monitor] Parent process 7848 terminated
{'cpu_max': 459.2, 'cpu_avg': 270.68888888888887, 'cpu_p95': 409.75166666666667, 'ram_max': 171.38541666666666, 'ram_avg': 156.85247987689394, 'ram_p95': 171.37109375, 'num_cores': 6, 'measurements_taken': 44, 'data_quality_score': 67.82740816343744, 'gpu_max_util': {}, 'gpu_mean_util': {}, 'vram_max_mb': {}, 'vram_mean_mb': {}, 'start_time': 1749245918.4443614, 'duration': 11.077685117721558, 'timeout_reached': False, 'system_info': {'cpu': {'name': '11th Gen Intel(R) Core(TM) i5-11320H @ 3.20GHz', 'cores': 6, 'architecture': 'AMD64', 'frequency': 2496.0}, 'system': {'platform': 'win32', 'os_name': 'Windows', 'os_version': '10', 'total_ram_mb': 16126.78515625, 'python_version': '3.8.20'}}, 'num_processes': 6, 'function_result': None, 'function_error': None, 'stdout': 'Process 0: Starting 100% CPU burn for 10s\r\nProcess 1: Starting 100% CPU burn for 10s\r\nProcess 3: Starting 100% CPU burn for 10s\r\nProcess 2: Starting 100% CPU burn for 10s\r\nProcess 4: Starting 50% CPU burn for 10s\r\nSystem: 6 CPU cores (theoretical max 600%)\r\nTarget: 450% CPU for 10s\r\nStrategy: 5 processes\r\n  Process 0: 100%\r\n  Process 1: 100%\r\n  Process 2: 100%\r\n  Process 3: 100%\r\n  Process 4: 50%\r\n', 'stderr': ''}

(virenv1) C:\Users\DELL Inspiron\Desktop\test_procstats>

The cpu_avg is 185.7 while the true value is ~ 350. The cpu_avg is 270.688 while the true value is ~450. (probably due to 1 deactivated cpu core in the computer).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions