Welcome to MilkyWay@home

Patch for GPU application's CPU utilization

Message boards : News : Patch for GPU application's CPU utilization
Message board moderation

To post messages, you must log in.

AuthorMessage
Profile Travis
Volunteer moderator
Project administrator
Project developer
Project tester
Project scientist

Send message
Joined: 30 Aug 07
Posts: 2046
Credit: 26,480
RAC: 0
Message 35717 - Posted: 17 Jan 2010, 3:58:14 UTC

I applied a patch which should hopefully fix the CPU utilization of the GPU applications, which was causing some users problems with running the CPU app alongside the GPU app. Let me know how it works.
ID: 35717 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile arkayn
Avatar

Send message
Joined: 14 Feb 09
Posts: 999
Credit: 74,932,619
RAC: 0
Message 35723 - Posted: 17 Jan 2010, 5:06:15 UTC
Last modified: 17 Jan 2010, 5:16:16 UTC

It looks like it might have fixed the anonymous problem as well, will have to wait and see when there are actual tasks to send out.

[edit]
Nope, same problem. Message from server: No work sent
ID: 35723 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile Travis
Volunteer moderator
Project administrator
Project developer
Project tester
Project scientist

Send message
Joined: 30 Aug 07
Posts: 2046
Credit: 26,480
RAC: 0
Message 35726 - Posted: 17 Jan 2010, 7:12:56 UTC - in response to Message 35723.  

It looks like it might have fixed the anonymous problem as well, will have to wait and see when there are actual tasks to send out.

[edit]
Nope, same problem. Message from server: No work sent



What exactly is the anonymous problem? Are you trying to use an optimized CPU app alongside the server GPU app?
ID: 35726 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile Crunch3r
Volunteer developer
Avatar

Send message
Joined: 17 Feb 08
Posts: 363
Credit: 258,227,990
RAC: 0
Message 35727 - Posted: 17 Jan 2010, 7:46:51 UTC - in response to Message 35726.  
Last modified: 17 Jan 2010, 7:51:43 UTC

It looks like it might have fixed the anonymous problem as well, will have to wait and see when there are actual tasks to send out.

[edit]
Nope, same problem. Message from server: No work sent



What exactly is the anonymous problem? Are you trying to use an optimized CPU app alongside the server GPU app?


The problem is that if your're using the ATI app on anonymous platform and have the following selected in the project prefs:

Use CPU
(enforced by 6.10+ clients) no
Use NVIDIA GPU if present
(enforced by 6.10+ clients) no
Use ATI GPU if present
(enforced by 6.10+ clients) yes


You will not get work at all.

Join Support science! Joinc Team BOINC United now!
ID: 35727 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile Travis
Volunteer moderator
Project administrator
Project developer
Project tester
Project scientist

Send message
Joined: 30 Aug 07
Posts: 2046
Credit: 26,480
RAC: 0
Message 35728 - Posted: 17 Jan 2010, 8:19:22 UTC - in response to Message 35727.  

It looks like it might have fixed the anonymous problem as well, will have to wait and see when there are actual tasks to send out.

[edit]
Nope, same problem. Message from server: No work sent



What exactly is the anonymous problem? Are you trying to use an optimized CPU app alongside the server GPU app?


The problem is that if your're using the ATI app on anonymous platform and have the following selected in the project prefs:

Use CPU
(enforced by 6.10+ clients) no
Use NVIDIA GPU if present
(enforced by 6.10+ clients) no
Use ATI GPU if present
(enforced by 6.10+ clients) yes


You will not get work at all.


Well that's an interesting one, I'll see if I can get the boinc lists to help me fix it :P It's so much nicer being able to do updates myself, lol.
ID: 35728 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile Crunch3r
Volunteer developer
Avatar

Send message
Joined: 17 Feb 08
Posts: 363
Credit: 258,227,990
RAC: 0
Message 35731 - Posted: 17 Jan 2010, 9:30:21 UTC - in response to Message 35728.  

It looks like it might have fixed the anonymous problem as well, will have to wait and see when there are actual tasks to send out.

[edit]
Nope, same problem. Message from server: No work sent



What exactly is the anonymous problem? Are you trying to use an optimized CPU app alongside the server GPU app?


The problem is that if your're using the ATI app on anonymous platform and have the following selected in the project prefs:

Use CPU
(enforced by 6.10+ clients) no
Use NVIDIA GPU if present
(enforced by 6.10+ clients) no
Use ATI GPU if present
(enforced by 6.10+ clients) yes


You will not get work at all.


Well that's an interesting one, I'll see if I can get the boinc lists to help me fix it :P It's so much nicer being able to do updates myself, lol.


Isn't there anything in the server logs that shows some more info about why the client get's the "Message from server: No work sent" ???


Join Support science! Joinc Team BOINC United now!
ID: 35731 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile Travis
Volunteer moderator
Project administrator
Project developer
Project tester
Project scientist

Send message
Joined: 30 Aug 07
Posts: 2046
Credit: 26,480
RAC: 0
Message 35732 - Posted: 17 Jan 2010, 9:31:34 UTC - in response to Message 35731.  

It looks like it might have fixed the anonymous problem as well, will have to wait and see when there are actual tasks to send out.

[edit]
Nope, same problem. Message from server: No work sent



What exactly is the anonymous problem? Are you trying to use an optimized CPU app alongside the server GPU app?


The problem is that if your're using the ATI app on anonymous platform and have the following selected in the project prefs:

Use CPU
(enforced by 6.10+ clients) no
Use NVIDIA GPU if present
(enforced by 6.10+ clients) no
Use ATI GPU if present
(enforced by 6.10+ clients) yes


