Low GPU usage in Ubuntu

\n studio-striking\n

Questions and Answers : Unix/Linux : Low GPU usage in Ubuntu
Message board moderation

To post messages, you must log in.

AuthorMessage
Profile KWH*
Avatar

Send message
Joined: 10 May 11
Posts: 23
Credit: 293,912,578
RAC: 0
Message 1812 - Posted: 19 Dec 2011, 5:43:27 UTC

Experimenting with Ubuntu 11.10 on a Q6600, 4 GB RAM with 2-5830s in Xfire. All is running, it's using both GPUs but it's taking twice as long to run as it did in Win7. I checked and both GPUs are only around 50%. I even figured out how to O/C then as well as increase fan speeds, thank Google!
Is this normal for Ubuntu? Is there anything I can do to increase the GPU loads? Somewhere in the app files? I'm a noob using Ubuntu for this so be kind to Mr. noob.
ID: 1812 · Rating: 0 · rate: Rate + / Rate - Report as offensive
wynx

Send message
Joined: 23 Oct 11
Posts: 5
Credit: 38,044,119
RAC: 0
Message 2088 - Posted: 4 Jan 2012, 12:03:42 UTC
Last modified: 4 Jan 2012, 12:10:48 UTC

Hmm, I've got ubuntu 11.10 too, but only with one hd5750. I've noticed that under linux the gpu process takes up a lot of cpu cycles as well. So it might be possible that your cpu tasks get in the way of the gpu task(s). Try limiting the cpu work in order to free a core or multiple cores if you have multiple gpu tasks (i'm unsure about this because I have no multi gpu setup).

Good luck :)
ID: 2088 · Rating: 0 · rate: Rate + / Rate - Report as offensive
mikey
Avatar

Send message
Joined: 22 Jun 11
Posts: 2067
Credit: 1,048,681,907
RAC: 1,375,934
Message 2090 - Posted: 4 Jan 2012, 12:21:34 UTC - in response to Message 1812.  

Experimenting with Ubuntu 11.10 on a Q6600, 4 GB RAM with 2-5830s in Xfire. All is running, it's using both GPUs but it's taking twice as long to run as it did in Win7. I checked and both GPUs are only around 50%. I even figured out how to O/C then as well as increase fan speeds, thank Google!
Is this normal for Ubuntu? Is there anything I can do to increase the GPU loads? Somewhere in the app files? I'm a noob using Ubuntu for this so be kind to Mr. noob.


There is a setting in Linux that ramps up the gpu's to 100% but I do not remember what it is, sorry!
ID: 2090 · Rating: 0 · rate: Rate + / Rate - Report as offensive
wynx

Send message
Joined: 23 Oct 11
Posts: 5
Credit: 38,044,119
RAC: 0
Message 2875 - Posted: 11 Mar 2012, 8:53:01 UTC
Last modified: 11 Mar 2012, 9:16:39 UTC

*Update; When using the new proprietary drivers from AMD (ATI), version 12.2, cpu usage drops drastically.

Before:
http://moowrap.net/result.php?resultid=9297556

After:
http://moowrap.net/result.php?resultid=9390083

Even though still the cpu-priority of gpu tasks seems to be equal to my other cpu projects and therefore I need to leave one cpu core emtpy.
Also note that the gpu is fastest at Core #0 setting (one might expect #3)

Edit: I also see the application is using dnetc518-linux-x86-stream instead of dnetc518-linux-amd64-stream in this case. I've checked with benchmarks, there is no performance difference and both benches run at low cpu usage. I guess there are different tasks which autoselect their application? (x86 vs amd64)
ID: 2875 · Rating: 0 · rate: Rate + / Rate - Report as offensive
Profile Teemu Mannermaa
Project administrator
Project developer
Project tester

Send message
Joined: 20 Apr 11
Posts: 388
Credit: 822,356,221
RAC: 0
Message 2937 - Posted: 22 Mar 2012, 18:57:54 UTC - in response to Message 2875.  

I also see the application is using dnetc518-linux-x86-stream instead of dnetc518-linux-amd64-stream in this case. ... I guess there are different tasks which autoselect their application? (x86 vs amd64)


Scheduler usually sends you both 32-bit and 64-bit apps and after a while it will start picking one that is measured to run optimally (faster) on your host. Since both of those stream clients contain the same GPU-code, there won't be that much real difference (just like your benchmarking showed) so this shouldn't matter.

Sometimes a host can't run either version (like 64-bit only host that doesn't have 32-bit runtime libs) so scheduler will see failures and thus should learn to not send that version to the affected host. It can still sometime retest the host by sending the "bad" version, though.

-w
ID: 2937 · Rating: 0 · rate: Rate + / Rate - Report as offensive

Questions and Answers : Unix/Linux : Low GPU usage in Ubuntu


 
Copyright © 2011-2021 Moo! Wrapper Project