mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Software

Reply
 
Thread Tools
Old 2017-09-20, 18:16   #1
pepi37
 
pepi37's Avatar
 
Dec 2011
After milion nines:)

1,451 Posts
Default LLR 3.8.20 ( base3- base 9)

I found this little anomaly so if someone can solve mistery :)

D:\PGEN>llr64 -d -q"2976*9^1000000+1"
Base prime factor(s) taken : 3
Starting N-1 prime test of 2976*9^1000000+1
Using all-complex AVX FFT length 256K, Pass1=256, Pass2=1K, 4 threads, a = 3
2976*9^1000000+1, bit: 140000 / 3169934 [4.41%]. Time per bit: 0.364 ms.
Caught signal. Terminating.

D:\PGEN>llr64 -d -q"2976*3^2000000+1"
Base prime factor(s) taken : 3
Starting N-1 prime test of 2976*3^2000000+1
Using all-complex AVX FFT length 240K, Pass1=1280, Pass2=192, 4 threads, a = 3
2976*3^2000000+1, bit: 141000 / 3169935 [4.44%]. Time per bit: 0.444 ms.
Caught signal. Terminating.

So basicly, those two numbers are same, but test with base 9 is faster then test in base 3. I was expection opossite results but if someone has some to say... :)
Computer was on idle and only LLR was running while I do this test
pepi37 is offline   Reply With Quote
Old 2017-09-20, 18:24   #2
VBCurtis
 
VBCurtis's Avatar
 
"Curtis"
Feb 2005
Riverside, CA

22·1,217 Posts
Default

That's too small a test for 4 threads to be efficient;if you repeat the test single-threaded, perhaps you can distinguish between one FFT using 4 threads more effectively and base-9 actually being faster.

I mean, 256k FFT may use 4 threads better than 240k. Anything smaller than 100k (128k?) per thread is mostly wasted.
VBCurtis is offline   Reply With Quote
Old 2017-09-20, 18:35   #3
pepi37
 
pepi37's Avatar
 
Dec 2011
After milion nines:)

1,451 Posts
Default

1 core

D:\PGEN>llr64 -d -q"2976*9^1000000+1"
Base prime factor(s) taken : 3
Starting N-1 prime test of 2976*9^1000000+1
Using all-complex AVX FFT length 256K, Pass1=256, Pass2=1K, a = 3
2976*9^1000000+1, bit: 23000 / 3169934 [0.72%]. Time per bit: 1.235 ms.
Caught signal. Terminating.

D:\PGEN>llr64 -d -q"2976*3^2000000+1"
Base prime factor(s) taken : 3
Starting N-1 prime test of 2976*3^2000000+1
Using all-complex AVX FFT length 240K, Pass1=1280, Pass2=192, a = 3
2976*3^2000000+1, bit: 20000 / 3169935 [0.63%]. Time per bit: 1.247 ms.
Caught signal. Terminating.

It looks it was main reason!
Thanks
pepi37 is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
GMP-ECM for base-2? CRGreathouse Factoring 1 2010-12-29 08:45
Base-6 speed for prime testing vs. base-2 jasong Conjectures 'R Us 36 2010-08-03 06:25
Base 6 masser Conjectures 'R Us 2 2008-06-27 04:29
Log to what base? edorajh Math 5 2003-12-17 16:31
base 3 ET_ Puzzles 1 2003-12-13 10:45

All times are UTC. The time now is 18:28.


Sun Aug 1 18:28:59 UTC 2021 up 9 days, 12:57, 0 users, load averages: 2.53, 2.50, 2.60

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

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.
A copy of the license is included in the FAQ.