mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > PrimeNet > GPU to 72

Reply
 
Thread Tools
Old 2015-12-17, 16:37   #12
chalsall
If I May
 
chalsall's Avatar
 
"Chris Halsall"
Sep 2002
Barbados

2×5×7×139 Posts
Default

Quote:
Originally Posted by Mark Rose View Post
...it might be worth spending time redoing certain classes of work.
Then again, it might not. As LaurV et al said, false positives are not really a big deal -- they're immediately checked by Primenet (that calculation is inexpensive).

False negatives /might/ be a bigger deal, for those anal about finding all low factors of candidates.

At worst case a low factor is missed so additional work is expended on LL'ing and DC'ing. Where do the economic lines cross between re-doing previous TF'ing vs. doing new TF'ing?

But, without question, this does strongly suggest a bug in mfakto.
chalsall is online now   Reply With Quote
Old 2015-12-17, 19:52   #13
TheJudger
 
TheJudger's Avatar
 
"Oliver"
Mar 2005
Germany

11·101 Posts
Default

Might be a cornercase, I'm not sure. The number is interesting at least.

FC = factor candidate

What we NOT do is to check if 2exp - 1 == 0 mod FC
What we do is to check if 2exp == 1 mod FC

For exp = 47079733 and FC = 2742459209866315019473
we have the following numbers:
247079733 = 2742459209866315019472 = -1 mod 2742459209866315019473

So might be an issue with checking the final result of the calculation.

Oliver
TheJudger is offline   Reply With Quote
Old 2015-12-17, 20:54   #14
airsquirrels
 
airsquirrels's Avatar
 
"David"
Jul 2015
Ohio

51710 Posts
Default

I misspoke on seeing this before with a different number. Turns out that since that result was rejected by primenet, my checks against my GPU72 assignments for missing work kept pulling up that candidate as needing checked again. So I've actually run this on 4 different GCN cards with mfakto and only finally the Titan Z with mfaktc cleared it.
airsquirrels is offline   Reply With Quote
Old 2015-12-17, 21:02   #15
chalsall
If I May
 
chalsall's Avatar
 
"Chris Halsall"
Sep 2002
Barbados

260216 Posts
Default

Quote:
Originally Posted by airsquirrels View Post
So I've actually run this on 4 different GCN cards with mfakto and only finally the Titan Z with mfaktc cleared it.
Hmmmm... Interesting....
chalsall is online now   Reply With Quote
Old 2015-12-17, 21:30   #16
airsquirrels
 
airsquirrels's Avatar
 
"David"
Jul 2015
Ohio

11×47 Posts
Default

Quote:
Originally Posted by TheJudger View Post
Might be a cornercase, I'm not sure. The number is interesting at least.

FC = factor candidate

What we NOT do is to check if 2exp - 1 == 0 mod FC
What we do is to check if 2exp == 1 mod FC

For exp = 47079733 and FC = 2742459209866315019473
we have the following numbers:
247079733 = 2742459209866315019472 = -1 mod 2742459209866315019473

So might be an issue with checking the final result of the calculation.

Oliver
Seems like in that case signed vs. unsigned would make this an easy bug that would only manifest as false positives, so the risk is negligible. We should of course verify that is in fact what happened.

Last fiddled with by airsquirrels on 2015-12-17 at 21:32
airsquirrels is offline   Reply With Quote
Old 2015-12-17, 21:42   #17
chalsall
If I May
 
chalsall's Avatar
 
"Chris Halsall"
Sep 2002
Barbados

260216 Posts
Default

Quote:
Originally Posted by airsquirrels View Post
Seems like in that case signed vs. unsigned would make this an easy bug that would only manifest as false positives, so the risk is negligible
I would argue that "TheJudger" is a very good friend to have on your side. But, also, that "Bdot" needs to be brought into this; he is also a very good friend to have on your side.

Quote:
Originally Posted by airsquirrels View Post
We should of course verify that is in fact what happened.
Of course. Trust, but verify.

Last fiddled with by chalsall on 2015-12-17 at 21:53 Reason: Added a smile. Remember, we're all in this together....
chalsall is online now   Reply With Quote
Old 2015-12-17, 23:08   #18
TheJudger
 
TheJudger's Avatar
 
"Oliver"
Mar 2005
Germany

111110 Posts
Default

Quote:
Originally Posted by airsquirrels View Post
Seems like in that case signed vs. unsigned would make this an easy bug that would only manifest as false positives, so the risk is negligible. We should of course verify that is in fact what happened.
No, I'm affraid it won't be that simple. If it would be really that simple mfakto should report lots of (false) mersenne factors. This is what mfaktc does when it searches for Wagstaff factors.

Best would be to trace the data while running mfakto. I've looked at the interim results of each step when doing with libgmp on CPU... nothing "special" execpt the final reminder.

Oliver

Last fiddled with by TheJudger on 2015-12-17 at 23:10
TheJudger is offline   Reply With Quote
Old 2016-01-04, 18:26   #19
Bdot
 
Bdot's Avatar
 
Nov 2010
Germany

10010101012 Posts
Default

kracker made me aware of this thread. I will debug this when I'm back next week.
Bdot is offline   Reply With Quote
Old 2016-01-05, 04:14   #20
LaurV
Romulan Interpreter
 
LaurV's Avatar
 
Jun 2011
Thailand

2·5·312 Posts
Default

Quote:
Originally Posted by Bdot View Post
kracker made me aware of this thread. I will debug this when I'm back next week.
If you do, you may also have a look to the "rip dctf" thread and see what they are talking there about not using global memory, or so, giving a boost of about 30% in speed to mfakto.
LaurV is offline   Reply With Quote
Old 2016-01-05, 04:25   #21
kracker
 
kracker's Avatar
 
"Mr. Meeseeks"
Jan 2012
California, USA

23×271 Posts
Default

Quote:
Originally Posted by LaurV View Post
If you do, you may also have a look to the "rip dctf" thread and see what they are talking there about not using global memory, or so, giving a boost of about 30% in speed to mfakto.
It depends on the GPU... the faster/the more GPU's you have.. the bigger improvement(so I hear).

Also....
kracker is online now   Reply With Quote
Old 2016-01-06, 16:14   #22
Bdot
 
Bdot's Avatar
 
Nov 2010
Germany

3·199 Posts
Default

Quote:
Originally Posted by LaurV View Post
If you do, you may also have a look to the "rip dctf" thread and see what they are talking there about not using global memory, or so, giving a boost of about 30% in speed to mfakto.
Not only did you make me look for the thread by not providing a link, you also wanted to make me read 300+ posts? I came up to the 500 vamps biting your neck ... it's already 1am over here and have to get some sleep.

Quote:
Originally Posted by kracker View Post
It depends on the GPU... the faster/the more GPU's you have.. the bigger improvement(so I hear).

Also....
Of course
Bdot is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
mfakto error while running jacob1235 GPU Computing 1 2018-02-03 19:03
TF with mfakto win 0.14 Yoshi24517 GPU Computing 5 2017-04-01 18:01
mfakto 0.13 with Windows 8.1 bplenhart GPU Computing 16 2013-12-05 01:24
trouble with submitting mfakto factor dbaugh PrimeNet 5 2013-04-30 22:18
How to tell mfakto to use IGP? Rodrigo GPU Computing 22 2013-03-23 02:25

All times are UTC. The time now is 13:56.


Fri Jul 16 13:56:25 UTC 2021 up 49 days, 11:43, 2 users, load averages: 1.22, 1.55, 1.57

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.