Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: BOINC: How to limit the quantity of tasks downloaded?

  1. #1
    Diamond Member
    zombie67's Avatar
    Join Date
    October 24th, 2010
    Location
    Reno, NV
    Posts
    7,267

    BOINC: How to limit the quantity of tasks downloaded?

    Let's say you have an 8 thread CPU, and you want to download only as much work that can be crunched at a time. Simple enough, change the project resource share to zero, and only 8 single-threaded tasks will download. But now let's say I am using an app_config.xml file to force tasks to multi-thread and use all 8 threads, like you can do on primegrid. Even with a resource share of zero, it will download 8 tasks. Then one will crunch using all 8 threads, and 7 will sit there waiting their turn to run. Is there a way to force BOINC to download only 1 task at a time, in this situation? I though there was a option in the cc_config.xml file that would enforce a maximum number of tasks per project, but I can't find it. Maybe I am remembering it wrong. Any ideas?
    "Don't confront me with my failures, I had not forgotten them" - Jackson Browne

    Avatar source


  2. #2
    Silver Member

    Join Date
    July 3rd, 2017
    Location
    Saint Albans WV
    Posts
    292

    Re: BOINC: How to limit the quantity of tasks downloaded?

    Have you tried the command

    project_max_concurrent
    A limit on the number of running jobs for this project.

    Sent from my SM-N960U using Tapatalk

  3. #3
    Diamond Member
    zombie67's Avatar
    Join Date
    October 24th, 2010
    Location
    Reno, NV
    Posts
    7,267

    Re: BOINC: How to limit the quantity of tasks downloaded?

    Quote Originally Posted by purplecfh View Post
    Have you tried the command

    project_max_concurrent
    A limit on the number of running jobs for this project.
    That controls the number of tasks running at once, but not the number of tasks downloaded, I think.
    "Don't confront me with my failures, I had not forgotten them" - Jackson Browne

    Avatar source


  4. #4
    Silver Member

    Join Date
    July 3rd, 2017
    Location
    Saint Albans WV
    Posts
    292

    Re: BOINC: How to limit the quantity of tasks downloaded?

    There is a maxcoc and a project max coc, it's worth a try at least.

    Sent from my SM-N960U using Tapatalk

  5. #5
    Ambassador from TSBT scole of TSBT's Avatar
    Join Date
    May 8th, 2015
    Location
    Goldsboro, NC
    Posts
    1,009

    Re: BOINC: How to limit the quantity of tasks downloaded?

    Setup multiple clients, running 1 project per client and set <ncpus> or % processors to use number of threads you want on each client.

  6. #6
    Diamond Member
    zombie67's Avatar
    Join Date
    October 24th, 2010
    Location
    Reno, NV
    Posts
    7,267

    Re: BOINC: How to limit the quantity of tasks downloaded?

    Quote Originally Posted by scole of TSBT View Post
    Setup multiple clients, running 1 project per client and set <ncpus> or % processors to use number of threads you want on each client.
    I think that will still result in the same problem. I am already running only one project per client, just PG. And only one task is running, using all 8 threads. But BOINC insists on downloading 8 tasks, with 7 idle. I want only one task running, using all 8 threads, with no idle tasks.

    FWIW, the reason for this is to be the first to return tasks instead of the wingman, so you get the credit if a prime is found. So I want no aging tasks in a queue.
    "Don't confront me with my failures, I had not forgotten them" - Jackson Browne

    Avatar source


  7. #7
    Ambassador from TSBT scole of TSBT's Avatar
    Join Date
    May 8th, 2015
    Location
    Goldsboro, NC
    Posts
    1,009

    Re: BOINC: How to limit the quantity of tasks downloaded?

    I guess you already have your cache set really low, like .01 days/0 additional?

  8. #8
    Ambassador from TSBT scole of TSBT's Avatar
    Join Date
    May 8th, 2015
    Location
    Goldsboro, NC
    Posts
    1,009

    Re: BOINC: How to limit the quantity of tasks downloaded?

    Try <fetch_minimal_work>1</fetch_minimal_work> in the cc_config.xml. I'd restart the client after setting it.

  9. #9
    Diamond Member
    zombie67's Avatar
    Join Date
    October 24th, 2010
    Location
    Reno, NV
    Posts
    7,267

    Re: BOINC: How to limit the quantity of tasks downloaded?

    Quote Originally Posted by scole of TSBT View Post
    I guess you already have your cache set really low, like .01 days/0 additional?
    Resource share is zero.
    "Don't confront me with my failures, I had not forgotten them" - Jackson Browne

    Avatar source


  10. #10
    Diamond Member
    zombie67's Avatar
    Join Date
    October 24th, 2010
    Location
    Reno, NV
    Posts
    7,267

    Re: BOINC: How to limit the quantity of tasks downloaded?

    Quote Originally Posted by scole of TSBT View Post
    Try <fetch_minimal_work>1</fetch_minimal_work> in the cc_config.xml. I'd restart the client after setting it.
    The description for that one is kinda vague.

    <fetch_minimal_work>0|1</fetch_minimal_work>
    Fetch one job per device (see --fetch_minimal_work).
    And that points to:

    --fetch_minimal_work
    Fetch only 1 job per device (CPU, GPU). Used with --exit_when_idle, the client will process one job per device, then exit.
    I'll give it a try. Thanks for the suggestion.
    "Don't confront me with my failures, I had not forgotten them" - Jackson Browne

    Avatar source


Page 1 of 2 12 LastLast

Posting Permissions

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