Separate work for GPU and CPU?


log in

Advanced search

Message boards : Number crunching : Separate work for GPU and CPU?

Author Message
Profile S@NL - eFMer - www.efmer.eu/boinc
Volunteer tester
Avatar
Send message
Joined: 7 Jun 99
Posts: 512
Credit: 122,602,174
RAC: 102
United States
Message 1296086 - Posted: 17 Oct 2012, 7:24:30 UTC

I've notices the CPU is not getting any work at all.
I know the GPU gets work first.

But I set a Buffer for 5 days, no CPU work, but the buffer is filled to 5 days.
Next I dropped the buffer to 2 days. BOINC is requesting CPU work.
Stayed there for a couple of days. The buffer fills to 2 days and stays there.

Now I set the buffer back to 3 days and I immediately get new work.
And a lot of it, of course all GPU.

This happens with 7.0.28 and 7.0.31.

At 2 days

64836 SETI@home 17-10-2012 09:03 Scheduler request completed: got 0 new tasks
64835 SETI@home 17-10-2012 09:03 Reporting 5 completed tasks, requesting new tasks for CPU
64834 SETI@home 17-10-2012 09:03 Sending scheduler request: Requested by user.

64874 SETI@home 17-10-2012 09:13 Scheduler request completed: got 42 new tasks
64873 SETI@home 17-10-2012 09:13 Requesting new tasks for CPU and NVIDIA
64872 SETI@home 17-10-2012 09:13 Sending scheduler request: Requested by user.


64977 SETI@home 17-10-2012 09:18 Scheduler request completed: got 72 new tasks
64972 SETI@home 17-10-2012 09:18 Reporting 3 completed tasks, requesting new tasks for CPU and NVIDIA
64971 SETI@home 17-10-2012 09:18 Sending scheduler request: To fetch work.

____________
TThrottle Control your temperatures. BoincTasks The best way to view BOINC. Anza Borrego Desert hiking.

Profile Raistmer
Volunteer developer
Volunteer tester
Avatar
Send message
Joined: 16 Jun 01
Posts: 3284
Credit: 40,812,867
RAC: 58,833
Russia
Message 1296087 - Posted: 17 Oct 2012, 7:26:24 UTC - in response to Message 1296086.
Last modified: 17 Oct 2012, 7:29:49 UTC

And what do you see in message log? Does BOINC client asks for CPU work and doesn't get it or it doesn't ask for CPU work [What number of request in seconds]?
____________
News about SETI opt app releases: https://twitter.com/Raistmer

Profile S@NL - eFMer - www.efmer.eu/boinc
Volunteer tester
Avatar
Send message
Joined: 7 Jun 99
Posts: 512
Credit: 122,602,174
RAC: 102
United States
Message 1296089 - Posted: 17 Oct 2012, 7:29:22 UTC - in response to Message 1296087.

And what do you see in message log? Does BOINC client asks for CPU work and doesn't get it or it doesn't ask for CPU work?


As you can see, it asks for CPU work only.

I was building an additional in BoincTasks.
If GPU work > 2 day and CPU work < 0.5 day set buffer to 2 days.

That's when I noticed the buffer staying on 2 days for a couple of days and no CPU work except for some AP work.
____________
TThrottle Control your temperatures. BoincTasks The best way to view BOINC. Anza Borrego Desert hiking.

Profile S@NL - eFMer - www.efmer.eu/boinc
Volunteer tester
Avatar
Send message
Joined: 7 Jun 99
Posts: 512
Credit: 122,602,174
RAC: 102
United States
Message 1296091 - Posted: 17 Oct 2012, 7:35:00 UTC - in response to Message 1296089.
Last modified: 17 Oct 2012, 7:35:15 UTC

But I think I see what's going wrong.

Maybe that is....

V7 reused

Connect every
Additional work buffer

->

Minimum work buffer.
Additional work buffer.

So I set the Additional work buffer as in V6, but I probably have to use:

Minimum work buffer in V7.
____________
TThrottle Control your temperatures. BoincTasks The best way to view BOINC. Anza Borrego Desert hiking.

