Linux performances issues CGO #2674
Unanswered
Julien2313
asked this question in
Q&A
Replies: 1 comment
-
Usually, the overhead of Cgo is the heaviest task in most applications and your application's state seems healthy. So, I think this is an issue in your graphics drivers in the VM, but I am not 100% sure. Would it be possible to test a Linux machine without a VM? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
On my VM on Linux from a Windows host, I have issue on performances directly linked to the size of the windows. The biggest it is, the less FPS I get (TPS are still at 60) while on windows I keep having 144FFS (I have 2 G-Sync monitors)
For the CPU usage, it's around 45% with Linux, 10% on Windows.
![image](https://private-user-images.githubusercontent.com/8778771/243134872-1b049c76-8044-46f4-8aad-95094e2796b5.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTg5MjE5MjAsIm5iZiI6MTcxODkyMTYyMCwicGF0aCI6Ii84Nzc4NzcxLzI0MzEzNDg3Mi0xYjA0OWM3Ni04MDQ0LTQ2ZjQtOGFhZC05NTA5NGUyNzk2YjUucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDYyMCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA2MjBUMjIxMzQwWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NjFlNWFhN2ZjZWM5MDJjYzk3YWFlNTRjZjEyZGFmYjUwZTA1NWQ1Y2JlYWQyNjA3NTc1OWMwZDgxNGQ2ZDA4OSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.UN8isYvllsp0vkj9Fk8dJV5a4F2jB0cM52RIxXnPt7Q)
Here is on Linux the pproof chart on an example with an empty Draw() and Update():
I found this issue, which looks like to be the same issue as me ? (for the cgo part)
I haven't really find (maybe badly searched) others issues, and so no solution... I don't know if you might know how to solve this, or if I'm doomed ?
Thank you for your time!
Julien
Beta Was this translation helpful? Give feedback.
All reactions