two GPU's fighting over CPU resources

Come join the... uh... er... fold.

Moderators: just brew it!, farmpuma

two GPU's fighting over CPU resources

Postposted on Thu Sep 04, 2008 2:39 am

I configured an older socket 939 SLI board today with an 8600GT and an 8400GS. Unfortunately, according to procexp, the two are using the same core of an Opteron and it's really slowed the 8600. One of the Opteron's cores is at 100% utilization and the other is at 0%. Both of my GPU2 clients are configured to NOT lock to a specific core. I assumed that meant that both CPU cores would be utilized as necessary, but that does not appear to be the case.

Can somone clear this up for me please? And how would I force/allow the other core to be used?
This problem was caused by Windows, which was created by Microsoft Corporation.
sluggo
Gerbil Jedi
 
Posts: 1531
Joined: Wed Feb 16, 2005 7:44 pm
Location: under the table and dreaming

Re: two GPU's fighting over CPU resources

Postposted on Thu Sep 04, 2008 7:27 am

What OS? Sounds like a scheduling problem.
Usacomp2k3
Gerbil God
 
Posts: 21240
Joined: Thu Apr 01, 2004 3:53 pm
Location: Orlando, FL

Re: two GPU's fighting over CPU resources

Postposted on Thu Sep 04, 2008 7:35 am

Usacomp2k3 wrote:What OS? Sounds like a scheduling problem.

Not quite, because in theory a process with no affinity set should be run on different cores (otherwise the scheduler will be really buggy). For some reason the GPU2 client processes seem to want to stick with 1 core.

The simplest (but need manual work) is to just bring up Task Manager and force the 2 FaHCore_*.exe to go their separate cores, but you have to do it everytime a new WU is being worked on. I believe they have options to set affinity in the GPU2 client.
Image
The Model M is not for the faint of heart. You either like them or hate them.

Gerbils unite! Fold for UnitedGerbilNation, team 2630.
Flying Fox
Gerbil God
 
Posts: 24141
Joined: Mon May 24, 2004 1:19 am

Re: two GPU's fighting over CPU resources

Postposted on Thu Sep 04, 2008 7:39 am

sluggo wrote:I configured an older socket 939 SLI board today with an 8600GT and an 8400GS. Unfortunately, according to procexp, the two are using the same core of an Opteron and it's really slowed the 8600. One of the Opteron's cores is at 100% utilization and the other is at 0%. Both of my GPU2 clients are configured to NOT lock to a specific core. I assumed that meant that both CPU cores would be utilized as necessary, but that does not appear to be the case.

Can somone clear this up for me please? And how would I force/allow the other core to be used?


You can set CPU affinity in Task Manager in XP & Vista. Right click on the taskbar, select Task Manager, right click on Fahcore11.exe and set CPU affinity by checking or unchecking the desired cpu box.

There are also some links in this thread on setting up two instances of the GPU client and setting core affinity in the GPU client.

Hope this helps. :D
Join UGN's Drive to the Top!
Image
UnitedGerbilNation wants you!!
jeffry55
Grand Gerbil Poohbah
 
Posts: 3181
Joined: Sat Oct 30, 2004 3:38 pm
Location: Menlo Park - just down the street from the F@H Servers!

Re: two GPU's fighting over CPU resources

Postposted on Thu Sep 04, 2008 12:09 pm

Thanks all for the tips.

This is a Windows XP machine. Resetting the affinities in task manager worked to open up the other core. The GPU clients were both set to run on CPU1 so I set them both to run on both CPUs. Now I have both cores runnning at 100% utilization but, curiously, not much of an improvement in GPU throughput.

This was puzzling - I would not have thought that the two clients would completely swamp the Opteron. I paused one of the clients and the CPU utilization dropped to exactly 50%, spread across the two cores. I resumed the first core, CPU utilization went back to 100%, and then I paused the other core. CPU dropped to exactly 50% again, spread across the two cores.

I don't know how to interpret these results. Is there something in the client code that restricts it to no more than 50% loading, regardless of it's need?

Right now I'm testing the stability of a 25% overclock on the processor. Then I'll run the clients again to see if the utilization percentages change. After that, maybe I'll underclock the GPUs.
This problem was caused by Windows, which was created by Microsoft Corporation.
sluggo
Gerbil Jedi
 
Posts: 1531
Joined: Wed Feb 16, 2005 7:44 pm
Location: under the table and dreaming

Re: two GPU's fighting over CPU resources

Postposted on Thu Sep 04, 2008 12:33 pm

It's a quirk in Task Manager. 100% of 1 core out of 2 total cores is 50% "overall". You should look at the CPU usage graph and you will see at any give point one core is getting maxed out.
Image
The Model M is not for the faint of heart. You either like them or hate them.

Gerbils unite! Fold for UnitedGerbilNation, team 2630.
Flying Fox
Gerbil God
 
Posts: 24141
Joined: Mon May 24, 2004 1:19 am


Return to TR Distributed Computing Effort

Who is online

Users browsing this forum: Yahoo [Bot] and 5 guests