Profile S@NL - eFMer - www.efmer.eu/boinc
Volunteer tester
Avatar
Send message
Joined: 7 Jun 99
Posts: 512
Credit: 122,602,174
RAC: 102
United States
Message 1296102 - Posted: 17 Oct 2012, 9:03:23 UTC - in response to Message 1296091.

After correction that problem in BoincTasks, the results are still the same.

No GPU work.

After changing the buffer from 2 -> 3 I got way over 1000 WU in a singe hour.
All GPU of course.

Now at 3 days.

67320 SETI@home 17-10-2012 10:56 Scheduler request completed: got 0 new tasks
67319 SETI@home 17-10-2012 10:56 Reporting 1 completed tasks, requesting new tasks for CPU
67318 SETI@home 17-10-2012 10:56 Sending scheduler request: Requested by user.

It is getting no CPU work.

The 6.12.33 has plenty of CPU work and gets is regularly.
____________
TThrottle Control your temperatures. BoincTasks The best way to view BOINC. Anza Borrego Desert hiking.

Profile Slavac
Volunteer tester
Avatar
Send message
Joined: 27 Apr 11
Posts: 1932
Credit: 17,952,639
RAC: 0
United States
Message 1296106 - Posted: 17 Oct 2012, 9:39:34 UTC - in response to Message 1296102.

Go to preferences, network connections, click 'clear'

Now set "connect every X days" to 4, and additional work buffer to 0.01.

Click update or let it auto report and let me know what happens.
____________


Executive Director GPU Users Group Inc. -
brad@gpuug.org

Richard Haselgrove
Volunteer tester
Send message
Joined: 4 Jul 99
Posts: 8275
Credit: 44,943,948
RAC: 13,675
United Kingdom
Message 1296109 - Posted: 17 Oct 2012, 9:59:11 UTC - in response to Message 1296102.

And set at least the <sched_op_debug> logging flag in cc_config.xml so that you can see exactly what's going on when work is requested/received.

Profile S@NL - eFMer - www.efmer.eu/boinc
Volunteer tester
Avatar
Send message
Joined: 7 Jun 99
Posts: 512
Credit: 122,602,174
RAC: 102
United States
Message 1296116 - Posted: 17 Oct 2012, 10:26:16 UTC - in response to Message 1296109.
Last modified: 17 Oct 2012, 10:26:40 UTC

And set at least the <sched_op_debug> logging flag in cc_config.xml so that you can see exactly what's going on when work is requested/received.

Done:

68079 SETI@home 17-10-2012 12:19 [sched_op] estimated total NVIDIA task duration: 7555 seconds
68078 SETI@home 17-10-2012 12:19 [sched_op] estimated total CPU task duration: 0 seconds
68077 SETI@home 17-10-2012 12:19 Project requested delay of 303 seconds
68076 SETI@home 17-10-2012 12:19 [sched_op] Server version 701
68075 SETI@home 17-10-2012 12:19 Scheduler request completed: got 22 new tasks
68074 SETI@home 17-10-2012 12:18 [sched_op] NVIDIA work request: 6868.66 seconds; 0.00 devices
68073 SETI@home 17-10-2012 12:18 [sched_op] CPU work request: 2080512.00 seconds; 8.00 devices

BOINC request work and gets GPU work just above the value needed.

Gets 7555 needed 6868.
But there I expect it goes wrong. 687 is 76 for GPU to handle.
So it gets just about the GPU it needs and hoovers just below the threshold.

Is should get at least number of GPU * scheduler interval. + something extra. 9 * 6 * 60 = 3240 it gets 687.

I see this line:

68074 SETI@home 17-10-2012 12:18 [sched_op] NVIDIA work request: 6868.66 seconds; 0.00 devices
Does it know how many GPU tasks are running ?????
____________
TThrottle Control your temperatures. BoincTasks The best way to view BOINC. Anza Borrego Desert hiking.

Profile Fred E.
Volunteer tester
Send message
Joined: 22 Jul 99
Posts: 731
Credit: 22,092,112
RAC: 24,603
United States
Message 1296118 - Posted: 17 Oct 2012, 10:38:36 UTC

