GTX 970 & cpu bottleneck

Message boards : Number crunching : GTX 970 & cpu bottleneck
Message board moderation

To post messages, you must log in.

AuthorMessage
Profile Aikki

Send message
Joined: 13 Nov 08
Posts: 4
Credit: 14,009,311
RAC: 0
Finland
Message 1813762 - Posted: 30 Aug 2016, 11:56:27 UTC

Hi,

I've been around for a while, but now first time posting bc I have a problem.

I have GTX970 overclocked in one of my machines and it has very poor CPU.
CPU was first Core 2 E6300 @ 1.86GHz and I noticed low RAC and 100% CPU usage all time. Then I tried to overclock it towards 2.5GHz, but 100% still. Now I changed CPU to E7300 and OC'd it to 2.9GHz, but still 100% CPU usage?

How juicy CPU GTX970 needs to feed it crunch 2/3 wu's ? I have several GTX970's and some machines have even worse CPU...
ID: 1813762 · Report as offensive
rob smith Crowdfunding Project Donor*Special Project $75 donorSpecial Project $250 donor
Volunteer moderator
Volunteer tester

Send message
Joined: 7 Mar 03
Posts: 22202
Credit: 416,307,556
RAC: 380
United Kingdom
Message 1813770 - Posted: 30 Aug 2016, 12:11:32 UTC

The current SoG and SAH (OpenCL) applications both need the best part of a CPU core to support the GPU, per task on the GPU. Thus the two core E7300 will not support more than 2 concurrent tasks on the GTX970. Being a fairly old chip I would not be surprised if the E7300 is struggling to support the highly capable GTX970.
I know there is work underway to improve (reduce) the amount of CPU required by these applications, but I'm not sure how far along the line this work has got.
Bob Smith
Member of Seti PIPPS (Pluto is a Planet Protest Society)
Somewhere in the (un)known Universe?
ID: 1813770 · Report as offensive
Profile Aikki

Send message
Joined: 13 Nov 08
Posts: 4
Credit: 14,009,311
RAC: 0
Finland
Message 1813773 - Posted: 30 Aug 2016, 12:40:54 UTC

Thanks from your reply,

I think 3 wus improved GPU usage some over 2wu, but not sure.
GPU usage hopps around 66-96% :/

Last winter I tried crunching with 6 x 750Ti machine and it had 2.7GHz Dual core Haswell Celeron. CPU usage was 90-100%. Most of the time it was below 100% and performance was flawless.

Like I said, some of my machines have even slower Athlon II single/dual core CPUs, so those cannot push GTX 970s...

Tought E7300 Overclocked is capable of running 2 GTX970s :)
ID: 1813773 · Report as offensive
Profile Mike Special Project $75 donor
Volunteer tester
Avatar

Send message
Joined: 17 Feb 01
Posts: 34258
Credit: 79,922,639
RAC: 80
Germany
Message 1813774 - Posted: 30 Aug 2016, 12:41:45 UTC
Last modified: 30 Aug 2016, 12:43:19 UTC

Go to your projects folder and check for a file called **_mb_cmdline**.txt.
Open it in wordpad and add

-sbs 384 -use_sleep

Save as txt

This will reduce CPU usage so you can at least run 2 instances.
But i suggest to keep at least 1 CPU core free to feed the GPU properly.


With each crime and every kindness we birth our future.
ID: 1813774 · Report as offensive
rob smith Crowdfunding Project Donor*Special Project $75 donorSpecial Project $250 donor
Volunteer moderator
Volunteer tester

Send message
Joined: 7 Mar 03
Posts: 22202
Credit: 416,307,556
RAC: 380
United Kingdom
Message 1813778 - Posted: 30 Aug 2016, 12:50:14 UTC - in response to Message 1813773.  

Last winter was probably before the introduction of the SoG and SaH applications, which introduced the change in CPU loading.
Bob Smith
Member of Seti PIPPS (Pluto is a Planet Protest Society)
Somewhere in the (un)known Universe?
ID: 1813778 · Report as offensive
Profile Aikki

Send message
Joined: 13 Nov 08
Posts: 4
Credit: 14,009,311
RAC: 0
Finland
Message 1813781 - Posted: 30 Aug 2016, 12:54:58 UTC - in response to Message 1813774.  

Wow, that nearly did the trick. CPU usage hopps around 75-100% now, most of the time its 92%, but then it 100% for some time. Still 3 wus, but I might try to reduce it.

What that setting did? I don't understand :)
ID: 1813781 · Report as offensive
Profile Mike Special Project $75 donor
Volunteer tester
Avatar

Send message
Joined: 17 Feb 01
Posts: 34258
Credit: 79,922,639
RAC: 80
Germany
Message 1813784 - Posted: 30 Aug 2016, 13:04:47 UTC - in response to Message 1813781.  

Wow, that nearly did the trick. CPU usage hopps around 75-100% now, most of the time its 92%, but then it 100% for some time. Still 3 wus, but I might try to reduce it.

What that setting did? I don't understand :)


