Fully featured low overhead profiler for Java EE and Java SE platforms.
Ultimate profiling and monitoring solution for Gradle, Maven, Ant, JUnit and TestNG.
Easy to use performance and memory profiler for .NET framework.

mac os gpu switch

Moderators: Vladimir Kondratyev, Anton Katilin

mac os gpu switch

Postby majki » Wed Dec 06, 2017 1:33 pm

Hi!

Could you please add the following snippet into the Info.plist in the mac os package?

Code: Select all
<key>NSSupportsAutomaticGraphicsSwitching</key>
<true/>

This would prevent the automatic switching to the discrete GPU if the machine has multiple GPUs.

Best regards,
Attila Majoros
majki
 
Posts: 2
Joined: Wed Dec 06, 2017 1:26 pm

Re: mac os gpu switch

Postby Vladimir Kondratyev » Fri Dec 22, 2017 10:16 am

Thank you for suggestion. We will investigate this possibility. Did you try this option? Did not you experience performance or rendering quality problems?

Best regards,
Vladimir Kondratyev
YourKit GmbH
http://www.yourkit.com
"Don't get lost in data, get information!"
Vladimir Kondratyev
 
Posts: 1458
Joined: Tue Aug 10, 2004 7:52 pm
Location: Düsseldorf, Germany

Re: mac os gpu switch

Postby majki » Tue Dec 26, 2017 10:50 am

I'm using YourKit with this flag in the plist since I wrote the suggestion, and did not experience any rendering problems. Using High Sierra the performance is even better if the os does not need to switch to the discrete gpu right now (there must be a bug in the nvidia driver or something in the high sierra on my mid 2014 mbp), so I'm pretty sure that this flag will not cause performance issues.
majki
 
Posts: 2
Joined: Wed Dec 06, 2017 1:26 pm


Return to Java Profiler

Who is online

Users browsing this forum: No registered users and 18 guests