BOINC@AUSTRALIA FORUM

Active BOINC projects => PRIMEGRID@HOME => Topic started by: Dingo on February 08, 2019, 07:37:47 PM

Title: PrimeGrid: Feeling Lucky? World Record Prime Search Active Again
Post by: Dingo on February 08, 2019, 07:37:47 PM
Quote
PrimeGrid: Feeling Lucky? World Record Prime Search Active Again

PrimeGrid now has a new project called "Do You Feel Lucky?" This is a world record prime search using GFN-22 with b starting at 846,398, which is the first b not removed by sieving where b^4194304+1 is greater than the current world record. Due to software limitations combined with the size of the numbers involved, this is a GPU-only project. The project will continue separate from the existing GFN22 search, and should the current world record increase, this project will be adjusted to then search beyond that new record.
For the full project details, please see this forum post . (https://www.primegrid.com/forum_thread.php?id=8422&nowrap=true#125716)

I was going to give this a try but I am doing the 2019 Tour de primes.  The tasks run over days so not my cup of tea.

Title: Re: PrimeGrid: Feeling Lucky? World Record Prime Search Active Again
Post by: chooka03 on February 09, 2019, 09:58:13 AM
I'm running 1 x Vega 56.
I have 2 days 14hrs to go after so far running 19hrs.

Hard on the temps though.
Title: Re: PrimeGrid: Feeling Lucky? World Record Prime Search Active Again
Post by: chooka03 on February 12, 2019, 07:07:43 AM
Finally finished the 1 x wu. It took 293,776sec on my Vega 56 for 944,000 credits.
So it took a loooong time but the credits are good  :thumbsup:

I don't think I'll ever find a prime this way as I was the wingman up against a NVIDIA V100 DX-8Q which finished it in 147,841seconds.

Is that how it works? If you don't finish first then you won't find the prime? Meaning anyone with slower GPU's or CPU's shouldn't bother?
Title: Re: PrimeGrid: Feeling Lucky? World Record Prime Search Active Again
Post by: Dingo on February 12, 2019, 12:20:42 PM
Finally finished the 1 x wu. It took 293,776sec on my Vega 56 for 944,000 credits.
So it took a loooong time but the credits are good  :thumbsup:

I don't think I'll ever find a prime this way as I was the wingman up against a NVIDIA V100 DX-8Q which finished it in 147,841seconds.

Is that how it works? If you don't finish first then you won't find the prime? Meaning anyone with slower GPU's or CPU's shouldn't bother?

There are a lot of people that don't have the neweest GPU's so you have to hope that you get paired with them.  I seeem to always get paired with someone with the same card as I have or the AMD equivelant.  As far as CPU goes the only way to get the task back quicker is with the app_config.  Yes you need to be the first to return the task because if it is a Prime then it goes under your name in the records.

You have a prime now and that prime will always be associated with your name that you entered in your Preferences.
Title: Re: PrimeGrid: Feeling Lucky? World Record Prime Search Active Again
Post by: NudgeyNR on September 17, 2019, 12:39:50 PM
Finally finished the 1 x wu. It took 293,776sec on my Vega 56 for 944,000 credits.
So it took a loooong time but the credits are good  :thumbsup:

I don't think I'll ever find a prime this way as I was the wingman up against a NVIDIA V100 DX-8Q which finished it in 147,841seconds.

Is that how it works? If you don't finish first then you won't find the prime? Meaning anyone with slower GPU's or CPU's shouldn't bother?

There are a lot of people that don't have the neweest GPU's so you have to hope that you get paired with them.  I seeem to always get paired with someone with the same card as I have or the AMD equivelant.  As far as CPU goes the only way to get the task back quicker is with the app_config.  Yes you need to be the first to return the task because if it is a Prime then it goes under your name in the records.

You have a prime now and that prime will always be associated with your name that you entered in your Preferences.

Dingo you mention using an app_config file for cpu wu's, any chance you have one or a link to one ?
Title: Re: PrimeGrid: Feeling Lucky? World Record Prime Search Active Again
Post by: Dingo on September 17, 2019, 04:20:32 PM
Dingo you mention using an app_config file for cpu wu's, any chance you have one or a link to one ?

Yes I have a new one that I did recently because they chaged the format.  If you do not want to use the app_config.xml then they added a new reference in the "Primegrid Preferences" called "Multi-threading: Max # of threads for each task (Only applies to LLR taskss" where you can put the number of cores / threads you want to run.  If you hav computers with different core / thread numbers then just create another preference using one of the multitude of names available.

If you want it here is my app_config.xml

It goes in the  BOINC/projects/www.primegrid.com folder.  

Code: [Select]
<app_config>
  <app_version>
   <app_name>llrDIV</app_name>
   <plan_class>mt</plan_class>
   <cmdline>-t 12</cmdline>
   <avg_ncpus>12</avg_ncpus>
  </app_version>
  <app_version>
   <app_name>llr321</app_name>
   <plan_class>mt</plan_class>
   <cmdline>-t 12</cmdline>
   <avg_ncpus>12</avg_ncpus>
  </app_version>
      <app_version>
    <app_name>llrSR5</app_name>
    <plan_class>mt</plan_class>
     <cmdline>-t 12</cmdline>
     <avg_ncpus>12</avg_ncpus>
     </app_version>
      <app_version>
   <app_name>llrESP</app_name>
   <plan_class>mt</plan_class>
   <cmdline>-t 12</cmdline>
   <avg_ncpus>12</avg_ncpus>
  </app_version>
      <app_version>
   <app_name>llrMEGA</app_name>
   <plan_class>mt</plan_class>
   <cmdline>-t 12</cmdline>
   <avg_ncpus>12</avg_ncpus>
  </app_version>
   <app_version>
  <app_name>llrPPS</app_name>
   <plan_class>mt</plan_class>
   <cmdline>-t 12</cmdline>
   <avg_ncpus>12</avg_ncpus>
   </app_version>
    <app_version>
   <app_name>llrPPSE</app_name>
   <plan_class>mt</plan_class>
   <cmdline>-t 12</cmdline>
   <avg_ncpus>12</avg_ncpus>
  </app_version>
    <app_version>
   <app_name>llrCUL</app_name>
   <plan_class>mt</plan_class>
   <cmdline>-t 12</cmdline>
   <avg_ncpus>12</avg_ncpus>
  </app_version>
   <app_version>
   <app_name>llrGCW</app_name>
   <plan_class>mt</plan_class>
   <cmdline>-t 12</cmdline>
   <avg_ncpus>12</avg_ncpus>
    </app_version>
     <app_version>
   <app_name>llrPSP</app_name>
   <plan_class>mt</plan_class>
   <cmdline>-t 12</cmdline>
   <avg_ncpus>12</avg_ncpus>
  </app_version>
   <app_version>
   <app_name>llrWOO</app_name>
   <plan_class>mt</plan_class>
   <cmdline>-t 12</cmdline>
   <avg_ncpus>12</avg_ncpus>
  </app_version>
    <app_version>
   <app_name>llrTRP</app_name>
   <plan_class>mt</plan_class>
   <cmdline>-t 12</cmdline>
   <avg_ncpus>12</avg_ncpus>
  </app_version>
   <app_version>
   <app_name>llrSOB</app_name>
   <plan_class>mt</plan_class>
   <cmdline>-t 12</cmdline>
   <avg_ncpus>12</avg_ncpus>
  </app_version>
</app_config>

Just change all the number of cores/threads for your machine I use editpad lite which is free and it does code edit well and has a lot of functions.

<app_version>
   <app_name>llrSOB</app_name>
   <plan_class>mt</plan_class>
   <cmdline>-t 12</cmdline>
   <avg_ncpus>12</avg_ncpus>
  </app_version>


#### NOTE  

1.  It is best to match the "Use at most X% CPU" in BOINC Manager with the number you put in the app_config.xml or the preference.  The idea of running multithreaded is that you process and return the task as soon as possible because the forst to return it , if it is a prime, is recognised.  So if you have 12 core PC and you want to leave one core for the machine or a GPU, whatever, then you would set the app_config.xml to 11 and the "Use at most X% CPU" to 91.66%  100/12 * 11

2. When primegrid downloads the tasks for the first time, it downloads too many tasks.  You only want one task to run at a time.  So after one starts ABORT the rest.  After that Boinc Manager will only download a task when the one running is almost done.

3.  In the Boinc Manager log there will be a lot of entries that say thet the application is not known.  Untill you run the application on that PC then the error will dissapear for that sub project.

Like these:

Code: [Select]
17/09/2019 5:07:08 PM | PrimeGrid | Found app_config.xml
17/09/2019 5:07:08 PM | PrimeGrid | Entry in app_config.xml for app 'llr321', plan class 'mt' doesn't match any app versions


Title: Re: PrimeGrid: Feeling Lucky? World Record Prime Search Active Again
Post by: chooka03 on September 18, 2019, 08:55:34 AM
Thanks for sharing your template Dingo.  :thumbsup:
Title: Re: PrimeGrid: Feeling Lucky? World Record Prime Search Active Again
Post by: NudgeyNR on September 18, 2019, 01:41:06 PM
Thanks for sharing your template Dingo.  :thumbsup:

Yes, thankyou very much Dingo. Much appreciated. :thumbsup: +1