Results 1 to 3 of 3

Thread: PrimeGrid: Better multi-threading

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

    PrimeGrid: Better multi-threading

    https://www.primegrid.com/forum_thread.php?id=8750

    No more app_config.xml required, once implemented.
    "Don't confront me with my failures, I had not forgotten them" - Jackson Browne

    Avatar source


  2. #2
    Platinum Member
    denim's Avatar
    Join Date
    November 1st, 2010
    Location
    Maryland, USA
    Posts
    2,896

    Re: PrimeGrid: Better multi-threading


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

    Re: PrimeGrid: Better multi-threading

    https://www.primegrid.com/forum_thre...ap=true#132260

    IMPORTANT:

    PrimeGrid will be switching to a preferences-based method for setting up multi-threading in the near future.
    If you are using app_config.xml (probably to set up multi-threading) it's going to stop working when the multi-threading system goes live. If you want your app_config.xml to continue working, you should make modifications now that will allow it to work both before and after the change.

    Only LLR projects are affected.

    Every <app_version> block for an LLR project should be duplicated, with the duplicate having a <plan_class>mt<plan_class> line added to it. For example, this is the before and after for ESP, set up for 4 threads:


    <app>
    <name>llrESP</name>
    <fraction_done_exact>1</fraction_done_exact>
    <report_results_immediately>1</report_results_immediately>
    </app>

    <app_version>
    <app_name>llrESP</app_name>
    <cmdline>-t 4</cmdline>
    <avg_ncpus>4</avg_ncpus>
    </app_version>

    <app_version>
    <app_name>llrESP</app_name>
    <plan_class>mt</plan_class>
    <cmdline>-t 4</cmdline>
    <avg_ncpus>4</avg_ncpus>
    </app_version>


    You can do this today, and the original app_version block will continue to work. Once we install the new multi-tasking, that app_version block will be ignored and the second app_version block for the mt plan class will take over. At that point, most people can erase app_config.xml, or at least the parts for LLR projects, and start using the multi-threading controls on the website.

    I don't have an exact time yet for this change, but it won't happen in August. I'm hoping for early September.
    "Don't confront me with my failures, I had not forgotten them" - Jackson Browne

    Avatar source


Posting Permissions

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