You will not get work at all.


Well that's an interesting one, I'll see if I can get the boinc lists to help me fix it :P It's so much nicer being able to do updates myself, lol.


Isn't there anything in the server logs that shows some more info about why the client get's the "Message from server: No work sent" ???


Nope, but from what I hear initially from the message boards it's because anonymous apps are assumed to be for CPUs.
ID: 35732 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile cenit

Send message
Joined: 16 Mar 09
Posts: 58
Credit: 1,129,612
RAC: 0
Message 35734 - Posted: 17 Jan 2010, 10:42:00 UTC - in response to Message 35732.  

Nope, but from what I hear initially from the message boards it's because anonymous apps are assumed to be for CPUs.

on Collatz they do not have this problem. Maybe Slicker can help here!
ID: 35734 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile Arif Mert Kapicioglu

Send message
Joined: 14 Dec 09
Posts: 161
Credit: 589,318,064
RAC: 0
Message 35743 - Posted: 17 Jan 2010, 13:39:53 UTC
Last modified: 17 Jan 2010, 13:49:27 UTC

It's working for me. After the patch, the cpu usage dropped from 0.87 to 0.05 for gpu app and wus takes 2 seconds longer than the 0.87 cpu usage. Performance effected? I was just about to ask that whether if 1.00 cpu utilization per gpu core is possible, lol.
ID: 35743 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile arkayn
Avatar

Send message
Joined: 14 Feb 09
Posts: 999
Credit: 74,932,619
RAC: 0
Message 35747 - Posted: 17 Jan 2010, 16:00:16 UTC

For me, I use a app_info because I use the command line option b-1 {setting GPU polling behaviour: busy wait (fastest, potentially high CPU load)}.

It speeds up the app on my card by about 45 seconds or so.

Without: 4:50
With: 4:06
ID: 35747 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Matilda

Send message
Joined: 4 Jul 09
Posts: 2
Credit: 873,494
RAC: 0
Message 35913 - Posted: 22 Jan 2010, 7:44:34 UTC

I am still having a problem in that the time allowed to process a work unit is greater than the "deadline".

Example: Expected work time = 42 hours, time to deadline = 36 hours.

It is impossible to process.

Why not give more time such as an extra week or so.

Thanks.
ID: 35913 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile banditwolf
Avatar

Send message
Joined: 12 Nov 07
Posts: 2425
Credit: 524,164
RAC: 0
Message 35923 - Posted: 22 Jan 2010, 13:17:39 UTC - in response to Message 35913.  

I am still having a problem in that the time allowed to process a work unit is greater than the "deadline".

Example: Expected work time = 42 hours, time to deadline = 36 hours.

It is impossible to process.

Why not give more time such as an extra week or so.

Thanks.

It is a week now. The 3 day ones are the older series of wus.
Doesn't expecting the unexpected make the unexpected the expected?
If it makes sense, DON'T do it.
ID: 35923 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Benny Afable

Send message
Joined: 25 Jan 10
Posts: 2
Credit: 3,848
RAC: 0
Message 36175 - Posted: 31 Jan 2010, 19:28:47 UTC - in response to Message 35717.  

How do i know that the GPU besides the core CPUs is/are being used in processing WU?
ID: 36175 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile banditwolf
Avatar

Send message
Joined: 12 Nov 07
Posts: 2425
Credit: 524,164
RAC: 0
Message 36178 - Posted: 31 Jan 2010, 21:18:10 UTC - in response to Message 36175.  

How do i know that the GPU besides the core CPUs is/are being used in processing WU?

One easy way is if the wu's are taking a few minutes to complete instead of hours. Looking at your current computers you don't have a recognized gpu. You need a double recision gpu for this project. Here is a list of usable gpus: http://milkyway.cs.rpi.edu/milkyway/forum_thread.php?id=1505
Doesn't expecting the unexpected make the unexpected the expected?
If it makes sense, DON'T do it.
ID: 36178 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Benny Afable

Send message
Joined: 25 Jan 10
Posts: 2
Credit: 3,848
RAC: 0
Message 36219 - Posted: 2 Feb 2010, 9:18:21 UTC - in response to Message 36178.  

I'm running BOINC from my laptops and this particular one has AMD M8806 with ATI Radeon HD4200 for the display adapters. Then i guess this version of BOINC does not support the GPUs on my machine since its not listed in the links your provided right? Thanks.
ID: 36219 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Cluster Physik

Send message
Joined: 26 Jul 08
Posts: 627
Credit: 94,940,203
RAC: 0
Message 36220 - Posted: 2 Feb 2010, 10:02:37 UTC - in response to Message 36219.  

I'm running BOINC from my laptops and this particular one has AMD M8806 with ATI Radeon HD4200 for the display adapters. Then i guess this version of BOINC does not support the GPUs on my machine since its not listed in the links your provided right? Thanks.

Your BOINC version (6.10.18) supports ATI GPUs. But you need to install a newer driver. Getting new drivers for notebooks can be a problem, you may need to use the Mobility Modder to get the latest Catalyst installed.

If you do that, BOINC should recognize the ATI HD4200. But unfortunately it is not supported by Milkyway, as it is not able to do double precision calculations. But it would run the Collatz Conjecture project (and probably the upcoming PrimeGrid AP26 application, too). A HD4200 isn't stunningly fast, but 2000 credits a day may be possible (don't know the clock of the notebook version).
ID: 36220 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote

Message boards : News : Patch for GPU application's CPU utilization

©2024 Astroinformatics Group