How to manage switch between tasks?

Message boards : Number crunching : How to manage switch between tasks?
Message board moderation

To post messages, you must log in.

AuthorMessage
Profile David@home
Volunteer tester

Send message
Joined: 16 Jan 03
Posts: 680
Credit: 2,381,335
RAC: 25,050
United Kingdom
Message 1888595 - Posted: 8 Sep 2017, 12:34:45 UTC

I would like to add a second project and allocate one CPU to POGS and eleven CPUs and one GPU to SETI@home (Intel six core processor, single graphics card).

I do not want BOINC manager switching tasks and leaving others suspended so to do this do I:

Set Switch between tasks every N minutes to 0 in BOINC manager - will this stop the suspend and resume cycle and let the active work unit run to completion?

Set SETI@home Resource Share to 923 and POGS Resource Share to 77?

I think that should average out to 1/12th total CPU capacity and no GPU to POGS without switching work units in and out. Would like to check before I change my settings and POGS downloads a lot of work units.

Many thanks
ID: 1888595 · Report as offensive     Reply Quote
Profile DarrellProject Donor
Volunteer tester
Avatar

Send message
Joined: 14 Mar 03
Posts: 267
Credit: 1,371,727
RAC: 327
United States
Message 1888621 - Posted: 8 Sep 2017, 14:46:58 UTC - in response to Message 1888595.  
Last modified: 8 Sep 2017, 14:48:42 UTC

Switching between task every X minutes, the X must be a positive number greater than zero. So look at your tasks results and see what the longest time a task takes to complete and set the number of minutes to a value greater than that. You have a 12 core processor, so to run 11 Seti tasks take 11/12 = 0.9166667, so go to your Seti project preferences on the Seti website and set your resource share for Seti to 90% and on the POGS website set its resource share to 10%. POGS has no GPU apps so you don't have worry about it sending a GPU task. Too use one of the 11 cores for a Seti GPU task use the following example of an app_config.xml file in the Boinc Seti project folder:

<app_config>
 	<project_max_concurrent>11</project_max_concurrent>
  	<app>
    		<name>setiathome_v8</name>
    		<max_concurrent>1</max_concurrent>
    		<gpu_versions>
      			<gpu_usage>1</gpu_usage>
      			<cpu_usage>1</cpu_usage>
    		</gpu_versions>
  	</app>
        <app>
    		<name>astropulse_v7</name>
    		<max_concurrent>1</max_concurrent>
    		<gpu_versions>
      			<gpu_usage>1</gpu_usage>
      			<cpu_usage>1</cpu_usage>
    		</gpu_versions>
  	</app>
</app_config>

It will take awhile, but you should eventually end up running your desired results of 11 Seti tasks, one of which is a GPU task, and one POGS task.
... and still I fear, and still I dare not laugh at the Mad Man!

Queen - The Prophet's Song
ID: 1888621 · Report as offensive     Reply Quote
Grant (SSSF)
Volunteer tester

Send message
Joined: 19 Aug 99
Posts: 8887
Credit: 115,122,648
RAC: 70,213
Australia
Message 1888729 - Posted: 9 Sep 2017, 0:07:38 UTC - in response to Message 1888595.  

I would like to add a second project and allocate one CPU to POGS and eleven CPUs and one GPU to SETI@home (Intel six core processor, single graphics card).

I do not want BOINC manager switching tasks and leaving others suspended

Why?
Grant
Darwin NT
ID: 1888729 · Report as offensive     Reply Quote
rob smithProject Donor
Volunteer tester

Send message
Joined: 7 Mar 03
Posts: 15201
Credit: 251,991,472
RAC: 326,634
United Kingdom
Message 1888785 - Posted: 9 Sep 2017, 7:20:29 UTC

The current BOINC managers do not support concurrent sharing very well. There are ways to do it, but they do require very careful editing of files, and do tend to be unstable. The BOINC project sharing model is based on a long time balance between the projects, not an instant answer, thus to "beat the system" takes some effort and luck.
Bob Smith
Member of Seti PIPPS (Pluto is a Planet Protest Society)
Somewhere in the (un)known Universe?
ID: 1888785 · Report as offensive     Reply Quote
Profile David@home
Volunteer tester

Send message
Joined: 16 Jan 03
Posts: 680
Credit: 2,381,335
RAC: 25,050
United Kingdom
Message 1888790 - Posted: 9 Sep 2017, 7:56:40 UTC - in response to Message 1888785.  
Last modified: 9 Sep 2017, 7:57:07 UTC

Must admit I was confused when I set the share to POGS to 7.7% and SETI@home to 93.3% that BOINC manager then went and started 12 POGS work units and kept staring new POG work units when one finshed. That wasn't the deal I was looking for! I had assumed the share % was from when I attached the new project, but it looks like BOINC manager was trying to get POGS to catch up to 7.7% of my RAC for SETI@home.

So I am now using an app_config file like this for POGS:

<app_config>

<project_max_concurrent>1</project_max_concurrent>

</app_config>

The app_config file seems a better way to limit to one CPU, downside is that if SETI@home runs out of work no more POGS jobs will start. This there way to say only download and start POGS work units if no work for SETI@home? I think that is the way I would like it to work.
ID: 1888790 · Report as offensive     Reply Quote
Profile Brent Norman
Volunteer tester

Send message
Joined: 1 Dec 99
Posts: 1823
Credit: 106,717,617
RAC: 453,471
Canada
Message 1888800 - Posted: 9 Sep 2017, 11:45:28 UTC - in response to Message 1888790.  

BOINC manager was trying to get POGS to catch up to 7.7% of my RAC for SETI@home.
Yes that is the way it works.
You could start with 1%, then 2% .... until it catches up.
The app_config file seems a better way to limit to one CPU, downside is that if SETI@home runs out of work no more POGS jobs will start.
Correct, when hard coded limit is there it won't start more tasks unless you change the setting.
ID: 1888800 · Report as offensive     Reply Quote
Profile David@home
Volunteer tester

Send message
Joined: 16 Jan 03
Posts: 680
Credit: 2,381,335
RAC: 25,050
United Kingdom
Message 1888801 - Posted: 9 Sep 2017, 12:23:28 UTC - in response to Message 1888800.  
Last modified: 9 Sep 2017, 12:23:59 UTC

Many thanks, I have set POGS share to 1% and suspended new POGS work unit downloads for awhile.

Is there any method by which you can run POGS only if no new work units are available from SETI@home? I guess what I would like is a backfill project rather than a % split across the two projects.
ID: 1888801 · Report as offensive     Reply Quote
Juha
Volunteer tester

Send message
Joined: 7 Mar 04
Posts: 350
Credit: 967,376
RAC: 2,290
Finland
Message 1888802 - Posted: 9 Sep 2017, 12:25:55 UTC - in response to Message 1888801.  

Set POGS resource share to 0.
ID: 1888802 · Report as offensive     Reply Quote

Message boards : Number crunching : How to manage switch between tasks?


 
©2017 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.