Option for downloading and computing only one task at all

Message boards : Questions and problems : Option for downloading and computing only one task at all
Message board moderation

To post messages, you must log in.

AuthorMessage
FMuenn

Send message
Joined: 15 Jul 19
Posts: 1
Germany
Message 92172 - Posted: 15 Jul 2019, 20:28:28 UTC

I am currently subscribed to three projects. My computer is running only about 2-3 hours a day, and even throttled to avoid the fan going though the roof. With this limited time available, I do not want to download several tasks of different projects, only to see them expire.

Is there an option for BOINC to download one task, run it and then fetch a new one? I do not need nor want to have several tasks in the cache, as BOINC could easily ask for and download it at the time one task is finished. Am I right to assume all scheduling decisions by BOINC rely on the basis the computer is running all the time?

Thanks for your input and help!
Best regards,
Frank

P.S. I already tried setting fetch-minimal-work in the config file. For whatever reason, BOINC sometimes refuses to download new work, even if no task is being processed then.
ID: 92172 · Report as offensive
Les Bayliss
Help desk expert

Send message
Joined: 25 Nov 05
Posts: 1654
Australia
Message 92176 - Posted: 15 Jul 2019, 21:46:53 UTC

One thing that you can do is set the percentage of cpus on your computer to a value that equates to only one processor.
Do this for each of your projects.

You should then get one task, and then "your cache will be full", so that it doesn't ask for anything else from any project.
ID: 92176 · Report as offensive
Bill
Avatar

Send message
Joined: 13 Jun 17
Posts: 91
United States
Message 92179 - Posted: 16 Jul 2019, 2:34:44 UTC

I haven't tried this, but I suppose you could set the resource share for all projects to 0. Additionally, you could set all projects to No New Tasks. Then, whenever you want to run Boinc, you could select the project you want to run and Allow New Tasks. With the resource share at 0 it should only download enough tasks for the processors you have active. When you don't want that project to download any further tasks you can set it back to No New Tasks. If you don't want all CPU cores to crunch tasks, follow Les' advice and reduce the percentage.

I know this seems to make running Boinc quite a bit more manual than automatic, but I'm guessing you are okay with that.
ID: 92179 · Report as offensive
mmonnin

Send message
Joined: 1 Jul 16
Posts: 146
United States
Message 92210 - Posted: 17 Jul 2019, 16:45:51 UTC - in response to Message 92179.  

I haven't tried this, but I suppose you could set the resource share for all projects to 0. Additionally, you could set all projects to No New Tasks. Then, whenever you want to run Boinc, you could select the project you want to run and Allow New Tasks. With the resource share at 0 it should only download enough tasks for the processors you have active. When you don't want that project to download any further tasks you can set it back to No New Tasks. If you don't want all CPU cores to crunch tasks, follow Les' advice and reduce the percentage.

I know this seems to make running Boinc quite a bit more manual than automatic, but I'm guessing you are okay with that.


This works. I do this to have a backup project in case the project I am running runs out of work. With 0 resource share the task count = CPU count. No tasks will be waiting to run.
ID: 92210 · Report as offensive
Bill
Avatar

Send message
Joined: 13 Jun 17
Posts: 91
United States
Message 92211 - Posted: 17 Jul 2019, 16:52:28 UTC - in response to Message 92210.  

I haven't tried this, but I suppose you could set the resource share for all projects to 0. Additionally, you could set all projects to No New Tasks. Then, whenever you want to run Boinc, you could select the project you want to run and Allow New Tasks. With the resource share at 0 it should only download enough tasks for the processors you have active. When you don't want that project to download any further tasks you can set it back to No New Tasks. If you don't want all CPU cores to crunch tasks, follow Les' advice and reduce the percentage.

I know this seems to make running Boinc quite a bit more manual than automatic, but I'm guessing you are okay with that.


This works. I do this to have a backup project in case the project I am running runs out of work. With 0 resource share the task count = CPU count. No tasks will be waiting to run.
I have backup projects with a resource share of 0 as well. To clarify, I am not sure what happens when ALL projects in Boinc manager have a resource share of 0.
ID: 92211 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15477
Netherlands
Message 92213 - Posted: 17 Jul 2019, 19:20:57 UTC - in response to Message 92172.  
Last modified: 17 Jul 2019, 19:22:04 UTC

P.S. I already tried setting fetch-minimal-work in the config file. For whatever reason, BOINC sometimes refuses to download new work, even if no task is being processed then.
Because that's the function of fetch_minimal_work: it downloads one task per device (CPU, GPU) and when those are done it won't fetch new work. This is a debug function for the client, normally used in combination with --exit_when_idle where it will exit the client when all tasks have been done, uploaded and reported.

Use the resource share is 0 (zero) option the others have pointed out. This will always download just one task per given hardware device (CPU core, GPU). This option has to be set at the projects' Project Preferences or if you use an account manager, there. It cannot be set via BOINC Manager.
ID: 92213 · Report as offensive

Message boards : Questions and problems : Option for downloading and computing only one task at all

Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.