dslreports logo
site
 
    All Forums Hot Topics Gallery
spc

spacer




how-to block ads


Search Topic:
uniqs
5
share rss forum feed


SrsBsns

join:2001-08-30
Oklahoma City, OK
reply to Nanoprobe

Re: HCC GPU app close to going live IT HAS LAUNCHED

What does the avg_ncpus and max_ncpus command do in the app_info.xml files?

I run GPU crunching only and not sure if they are needed. I cant seem to wrap my head around what they do.



glennaxl
Premium
join:2007-02-16
Zion
kudos:1

said by SrsBsns:

What does the avg_ncpus and max_ncpus command do in the app_info.xml files?

I run GPU crunching only and not sure if they are needed. I cant seem to wrap my head around what they do.

You should stop using app_info but instead use app_config.

app_config.xml (example if you have 7970 & 8 core CPU):
<app_config>
<app>
<name>hcc1</name>
<max_concurrent>10</max_concurrent>
<gpu_versions>
<gpu_usage>.10</gpu_usage>
<cpu_usage>.8</cpu_usage>
</gpu_versions>
</app>
</app_config>
 

Nanoprobe See Profile and I, have been running 10 instances on our 7970 with 8 core cpu.

To answer your question, avg_ncpus and max_ncpus, they are used for allocating CPU %. So to run 10 instance on an 8 core cpu, your ave and max would be .80


Nanoprobe
Looking for cures in memory of Mom
Premium
join:2003-05-11
Crab Nebula
kudos:2
Reviews:
·magicjack.com
·Skype
reply to SrsBsns

Just an FYI. If you want to run an app_config file that allows you to run multiple GPU tasks at the same time you'll have to upgrade your version of boinc to 7.0.42. It will not work with any version lower than that. It's very simple to set up if you'd like to try it and I can give you easy to follow instructions. All I need to know is your OS, type of video card and size of PSU.



DadeMurphy
Premium
join:2002-07-25
Danvers, MA

Since I had a power outage today I decided to change over from an app_info setup to an app_config setup. I used the configuration below, let me know what you think.

<app_config>
<app>
<name>hcc1</name>
<max_concurrent>10</max_concurrent>
<gpu_versions>
<gpu_usage>.2</gpu_usage>
<cpu_usage>.8</cpu_usage>
</gpu_versions>
</app>
</app_config>
 

System hardware

Intel Core i7 2600K
2 x ATI Radeon HD7950
16GB RAM

Also tomorrow I'm going to be installing a GTX 580 into my workstation, it's a dual Xeon E5440 box with 12GB of RAM. I'm thinking since the Nvidia line is so much weaker in the compute space that this box will likely run a mix of gpu and cpu tasks. What are your thoughts?

--
Most people don't think clearly when they're on fire.


glennaxl
Premium
join:2007-02-16
Zion
kudos:1

said by DadeMurphy:

Since I had a power outage today I decided to change over from an app_info setup to an app_config setup. I used the configuration below, let me know what you think.

<app_config>
<app>
<name>hcc1</name>
<max_concurrent>10</max_concurrent>
<gpu_versions>
<gpu_usage>.2</gpu_usage>
<cpu_usage>.8</cpu_usage>
</gpu_versions>
</app>
</app_config>
 

System hardware

Intel Core i7 2600K
2 x ATI Radeon HD7950
16GB RAM

Also tomorrow I'm going to be installing a GTX 580 into my workstation, it's a dual Xeon E5440 box with 12GB of RAM. I'm thinking since the Nvidia line is so much weaker in the compute space that this box will likely run a mix of gpu and cpu tasks. What are your thoughts?

Your app_config looks good as a starting point. Increase as needed. You will probably end up running 7 instances for each gpu.

For your workstation, you can use this:
<app_config>
<app>
<name>hcc1</name>
<max_concurrent>2</max_concurrent>
<gpu_versions>
<gpu_usage>.50</gpu_usage>
<cpu_usage>1</cpu_usage>
</gpu_versions>
</app>
</app_config>
 

In my experience with 580, 2 was the max.


Nanoprobe
Looking for cures in memory of Mom
Premium
join:2003-05-11
Crab Nebula
kudos:2
Reviews:
·magicjack.com
·Skype

2 edits
reply to DadeMurphy

Does that app-config give you 5 or 10 tasks on each card?

Probably a good call on the 580. Maybe a 50/50 split on the CPU cores for starters and then some trial and error to find the best mix.
EDIT: Glenn knows about Nvidia. Follow his lead on the tasks for that card. You can add code to his proposed app_config file to split up your remaining CPU cores on other tasks any way you'd like.



glennaxl
Premium
join:2007-02-16
Zion
kudos:1

said by Nanoprobe:

Does that app-config give you 5 or 10 tasks on each card?

Its should be 5 per card.

On my dual 7970, I have this app_config which runs 9 per card:
<app_config>
<app>
<name>hcc1</name>
<max_concurrent>18</max_concurrent>
<gpu_versions>
<gpu_usage>.11</gpu_usage>
<cpu_usage>.66</cpu_usage>
</gpu_versions>
</app>
</app_config>
 


DadeMurphy
Premium
join:2002-07-25
Danvers, MA
reply to Nanoprobe

glennaxl got it right, the config I'm using gives me 5 per card for 10 total.

I'm going to try out running 2 gpu tasks on my card and 5 cpu tasks on my workstation (The system with the gtx580). This will leave one core unloaded on my workstation and should give me a very good balance of WUs processed/system responsiveness (this is my main work rig and I don't want it to bog down on me).
--
Most people don't think clearly when they're on fire.



SrsBsns

join:2001-08-30
Oklahoma City, OK

1 edit
reply to Nanoprobe

Click for full size
said by Nanoprobe:

Just an FYI. If you want to run an app_config file that allows you to run multiple GPU tasks at the same time you'll have to upgrade your version of boinc to 7.0.42. It will not work with any version lower than that. It's very simple to set up if you'd like to try it and I can give you easy to follow instructions. All I need to know is your OS, type of video card and size of PSU.

I'm running Win 7 x64 Enterprise with two 7970Ghz editions and a 1200 watt PSU.

This is my current config using BOINC 7.0.28 and it seems to be working with 6 GPU tasks per card. I did this because I have a 3930K so there is one task per CPU thread. I only want to crunch on the video cards.

Please let me know what I should change.


glennaxl
Premium
join:2007-02-16
Zion
kudos:1

@SrsBsns

1: Set the project to "No new task"
2: Quit BOINC
3: Edit app_info.xml
4: Set avg_ncpus = .75
5: Set max_ncpus = .75
6: count = .12
7: Save
8: Run BOINC

Once you run out if task, rename app_info.xml to app_info.old

Since you only want to crunch on GPU, make sure your Device Profile is set accordingly. »secure.worldcommunitygrid.org/ms···vices.do

Upgrade your BOINC to version 7.0.42
Run BOINC
Check if you have GPU Task
If you have, create projects\www.worldcommunitygrid.org\app_config.xml

app_config.xml (Contents):
<app_config>
<app>
<name>hcc1</name>
<max_concurrent>18</max_concurrent>
<gpu_versions>
<gpu_usage>.11</gpu_usage>
<cpu_usage>.66</cpu_usage>
</gpu_versions>
</app>
</app_config>