Kaydet (Commit) c7326013 authored tarafından Hakan Dündar's avatar Hakan Dündar

Fix: High memory consumption in some cases (AMD GPUs)

üst 99ded81d
......@@ -2827,7 +2827,7 @@ def get_gpu_load_memory_frequency_power(gpu_pci_address, device_vendor_id, selec
except Exception:
gpu_load = "-"
# Update the GPU load value. Because it is not get in "get_gpu_load_memory_frequency_power_amd" function.
"""# Update the GPU load value. Because it is not get in "get_gpu_load_memory_frequency_power_amd" function.
gpu_load_memory_frequency_power_dict["gpu_load"] = gpu_load
# Get encoder/decoder engine load of AMD GPU by using "amdgpu_top" tool.
......@@ -2841,6 +2841,7 @@ def get_gpu_load_memory_frequency_power(gpu_pci_address, device_vendor_id, selec
# Update encoder/decoder engine load values. Because they are not get in "get_gpu_load_memory_frequency_power_amd" function.
gpu_load_memory_frequency_power_dict = process_gpu_tool_output_amdgpu_top(gpu_pci_address, gpu_tool_output_amdgpu_top, gpu_load_memory_frequency_power_dict)
"""
# If selected GPU vendor is Broadcom (for RB-Pi ARM devices).
elif device_vendor_id in ["Brcm"]:
......
......@@ -1352,10 +1352,11 @@ class Processes:
username_list = self.rows_data_dict["username_list"]
cmdline_list = self.rows_data_dict["cmdline_list"]
if 24 in treeview_columns_shown or 25 in treeview_columns_shown:
try:
"""try:
gpu_information_dict = Libsysmon.get_process_gpu_information()
except Exception:
gpu_information_dict = {}
gpu_information_dict = {}"""
gpu_information_dict = {}
# Get and append process data
tab_data_rows = []
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment