How do I get my video card to process more work units?

Message boards : Number crunching : How do I get my video card to process more work units?
Message board moderation

To post messages, you must log in.

AuthorMessage
ensignandy

Send message
Joined: 23 Jan 16
Posts: 30
Credit: 974,656
RAC: 0
Canada
Message 1771384 - Posted: 13 Mar 2016, 16:35:02 UTC

Hello there,

I recently came across a thread that taught me about Lunatics and how it could optimize performance with SETI. I installed the latest version (0.44) and set the options that were pertinent to my hardware and driver versions. I have noticed that I can run tasks more efficiently now, as CPU tasks seem to take about a half hour less time (perhaps that was just because of the type of task, but it was consistent across all of the tasks that had been running simultaneously), and my GPU tasks require only .04 CPUS instead of .225. I was hoping to see that I would end up running more tasks concurrently on my GPU, but I am not sure if that is happening.

Can anyone help me understand what to change to get that to happen, or even if it is possible with my hardware?

And I would also like to know why suddenly, after installing Lunatics, why the estimated remaining time for tasks has suddenly sky rocketed to many extra hours, even though it doesn't actually take that long?

Thanks!
ID: 1771384 · Report as offensive
Profile Zalster Special Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 27 May 99
Posts: 5517
Credit: 528,817,460
RAC: 242
United States
Message 1771389 - Posted: 13 Mar 2016, 16:51:54 UTC - in response to Message 1771384.  
Last modified: 13 Mar 2016, 16:52:38 UTC

The estimates are like that because it takes at least 11 validated results for the times to come back down to a reasonable estimate and right now it's starting from scratch so to speak once you installed the Lunatics.

The easy way to change the number of instances is with a app_config.xml which also goes into the same setiathome folder on your computer.

I'm going to let someone else post theirs as the one I've been giving out seems to have issues for whatever reason.

The other option is to manually go through the app_info and change the ratios for each type of work unit you want.

Lastly, even though it may say 0.04 CPU on the BOINC Manager (a value assigned to it by lunatics), it probably is more than that (usually it's around 0.22-0.25 CPU except for Astropulses which are around 0.04)

To know how much CPU you are actually using you would need something like Boinc Tasks that shows you actual CPU usage per work unit.

Before all that though, do you know where the setiathome folder is located? Usually it is a hidden folder so you need to unhide it first.

Then you will need to located it.

After that, you will need to know how to make an XML folder or how to edit the app_info.xml if you choose that route.
ID: 1771389 · Report as offensive
ensignandy

Send message
Joined: 23 Jan 16
Posts: 30
Credit: 974,656
RAC: 0
Canada
Message 1771434 - Posted: 13 Mar 2016, 21:34:17 UTC - in response to Message 1771389.  

Thanks for the reply Zalster

I'm sure I can track down the setiathome folder with no problem, and I know how to edit files. I just don't yet know what to edit inside the file, but I imagine it shouldn't be hard to figure out. I've seen some other people's posted files, but haven't really looked through them to understand what all of the terminology means. If someone could explain that to me when they post a file, that would be immensely helpful.

Thanks for that info, and I am glad to hear that the estimated time will settle back down after a few more verified tasks.
ID: 1771434 · Report as offensive
Profile Brent Norman Crowdfunding Project Donor*Special Project $75 donorSpecial Project $250 donor
Volunteer tester

Send message
Joined: 1 Dec 99
Posts: 2786
Credit: 685,657,289
RAC: 835
Canada
Message 1771446 - Posted: 13 Mar 2016, 22:05:56 UTC - in response to Message 1771434.  

I would start with an app_config.xml similar to:
<app_config>

<app>
<name>setiathome_v7</name>
<gpu_versions>
<gpu_usage>0.4</gpu_usage>
<cpu_usage>0.4</cpu_usage>
</gpu_versions>
</app>

<app>
<name>setiathome_v8</name>
<gpu_versions>
<gpu_usage>0.4</gpu_usage>
<cpu_usage>0.4</cpu_usage>
</gpu_versions>
</app>

<app>
<name>astropulse_v7</name>
<gpu_versions>
<gpu_usage>0.6</gpu_usage>
<cpu_usage>0.4</cpu_usage>
</gpu_versions>
</app>

</app_config>


REMEMBER this is a TEXT file, so use notepad to edit/create it.
ID: 1771446 · Report as offensive
ensignandy

Send message
Joined: 23 Jan 16
Posts: 30
Credit: 974,656
RAC: 0
Canada
Message 1771470 - Posted: 14 Mar 2016, 0:28:05 UTC - in response to Message 1771446.  
Last modified: 14 Mar 2016, 0:31:15 UTC

Hi Brent,

Thanks for replying.

Can you tell me what this file and the individual settings will do specifically, please? I'd like to know, so that I may modify them to suit my usage if needed.

Thanks!
ID: 1771470 · Report as offensive
Profile BilBg
Volunteer tester
Avatar

Send message
Joined: 27 May 07
Posts: 3720
Credit: 9,385,827
RAC: 0
Bulgaria
Message 1771474 - Posted: 14 Mar 2016, 1:00:08 UTC - in response to Message 1771470.  
Last modified: 14 Mar 2016, 1:10:54 UTC

Can you tell me what this file and the individual settings will do specifically

Read:
app_config.xml

The posted version will do one of the following combinations (only for GPU tasks):
2 SETI@home tasks (<gpu_usage>0.4</gpu_usage> so 0.4 + 0.4 < 1)
1 AstroPulse + 1 SETI@home tasks (0.6 + 0.4 = 1 GPU)
1 AstroPulse task (if no GPU SETI@home tasks exist)

<cpu_usage>0.4</cpu_usage> will do nothing:
as only 2 GPU tasks run 0.4 + 0.4 = 0.8 = 0 = no CPU core will be free
The sum have to be >= 1 for BOINC to run one less CPU task
 
 


- ALF - "Find out what you don't do well ..... then don't do it!" :)
 
ID: 1771474 · Report as offensive
ensignandy

Send message
Joined: 23 Jan 16
Posts: 30
Credit: 974,656
RAC: 0
Canada
Message 1779715 - Posted: 16 Apr 2016, 20:51:53 UTC - in response to Message 1771474.  

Hi BilBg

I finally got around to trying to implement the app_config that was posted by Brent. I think I understand how it works, and as soon as I had the BOINC Manager read the configuration file, it started another GPU task right away. I am currently seeing 7 seti@home v8 CPU tasks and 2 seti@home v8 GPU tasks being executed at once.

Thanks for supplying me with that website. It really helped to detail what each part of the file does.

The only thing I am still curious about is that, now that I have began using the file, my GPU tasks show that they require 0.4 CPUS to run instead of the 0.04 that it used to say from when I installed Lunatics.

I imagine that this is because of the entry in each app sub-heading of the app_config file that reads <cpu_usage>0.4</cpu_usage>. Am I correct in assuming this? If I were to change this to 0.04 to match what I was getting before, will that drop the performance I am able to contribute or is it completely arbitrary?

Also can you expand on why <cpu_usage>0.4</cpu_usage> does nothing? I am hoping that only 1 CPU core can be used to run both GPU tasks. I think that is what is happening now, but I am uncertain how.

Thanks again for all of your help, and sorry it took so long to try this out.
ID: 1779715 · Report as offensive
Profile Zalster Special Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 27 May 99
Posts: 5517
Credit: 528,817,460
RAC: 242
United States
Message 1779729 - Posted: 16 Apr 2016, 21:50:11 UTC - in response to Message 1779715.  

I'd leave it.

0.04 is good for APs but MB usually require about 0.2 CPU despite what is written in the Lunatics app_info.xml

If you have the CPU to spare it will not harm. Even if you put 0.04 in there,the computer will use what it requires (0.2CPU) to crunch that work.
ID: 1779729 · Report as offensive
Profile Brent Norman Crowdfunding Project Donor*Special Project $75 donorSpecial Project $250 donor
Volunteer tester

Send message
Joined: 1 Dec 99
Posts: 2786
Credit: 685,657,289
RAC: 835
Canada
Message 1779746 - Posted: 16 Apr 2016, 22:11:58 UTC - in response to Message 1779715.  

the 0.4 or 0.04 are really meaningless if you are only running 2 tasks on your GPU

<gpu_usage>0.4</gpu_usage>
<cpu_usage>0.4</cpu_usage>

0.4 gpu usage means, use 0.4 of gpu for each task, 0.4 + 0.4 = 0.8, there is not enough room to start another task since that would be greater that 1 (1.2 gpu's required)

much the same for CPU, it is used to reserve CPU cores (not cpu usage) so if you are running 2 tasks it reserve 0.4 +0.4 (0.8) so is won't shut down a CPU core for processing GPU tasks. If you were to change that to 0.5, it would shutdown a core for the GPU task since it =1.
ID: 1779746 · Report as offensive
ensignandy

Send message
Joined: 23 Jan 16
Posts: 30
Credit: 974,656
RAC: 0
Canada
Message 1779955 - Posted: 17 Apr 2016, 21:00:02 UTC - in response to Message 1779746.  

Awesome, thanks to everyone for giving me all of this info.

I have a pretty good understanding now of how the app config file works and I think I am getting some pretty good performance out of my computer.

Happy Crunching!
ID: 1779955 · Report as offensive

Message boards : Number crunching : How do I get my video card to process more work units?


 
©2024 University of California
 
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.