PDA

View Full Version : SRBase - USE MULTIPLE THREADS



Bryan
08-14-18, 09:54 PM
I stole this from [H]ardOCP's forums. If you are going to run the LONG WU this would be a big deal! You can run multi-threaded. I haven't played with it, but theoretically it should speed up those really long WU. Need to try it an see how much of each thread gets utilized. They guy who posted it recommended 4-12 threads.


<app_config>
<app_version>
<app_name>srbase5</app_name>
<cmdline>-t4</cmdline>
<max_concurrent>1</max_concurrent>
</app_version>
<app_version>
<app_name>srbase11</app_name>
<cmdline>-t4</cmdline>
<max_concurrent>1</max_concurrent>
</app_version>
<app_version>
<app_name>srbase12</app_name>
<cmdline>-t4</cmdline>
<max_concurrent>1</max_concurrent>
</app_version>
<project_max_concurrent>4</project_max_concurrent>
</app_config>


A list of app names are

srbase = Sierpinski / Riesel Base
srbase2 = Riesel Base
srbase3 = Sierpinski Base
srbase4 = Sierpinski / Riesel Base - short
srbase5 = Sierpinski / Riesel Base - long
srbase6 = Sierpinski / Riesel Base - average
srbase7 = Riesel Base - short
srbase8 = Sierpinski Base - short
srbase9 = Sierpinski / Riesel Base - average2
srbase10 = Sierpinski / Riesel Base - average3
srbase11 = Sierpinski / Riesel Base - long2
srbase12 = Sierpinski / Riesel Base - long

pinhodecarlos
08-15-18, 02:41 AM
There’s a limit for the number of threads since it will start to saturate memory. There should be some threads at mersenneforum or PrimeGrid about this. I know from my experience for exponents from n=5M multi thread LLR is quicker than running several individual LLR.

Username is valid
08-15-18, 03:09 AM
You could have stolen that from our forum back in June !
With testing from hanluc on bigger boxes, I stick to 4.