I've noticed that 7.0.28 will keep asking for GPU work until it gets to about 1.25 days more than my min + additional setting, and even at that level it will ask for a few thousand seconds of GPU work. I use local preferences of 6 and .01. I don't get much CPU work until it gets to 7.25 days of GPU work per BOINCTasks' sum of estimated times. You can intervene and temporarily turn off GPU fetch in the SETI@Home project preferences (website). I have do this about once a week to rebalance the cache. Of course, that would affect all of your hosts unless you are using venues (home, school, etc).

Does it know how many GPU tasks are running ?????
It seems to respond when I change my count setting.
____________
Another Fred
Support SETI@home when you search the Web with GoodSearch or shop online with GoodShop.

Profile S@NL - eFMer - www.efmer.eu/boinc
Volunteer tester
Avatar
Send message
Joined: 7 Jun 99
Posts: 512
Credit: 122,602,174
RAC: 102
United States
Message 1296119 - Posted: 17 Oct 2012, 10:41:39 UTC - in response to Message 1296118.

I've noticed that 7.0.28 will keep asking for GPU work until it gets to about 1.25 days more than my min + additional setting, and even at that level it will ask for a few thousand seconds of GPU work. I use local preferences of 6 and .01. I don't get much CPU work until it gets to 7.25 days of GPU work per BOINCTasks' sum of estimated times. You can intervene and temporarily turn off GPU fetch in the SETI@Home project preferences (website). I have do this about once a week to rebalance the cache. Of course, that would affect all of your hosts unless you are using venues (home, school, etc).

That's what I've been trying to automate. That's when you don't get any work at all.
No CPU that way.

But I expect you get no problems if you have one GPU.
____________
TThrottle Control your temperatures. BoincTasks The best way to view BOINC. Anza Borrego Desert hiking.

Profile Fred E.
Volunteer tester
Send message
Joined: 22 Jul 99
Posts: 731
Credit: 22,092,112
RAC: 24,603
United States
Message 1296120 - Posted: 17 Oct 2012, 10:49:40 UTC

I've noticed that 7.0.28 will keep asking for GPU work until it gets to about 1.25 days more than my min + additional setting, and even at that level it will ask for a few thousand seconds of GPU work. I use local preferences of 6 and .01. I don't get much CPU work until it gets to 7.25 days of GPU work per BOINCTasks' sum of estimated times. You can intervene and temporarily turn off GPU fetch in the SETI@Home project preferences (website). I have do this about once a week to rebalance the cache. Of course, that would affect all of your hosts unless you are using venues (home, school, etc).


That's what I've been trying to automate. That's when you don't get any work at all.
No CPU that way.

But I expect you get no problems if you have one GPU.

Agree my situation is simple with one host and one gpu. The project preference "use NVIDIA (or ATIa) gpu" only tells BOINC to not ask for gpu work. Turning it off will cause BOINC to only ask for cpu work. Definately not an automated approach - hope you find a better way.

____________
Another Fred
Support SETI@home when you search the Web with GoodSearch or shop online with GoodShop.

Profile S@NL - eFMer - www.efmer.eu/boinc
Volunteer tester
Avatar
Send message
Joined: 7 Jun 99
Posts: 512
Credit: 122,602,174
RAC: 102
United States
Message 1296121 - Posted: 17 Oct 2012, 10:56:37 UTC - in response to Message 1296120.

Agree my situation is simple with one host and one gpu. The project preference "use NVIDIA (or ATIa) gpu" only tells BOINC to not ask for gpu work. Turning it off will cause BOINC to only ask for cpu work. Definately not an automated approach - hope you find a better way.

I tried to automate something like that.
But even though the computer asks for CPU work it gets noting.
Another computer that request in the same period, gets work ever single time.
But just enough to keep the GPU buffer filled.....

Probably there is something wrong with the BOINC scheduler. At least for computers with more GPU's

____________
TThrottle Control your temperatures. BoincTasks The best way to view BOINC. Anza Borrego Desert hiking.

Message boards : Number crunching : Separate work for GPU and CPU?

Copyright © 2014 University of California