-use_sleep results in additional Sleep calls to yield CPU to other processes.
-sbs increases single buffer size which results in bigger kernel calls to speed up a little bit.


With each crime and every kindness we birth our future.
ID: 1813784 · Report as offensive
Darth Beaver Crowdfunding Project Donor*Special Project $75 donorSpecial Project $250 donor
Avatar

Send message
Joined: 20 Aug 99
Posts: 6728
Credit: 21,443,075
RAC: 3
Australia
Message 1814118 - Posted: 31 Aug 2016, 10:42:30 UTC

WoW from me. Mike ...Thank you . I tried it in my AMD FX with 2 GPU'S 680 GTX & a 970 GTX

I had it set running 3 CPU units because it starting using the other Cores .2 units per GPU

So all the core where busy

I put your setting into the file and restart Bonic and WOW , WOW

now I have it set to use 5cores and still do the same amount of units on the GPU's

There is a difference with the 970 , can't tell with the 680 but thanks
ID: 1814118 · Report as offensive
Stephen "Heretic" Crowdfunding Project Donor*Special Project $75 donorSpecial Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 20 Sep 12
Posts: 5557
Credit: 192,787,363
RAC: 628
Australia
Message 1814501 - Posted: 2 Sep 2016, 1:30:38 UTC - in response to Message 1813762.  

Hi,

I've been around for a while, but now first time posting bc I have a problem.

I have GTX970 overclocked in one of my machines and it has very poor CPU.
CPU was first Core 2 E6300 @ 1.86GHz and I noticed low RAC and 100% CPU usage all time. Then I tried to overclock it towards 2.5GHz, but 100% still. Now I changed CPU to E7300 and OC'd it to 2.9GHz, but still 100% CPU usage?

How juicy CPU GTX970 needs to feed it crunch 2/3 wu's ? I have several GTX970's and some machines have even worse CPU...



. . What you need to use is the -use_sleep command. What version of SoG are you using (I think you are using Sog is that correct?). r3500 is highly optimised and with the right settings you may not need to run multiple tasks at all. I have a very humble Pentium D 930 with which I have been running up to 5 WUs on each of the 2 GTX970 GPUs to fully utilise the GPU under r3430. Since upgrading to r3500 I am now only running a single task on each 970 and achieving nearly full GPU usage.

. . You might try the recommended settings for r3500 of:

-high_prec_timer -use_sleep -tt 500 (I add -hp for high priority) and -sbs 256 to give good video ram buffers.

Stephen

.
ID: 1814501 · Report as offensive
Darth Beaver Crowdfunding Project Donor*Special Project $75 donorSpecial Project $250 donor
Avatar

Send message
Joined: 20 Aug 99
Posts: 6728
Credit: 21,443,075
RAC: 3
Australia
Message 1814602 - Posted: 2 Sep 2016, 10:06:10 UTC - in response to Message 1814501.  

Hi,

I've been around for a while, but now first time posting bc I have a problem.

I have GTX970 overclocked in one of my machines and it has very poor CPU.
CPU was first Core 2 E6300 @ 1.86GHz and I noticed low RAC and 100% CPU usage all time. Then I tried to overclock it towards 2.5GHz, but 100% still. Now I changed CPU to E7300 and OC'd it to 2.9GHz, but still 100% CPU usage?

How juicy CPU GTX970 needs to feed it crunch 2/3 wu's ? I have several GTX970's and some machines have even worse CPU...



. . What you need to use is the -use_sleep command. What version of SoG are you using (I think you are using Sog is that correct?). r3500 is highly optimised and with the right settings you may not need to run multiple tasks at all. I have a very humble Pentium D 930 with which I have been running up to 5 WUs on each of the 2 GTX970 GPUs to fully utilise the GPU under r3430. Since upgrading to r3500 I am now only running a single task on each 970 and achieving nearly full GPU usage.

. . You might try the recommended settings for r3500 of:

-high_prec_timer -use_sleep -tt 500 (I add -hp for high priority) and -sbs 256 to give good video ram buffers.

Stephen


G'day mate bit busy at the moment with other things but will do and let you know how goes
ID: 1814602 · Report as offensive
Profile Raistmer
Volunteer developer
Volunteer tester
Avatar

Send message
Joined: 16 Jun 01
Posts: 6325
Credit: 106,370,077
RAC: 121
Russia
Message 1814622 - Posted: 2 Sep 2016, 11:37:26 UTC - in response to Message 1814501.  
Last modified: 2 Sep 2016, 11:38:52 UTC

r3500 is highly optimised and with the right settings you may not need to run multiple tasks at all.
.


~20s is CPU-only startup time (real time depends from actual CPU core speed of course)
So, for GPUs with speedy-enough context switching (all but pre-FERMI AFAIK) i would recommend 2 tasks per GPU as optimized config, especially if GPU from high-end segment.
SETI apps news
We're not gonna fight them. We're gonna transcend them.
ID: 1814622 · Report as offensive

Message boards : Number crunching : GTX 970 & cpu bottleneck


 
©2024 University of California
 
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.