Ant-Media-Server icon indicating copy to clipboard operation
Ant-Media-Server copied to clipboard

add hw scaling configuration

Open burak-58 opened this issue 1 year ago • 3 comments

https://github.com/ant-media/Ant-Media-Server/issues/5632

burak-58 avatar Nov 04 '23 20:11 burak-58

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

warning The version of Java (11.0.15.1) you have used to run this analysis is deprecated and we will stop accepting it soon. Please update to at least Java 17. Read more here

sonarqubecloud[bot] avatar Nov 04 '23 21:11 sonarqubecloud[bot]

I suggest setting the default value of hwScalingEnabled to false. When it's enabled, I consistently notice high GPU load on the initial GPU (index 0). Which might cause problems or unnecessary load.

However, when it's disabled, the load is evenly distributed across multiple GPUs. I expected significantly high cpu load when hw scaling is not enabled but I haven't noticed a significant difference in CPU load whether hw scaling is enabled or disabled.

Hw scaling enabled: image image

Hw scaling not enabled: image image

lastpeony avatar Dec 06 '23 10:12 lastpeony