Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: New BOINC feature to easily run multiple GPU tasks

  1. #1
    Diamond Member
    zombie67's Avatar
    Join Date
    October 24th, 2010
    Location
    Reno, NV
    Posts
    7,294

    New BOINC feature to easily run multiple GPU tasks

    There is now such a thing as app_config.xml, starting with 7.0.42 (actually .40, but anything before .42 is broken). I think this could be very good! Now we can more easily run multiple GPU tasks, without the complexity of a full-blown app_info.xml! I am going to post about this in a separate thread, so that people don't overlook this, thinking it is something unique to WCG.

    The link for this new thing is here:

    http://boinc.berkeley.edu/trac/wiki/ClientAppConfig

    Currently it says this:

    A volunteer can configure a project's apps by putting a file app_config.xml in the project's directory. This file has the following form:

    Code:
    <app_config>
       <app>
          <name>name</name>
          <max_concurrent>N</max_concurrent>
          <gpu_versions>
              <gpu_usage>.25</gpu_usage>
              <cpu_usage>.1</cpu_usage>
          </gpu_versions>
       </app>
    </app_config>
    <name>: the short name of an application.

    <max_concurrent>: a limit on the number of concurrent jobs for that application.

    <gpu_versions>: the <gpu_usage> and <cpu_usage> elements specify the number of device instances used by GPU app versions. Note: there is no provision for specifying this per GPU type or per device.

    Note2: The placement of the app_config.xml is in its respective project folder, e.g. for WorldCommunityGrid it goes into .\projects\www.worldcommunitygrid.org
    "Don't confront me with my failures, I had not forgotten them" - Jackson Browne

    Avatar source


  2. #2
    Silver Member
    nanoprobe's Avatar
    Join Date
    August 27th, 2012
    Location
    Classified
    Posts
    810

    Re: New BOINC feature to easily run multiple GPU tasks

    I've converted 3 of my machines over to 7.0.42 with the new a_config file. Works great and it now lets me run multiple GPU tasks on my lone surviving XP 32 bit machine. Couldn't get that to work with an app_info. Not even on Win7 32 bit. It's so much easier to configure and you can move it out of and back into the project folder without losing all the tasks in your cache. The real bonus I like is that you can run individual CPU cores on separate projects if you'd like.
    This is the config file I'm using on my XP box to run 2 GPU tasks and 2 SN2S tasks on the CPUs.
    I modified the GPU part of it by removing the max_concurrent line to see if the gpu_usage line would control the amount of tasks running and it worked. Leaving the max_concurrent line in place also worked but I like to experiment.

    <app_config>
    <app>
    <name>hcc1</name>
    <gpu_versions>
    <gpu_usage>.50</gpu_usage>
    <cpu_usage>1.0</cpu_usage>
    </gpu_versions>
    </app>
    <app>
    <name>sn2n</name>
    <max_concurrent>2</max_concurrent>
    </app>
    </app_config>



    You'll never know what you're living for until you know what you're willing to die for.

  3. #3
    Past Administrator
    Fire$torm's Avatar
    Join Date
    October 13th, 2010
    Location
    In the Big City
    Posts
    7,938

    Re: New BOINC feature to easily run multiple GPU tasks

    Looks like I'll have to give this a try. Thanks guys for the info.


    Future Maker? Teensy 3.6

  4. #4
    Silver Member
    kmanley57's Avatar
    Join Date
    May 1st, 2012
    Location
    Colorado
    Posts
    193

    Re: New BOINC feature to easily run multiple GPU tasks

    Upgrading to 7.0.42 got my Sabayon box to see and use the Graphics card in it. Now I can start working on getting it to crunch GPU stuff!!!

    Implemented this on all three of my Windows machines and running Poem now.
    Last edited by kmanley57; 12-19-12 at 06:14 PM.
    BOINC Sees it - BOINC DOES it!



  5. #5
    Administrator
    Al's Avatar
    Join Date
    May 18th, 2011
    Location
    Chapel Hill, NC
    Posts
    6,669

    Re: New BOINC feature to easily run multiple GPU tasks

    I'm using 7.0.42 and the app_config on the MW challenge right now. I'm running mixed systems and doing MW on both nvidia and ati. I have Poem (with it's old app_info) set as backup. I recently found one of the boxes had only one nvidia MW wu left. Interesting that it was running Poem on .5 gpu and mw on .5 gpu, on the same nvidia gpu. I've never seen one gpu run 2 different projects at the same time. Both finished and validated BTW. Has anyone else seen this?

    Also, maybe I read it wrong, but I thought app_info wasn't recognized by 7.0.42...obviously it is according to the event manager.

    12/18/2012 3:12:41 PM | Poem@Home | Found app_info.xml; using anonymous platform
    12/18/2012 3:12:41 PM | Moo! Wrapper | Found app_info.xml; using anonymous platform
    12/18/2012 3:12:41 PM | SETI@home | Found app_info.xml; using anonymous platform
    12/18/2012 3:12:41 PM | Milkyway@Home | Found app_config.xml



  6. #6
    Silver Member
    somanyroads's Avatar
    Join Date
    October 9th, 2011
    Location
    New Mexico, USA
    Posts
    260

    Re: New BOINC feature to easily run multiple GPU tasks

    This thread is about GPU tasks, but 7.0.42 and app_config.xml certainly help control the number of running cpu tasks also. However, there seems to be no change in the ability of 7.0.42 to get work; still have to manually suspend a cpu task or two to download cpu work on another task even though a core is sitting idle. Even Project Updater won't get work for the cpu task that has no work until some other cpu task is suspended. If left alone, will 7.0.42 "learn" to get work for all running tasks?


  7. #7
    Gold Member
    Slicker's Avatar
    Join Date
    October 25th, 2010
    Location
    South of Cheeseland
    Posts
    1,253

    Re: New BOINC feature to easily run multiple GPU tasks

    Quote Originally Posted by somanyroads View Post
    This thread is about GPU tasks, but 7.0.42 and app_config.xml certainly help control the number of running cpu tasks also. However, there seems to be no change in the ability of 7.0.42 to get work; still have to manually suspend a cpu task or two to download cpu work on another task even though a core is sitting idle. Even Project Updater won't get work for the cpu task that has no work until some other cpu task is suspended. If left alone, will 7.0.42 "learn" to get work for all running tasks?
    Maybe. Maybe not. I've had projects sit idle for days even with all other projects suspended. When they got rid of short and long term debts and replaced them with fancier algorithms, BOINC got worse -- as usual. When it comes to BOINC features that get added, it is often the tail wagging the dog. One project wants a change and all others suffer because of it. So, rather than require the project admins to use realistic estimates on the flops for a WU, they decided to make the BOINC client smarter which, as is often the case, created a slew of problems that will be around for a number of versions. 7.0.33 seems to get work OK but 7.0.38 and later have a variety of problems. About the time the get to X.X.50 or higher, they get the kinks worked out. Then they start on a new major release and it starts all over again.
    Spring 2008 Race: (1st Place)

  8. #8
    Silver Member
    kmanley57's Avatar
    Join Date
    May 1st, 2012
    Location
    Colorado
    Posts
    193

    Re: New BOINC feature to easily run multiple GPU tasks

    Came in handy today! Put a second GPU(1-560ti and 1-660ti) in one of my machines and it quit running Moo Wrapper until I put a app_config in for it. Now back to currently running a Wu on both cards.
    BOINC Sees it - BOINC DOES it!



  9. #9
    Silver Member
    nanoprobe's Avatar
    Join Date
    August 27th, 2012
    Location
    Classified
    Posts
    810

    Re: New BOINC feature to easily run multiple GPU tasks

    Quote Originally Posted by Al McAdams View Post

    Also, maybe I read it wrong, but I thought app_info wasn't recognized by 7.0.42...obviously it is according to the event manager.

    12/18/2012 3:12:41 PM | Poem@Home | Found app_info.xml; using anonymous platform
    12/18/2012 3:12:41 PM | Moo! Wrapper | Found app_info.xml; using anonymous platform
    12/18/2012 3:12:41 PM | SETI@home | Found app_info.xml; using anonymous platform
    12/18/2012 3:12:41 PM | Milkyway@Home | Found app_config.xml
    I thought WCG was the only project so far that will not let you run on an anonymous platform with an app_info file on 7.0.42. Is MW@Home now doing the same thing?
    I get the same Found app_info.xml; using anonymous platform in the event viewer for other projects including MW@Home.



    You'll never know what you're living for until you know what you're willing to die for.

  10. #10
    Administrator
    Al's Avatar
    Join Date
    May 18th, 2011
    Location
    Chapel Hill, NC
    Posts
    6,669
    Quote Originally Posted by nanoprobe View Post
    I thought WCG was the only project so far that will not let you run on an anonymous platform with an app_info file on 7.0.42. Is MW@Home now doing the same thing?
    I get the same Found app_info.xml; using anonymous platform in the event viewer for other projects including MW@Home.
    No, I chose to use app_config on mw so I could easily run multiple wus on both nv and ati in the same box. Worked great. I thought the .42 ver didn't recognize app_info anymore. My mistake.



Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •