Page 1 of 2 12 LastLast
Results 1 to 25 of 29

Thread: Question about crunching with CPU and GPU

  1. #1
    Xtreme Enthusiast
    Join Date
    Sep 2005
    Location
    Louisiana
    Posts
    1,039

    Question Question about crunching with CPU and GPU

    I just got done installing a new ATI video card so I can crunch with GPU also. Computer is crunching 3 work units on the CPU and one on GPU. Is this the way it is supposed to work? I thought it would be 4 on CPU (quad core) and ??? on GPU...

    Q6700
    7950

  2. #2
    Xtreme crazy bastid
    Join Date
    Apr 2007
    Location
    On mah murder-sickle!
    Posts
    5,878
    The GPU still requires some CPU resources to handle moving data around and general management type stuff as well as sending and receiving new work. There's various app_info (or something like that) files people are using to maximise their GPU production and leaving the CPU to handle all the general purpose stuff. In other words, they're doing most if not all their crunching on the GPU and just using the CPU for support tasks.

    [SIGPIC][/SIGPIC]

  3. #3
    Xtreme Enthusiast
    Join Date
    Sep 2005
    Location
    Louisiana
    Posts
    1,039
    Quote Originally Posted by D_A View Post
    The GPU still requires some CPU resources to handle moving data around and general management type stuff as well as sending and receiving new work. There's various app_info (or something like that) files people are using to maximise their GPU production and leaving the CPU to handle all the general purpose stuff. In other words, they're doing most if not all their crunching on the GPU and just using the CPU for support tasks.
    That sounds like I'd have to go to strictly HCC to do it that way. I run a mixture of projects (almost everything!). Do I just leave my computer running as it is?

  4. #4
    Xtreme X.I.P.
    Join Date
    Jan 2008
    Posts
    727
    That sounds like I'd have to go to strictly HCC to do it that way. I run a mixture of projects (almost everything!). Do I just leave my computer running as it is?
    David the app_config can be set to run 2, 3 or 4 GPU WUs. The numbers you input in app_config will regulate whether you run all GPU WUs or a mixture of GPU and CPU WUs. The choice is yours to make. GPU crunching is much more efficient and a better use of your available resources. There is only ~ 80 days or less worth of ati_hcc1 WUs left. You should consider maximizing your results inputs by going all out for GPU WUs. You can always return to the CPU projects after the GPU WU bonanza is exhausted.

    In summary: If you wish to continue with crunching 3 CPU WUs and 1 GPU WUs do nothing.
    If you wish to go all GPU or do a 2x2 or 3x1 GPU to CPU split then post what you desire.

    Folks will then generate a pertinent app_config file and guide you on how to insert it into the appropriate BOINC folder.
    Have fun with your new 7950... It is a very good crunching video card.


  5. #5
    Xtreme Enthusiast
    Join Date
    Sep 2005
    Location
    Louisiana
    Posts
    1,039
    Quote Originally Posted by jeanguy2 View Post
    David the app_config can be set to run 2, 3 or 4 GPU WUs. The numbers you input in app_config will regulate whether you run all GPU WUs or a mixture of GPU and CPU WUs. The choice is yours to make. GPU crunching is much more efficient and a better use of your available resources. There is only ~ 80 days or less worth of ati_hcc1 WUs left. You should consider maximizing your results inputs by going all out for GPU WUs. You can always return to the CPU projects after the GPU WU bonanza is exhausted.

    In summary: If you wish to continue with crunching 3 CPU WUs and 1 GPU WUs do nothing.
    If you wish to go all GPU or do a 2x2 or 3x1 GPU to CPU split then post what you desire.

    Folks will then generate a pertinent app_config file and guide you on how to insert it into the appropriate BOINC folder.
    Have fun with your new 7950... It is a very good crunching video card.
    OK. Thank you for clarifying that for me. If someone can tell me how to do all GPU work units while there are still some left to crunch, that's what I'll do.

  6. #6
    Xtreme Legend
    Join Date
    Mar 2008
    Location
    Plymouth (UK)
    Posts
    5,279
    David, it is fairly straightforward, what you need is an app_config file. EDIT: FOR APP_CONFIG YOU NEED TO RUN BOINC 7.0.42 OR LATER !! Select the one for your os on this page: http://boinc.berkeley.edu/download_all.php There are advantages to using 7.0.54 or later.

    Users should be aware that due to the lack of driver support, namely open cl support, AMD 7xxx cards will not crunch using Windows XP.



    Here is one that I use on a q6600. I have also used the same on 3770K

    <app_config>
    <app>
    <name>hcc1</name>
    <max_concurrent>16</max_concurrent>
    <gpu_versions>
    <gpu_usage>0.0625</gpu_usage>
    <cpu_usage>0.25</cpu_usage>
    </gpu_versions>
    </app>

    <app>
    <name>beta</name>
    <max_concurrent>16</max_concurrent>
    <gpu_versions>
    <gpu_usage>0.0625</gpu_usage>
    <cpu_usage>0.25</cpu_usage>
    </gpu_versions>
    </app>

    </app_config>

    copy this into notepad then save it in the following folder: program data> Boinc> projects> www.worldcommunitygrid.org ensuring you select the "all files" option in the "save as type" box. Name the file app_config.xml

    Unless you changed it already files and folders like this are hidden. Unhide them to get this done: (in search box type folder options and select that from results> you will see this



    As in the highlighted area select show hidden files and folders)

    When you stop and re-start boinc this should then start working on 16 wu's running concurrently on your graphics card but your rig may have a number of other projects waiting to run. Go to your my grid page and change your profile to stop cpu work then abort any cpu tasks you may have in cache.

    To get the best out of your rig it is necessary to spend some time separating in time the concurrent wu's so that they are all at a different stage of completion at any one time. May I suggest a figure of around 50 seconds to start with until you get a feel for how your rig is performing. It is the figure I use on a CPU @ 3.3, Gpu @ 1300 Rig. (If you run an overclocked 3770K or 2600K make this 40 seconds) Unfortunately this is not an exact science and you may find that, over time, the wu's tend to group together. If you are one that wants absolute best performance it is necessary to re-allign regularly (daily) or after you use graphics for anything else like watching vids

    You may want to experiment with how many wu's to run concurrently so here is a little insight as to what each figure in the config file is doing

    <app>
    <name>hcc1</name>
    <max_concurrent>16</max_concurrent>This is the total number of hcc1 wu's running at any one time on your RIG
    <gpu_versions>
    <gpu_usage>0.0625</gpu_usage>This is 1 divided by the number of wu's you wish to run on a CARD
    <cpu_usage>0.25</cpu_usage>This is the number of cores/threads on your cpu that you wish to give to the GPU work divided by the number of GPU wu's you wish to run concurrently on the RIG
    </gpu_versions>
    </app>


    Feel free to ask any question if I have been unclear on something
    Last edited by OldChap; 03-08-2013 at 04:11 PM.


    My Biggest Fear Is When I die, My Wife Sells All My Stuff For What I Told Her I Paid For It.
    79 SB threads and 32 IB Threads across 4 rigs 111 threads Crunching!!

  7. #7
    Xtreme X.I.P.
    Join Date
    Jan 2008
    Posts
    727
    Excellent post OC... This should be made into a sticky for easy reference to by all Xtremers wanting to get into GPU crunching with the app_config method


  8. #8
    Registered User
    Join Date
    Feb 2013
    Location
    Middle Earth
    Posts
    208
    OldChap - where would I save the app_config.xml file if I am using Linux? Thanks.


    "I refuse to answer that question on the grounds that I don't know the answer" [Douglas Adams (11 March 1952 - 11 May 2001)]

  9. #9
    Xtreme Legend
    Join Date
    Mar 2008
    Location
    Plymouth (UK)
    Posts
    5,279
    Same place, in the projects folder.

    I don't have one running just now but I seem to recall that Boinc in Linux is not dissimilar to windows and finding it was quite intuitive.


    My Biggest Fear Is When I die, My Wife Sells All My Stuff For What I Told Her I Paid For It.
    79 SB threads and 32 IB Threads across 4 rigs 111 threads Crunching!!

  10. #10
    Xtreme Enthusiast
    Join Date
    Sep 2005
    Location
    Louisiana
    Posts
    1,039
    Thanks OC! I'm going to see if I can get this figured out tonight.

  11. #11
    Xtreme Enthusiast
    Join Date
    Sep 2005
    Location
    Louisiana
    Posts
    1,039
    Quote Originally Posted by OldChap View Post
    David, it is fairly straightforward, what you need is an app_config file. EDIT: FOR APP_CONFIG YOU NEED TO RUN BOINC 7.0.42 OR LATER !!




    Here is one that I use on a q6600:

    <app_config>
    <app>
    <name>hcc1</name>
    <max_concurrent>16</max_concurrent>
    <gpu_versions>
    <gpu_usage>0.0625</gpu_usage>
    <cpu_usage>0.25</cpu_usage>
    </gpu_versions>
    </app>

    <app>
    <name>beta</name>
    <max_concurrent>16</max_concurrent>
    <gpu_versions>
    <gpu_usage>0.0625</gpu_usage>
    <cpu_usage>0.25</cpu_usage>
    </gpu_versions>
    </app>

    </app_config>

    copy this into notepad then save it in the following folder: program data> Boinc> projects> www.worldcommunitygrid.org ensuring you select the "all files" option in the "save as type" box. Name the file app_config.xml

    When you stop and re-start boinc this should then start working on 16 wu's running concurrently on your graphics card but your rig may have a number of other projects waiting to run. Go to your my grid page and change your profile to stop cpu work then abort any cpu tasks you may have in cache.

    To get the best out of your rig it is necessary to spend some time separating in time the concurrent wu's so that they are all at a different stage of completion at any one time. May I suggest a figure of around 50 seconds to start with until you get a feel for how your rig is performing. It is the figure I use on a CPU @ 3.3, Gpu @ 1300 Rig. Unfortunately this is not an exact science and you may find that, over time, the wu's tend to group together. If you are one that wants absolute best performance it is necessary to re-allign regularly (daily) or after you use graphics for anything else like watching vids

    You may want to experiment with how many wu's to run concurrently so here is a little insight as to what each figure in the config file is doing

    <app>
    <name>hcc1</name>
    <max_concurrent>16</max_concurrent>This is the total number of hcc1 wu's running at any one time on your RIG
    <gpu_versions>
    <gpu_usage>0.0625</gpu_usage>This is 1 divided by the number of wu's you wish to run on a CARD
    <cpu_usage>0.25</cpu_usage>This is the number of cores/threads on your cpu that you wish to give to the GPU work divided by the number of wu's you wish to run concurrently
    </gpu_versions>
    </app>


    Feel free to ask any question if I have been unclear on something#800080

    Evidently I'm not smart enough to do this. I had to Google how to find the BOINC versions and the program data stuff. Managed to get 7.4.52 installed IN ADDITION TO 6.10.58. Don't think I got all that stuff saved into the program data file either. I put this video card in a computer with Vista Ultimate 64 that I use for nothing but crunching. I'm not as familiar with Vista as I am XP. XP is on the computer I actually use for something other than crunching. I'll try again someday when I have more time.

  12. #12
    Xtreme Member
    Join Date
    Jul 2012
    Posts
    219
    I had a helluva time trying to get AMD drivers for the 7770 installed on vista. Ultimately failed and used linux instead.
    Richland 6790K @ 4.713 Ghz / 2208 NB / 1123 gpu / 2304 Ram [96 Bclk]
    F2A85-M Pro, Mushkin Black 2133, iGPU (8760D)
    9.7L case (excluding 230mm fan) or 11.6L w/2nd rad fan

  13. #13
    Xtreme Legend
    Join Date
    Mar 2008
    Location
    Plymouth (UK)
    Posts
    5,279
    It seems I presume too much..... I have added some more to that how-to so that maybe more folks can use it.

    I'm afraid I cannot help with drivers. Having never had an issue installing or updating I have not had to resolve any problems...thus I have no experience to add.


    My Biggest Fear Is When I die, My Wife Sells All My Stuff For What I Told Her I Paid For It.
    79 SB threads and 32 IB Threads across 4 rigs 111 threads Crunching!!

  14. #14
    Xtreme Enthusiast
    Join Date
    Sep 2005
    Location
    Louisiana
    Posts
    1,039
    Quote Originally Posted by OldChap View Post
    It seems I presume too much..... I have added some more to that how-to so that maybe more folks can use it.

    I'm afraid I cannot help with drivers. Having never had an issue installing or updating I have not had to resolve any problems...thus I have no experience to add.
    Your edit did help but still no joy. I'm off tomorrow so I'll have more time. I'll try again then. Thanks for the help.

  15. #15
    Xtreme Enthusiast
    Join Date
    Sep 2005
    Location
    Louisiana
    Posts
    1,039
    I finally got it OC! Currently have 16 GPU work units running. It does look strange with only one project showing up though. I normally run several projects.
    Thanks for the help.

  16. #16
    Xtreme Legend
    Join Date
    Mar 2008
    Location
    Plymouth (UK)
    Posts
    5,279
    That's what I like to hear


    My Biggest Fear Is When I die, My Wife Sells All My Stuff For What I Told Her I Paid For It.
    79 SB threads and 32 IB Threads across 4 rigs 111 threads Crunching!!

  17. #17
    XSDCMF
    Join Date
    Nov 2002
    Location
    Las Vegas Nevada
    Posts
    5,473
    Sooo, what are the odds that WCG will use GPUs again in the near future? I just got my old (ish) dually back up, running and crunching and thinking that maybe it is time for a semi-decent GPU, especially if it can help knock out some WUs. Was initially thinking a 7770, but am now leaning towards a 7850. The thing just seems like it would do a lot more WUs with 1024 stream processors vs 640.
    Crunching to Crush Cancer
    Somebody, Stop Me!



  18. #18
    Xtreme Member
    Join Date
    Mar 2009
    Location
    Naples FL
    Posts
    206
    Quote Originally Posted by [XC] serlv View Post
    Sooo, what are the odds that WCG will use GPUs again in the near future? I just got my old (ish) dually back up, running and crunching and thinking that maybe it is time for a semi-decent GPU, especially if it can help knock out some WUs. Was initially thinking a 7770, but am now leaning towards a 7850. The thing just seems like it would do a lot more WUs with 1024 stream processors vs 640.
    Next it will be a 7950 lol.

  19. #19
    XSDCMF
    Join Date
    Nov 2002
    Location
    Las Vegas Nevada
    Posts
    5,473
    Heh. Close to $200 is a stretch for me these days. I used to sink a lot of $$ into crunchers, was running 25 of them at one time. But I don't seem to have the cash for that kind of crunching anymore. Not even close.
    Haven't crunched in a while. I was number 2 on the team for years, but have barely been doing anything for a while. Was shocked to see I'd dropped to #16. Jeez! LOL
    So now I'm just thinking of maximizing this rig I just got back up and running. Would a 7850 do any damage with a dual Harperton?
    Crunching to Crush Cancer
    Somebody, Stop Me!



  20. #20
    Xtreme crazy bastid
    Join Date
    Apr 2007
    Location
    On mah murder-sickle!
    Posts
    5,878
    Scott, I think you will be on a scale somewhere between "pleasantly surprised" and "outright shocked" at what a half decent GPU will do compared to what was not so long ago top tier CPU hardware.

    [SIGPIC][/SIGPIC]

  21. #21
    Xtreme Member
    Join Date
    Nov 2004
    Location
    Czech Rep - in the middle Europa
    Posts
    106
    Hi guys, can someone look at my config files and tell me, why always computing with 1 Wu per 1 gpu? thank you


    http://extreme.overclocker.sweb.cz/wcg/App.gif
    http://extreme.overclocker.sweb.cz/wcg/cc%20conig.gif
    http://extreme.overclocker.sweb.cz/wcg/pojects.gif
    http://extreme.overclocker.sweb.cz/wcg/snap.gif

    My system- Alienware m17xR3 with 2670qm, Ati 6970m gpu and 8Gb memory.
    Last edited by ex.treme; 04-01-2013 at 04:42 AM.
    o/c und u/c is my fun
    Undervolting rulezz. Gigabyte Z68XP-UD4+ i2500k@3GHz@1.000v+ next extra low voltage settings, CM Hyper 212+, Gigabyte HD7750 2GB DDR3+Sapphire 7750 Oc 1GB DDR5, 2x4GB Corsair DDR3 1600@1.3v, Samsung 1TB-F3, Thermaltake Armor Jr.,2x120 Revoltec,Zalman Fan mate2, FSP Aurum 400w GOLD, 59w idle. WCG 2x gpu load- 85w,
    Seti@home benchmark

  22. #22
    HWiNFO Author
    Join Date
    Apr 2006
    Location
    /dev/null
    Posts
    801
    Your app_config.xml seems to lack the closing tag:
    </app_config>

    Also post which BOINC version are you using.

    Quote Originally Posted by ex.treme View Post
    Hi guys, can someone look at my config files and tell me, why always computing with 1 Wu per 1 gpu? thank you


    http://extreme.overclocker.sweb.cz/wcg/App.gif
    http://extreme.overclocker.sweb.cz/wcg/cc%20conig.gif
    http://extreme.overclocker.sweb.cz/wcg/pojects.gif
    http://extreme.overclocker.sweb.cz/wcg/snap.gif

    My system- Alienware m17xR3 with 2670qm, Ati 6970m gpu and 8Gb memory.

  23. #23
    Xtreme Legend
    Join Date
    Mar 2008
    Location
    Plymouth (UK)
    Posts
    5,279
    Pic shows 7.0.28.

    yep the app_config is incomplete.

    In order to run app config you need to update to the latest Boinc beta to get it running with a few other benefits too.

    Take a look at http://www.xtremesystems.org/forums/...estions-thread and post further questions there please.


    My Biggest Fear Is When I die, My Wife Sells All My Stuff For What I Told Her I Paid For It.
    79 SB threads and 32 IB Threads across 4 rigs 111 threads Crunching!!

  24. #24
    Xtreme Member
    Join Date
    Nov 2004
    Location
    Czech Rep - in the middle Europa
    Posts
    106
    Ouch my fault, i was copy and bad paste from your config up there. Why is there the beta name?

    <app_config>
    <app>
    <name>hcc1</name>
    <max_concurrent>16</max_concurrent>
    <gpu_versions>
    <gpu_usage>0.0625</gpu_usage>
    <cpu_usage>0.25</cpu_usage>
    </gpu_versions>
    </app>

    <app>
    <name>beta</name>
    <max_concurrent>16</max_concurrent>
    <gpu_versions>
    <gpu_usage>0.0625</gpu_usage>
    <cpu_usage>0.25</cpu_usage>
    </gpu_versions>
    </app>

    </app_config>

    Last Boinc 7.0.59 i give it try. With Boinc 7.0.28 i can run only 1Wu/ 1 gpu?

    One more question:
    Do you think guys i can improve points with settings like Oldchap has- more wu's per gpu?

    My main system:
    Gigabyte Z68XP-UD4+ i2500k, 2xHD 7750, 2x4GB Corsair DDR3 1600. Cpu has only 4 cores, no HT.

    One HD 7750 make one Wu about 5 minutes.

    Thank you.
    o/c und u/c is my fun
    Undervolting rulezz. Gigabyte Z68XP-UD4+ i2500k@3GHz@1.000v+ next extra low voltage settings, CM Hyper 212+, Gigabyte HD7750 2GB DDR3+Sapphire 7750 Oc 1GB DDR5, 2x4GB Corsair DDR3 1600@1.3v, Samsung 1TB-F3, Thermaltake Armor Jr.,2x120 Revoltec,Zalman Fan mate2, FSP Aurum 400w GOLD, 59w idle. WCG 2x gpu load- 85w,
    Seti@home benchmark

  25. #25
    Xtreme Legend
    Join Date
    Mar 2008
    Location
    Plymouth (UK)
    Posts
    5,279
    The Beta app was included for folks that are chasing beat badges only.

    The only way to find out how many concurrent wu's to run is trial end error. I would try 4 on your card and then try 8 then 12 etc. each time let it run for a while to observe both points and the separation behaviour.

    Your rig can handle it. I have a 7950 on a q6600. Not sure what to expect from that card.

    More wu's does not mean more points but for me it does mean that in general the separation lasts longer.


    My Biggest Fear Is When I die, My Wife Sells All My Stuff For What I Told Her I Paid For It.
    79 SB threads and 32 IB Threads across 4 rigs 111 threads Crunching!!

Page 1 of 2 12 LastLast

Bookmarks

Bookmarks

Posting Permissions

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