mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Hardware > GPU Computing

Reply
 
Thread Tools
Old 2011-05-08, 01:54   #881
Xyzzy
 
Xyzzy's Avatar
 
"Mike"
Aug 2002

2×23×179 Posts
Default

FWIW, V17 data, probably skewed and worthless.

Attached Thumbnails
Click image for larger version

Name:	1.png
Views:	167
Size:	102.1 KB
ID:	6584   Click image for larger version

Name:	2.png
Views:	141
Size:	63.8 KB
ID:	6585  
Xyzzy is offline   Reply With Quote
Old 2011-05-08, 01:59   #882
nucleon
 
nucleon's Avatar
 
Mar 2003
Melbourne

5×103 Posts
Default

Quote:
Originally Posted by Xyzzy View Post
FWIW, V17 data, probably skewed and worthless.

Cheers.

Why go back to windows? I thought you went linux.

-- Craig
nucleon is offline   Reply With Quote
Old 2011-05-08, 02:01   #883
nucleon
 
nucleon's Avatar
 
Mar 2003
Melbourne

5×103 Posts
Default

Quote:
Originally Posted by Uncwilly View Post
PrimeNet verifies that the reported factor is correct. Chances are that happens and usually doesn't get noticed. I would not worry
Quote:
Originally Posted by James Heinrich View Post
Note also that you're testing a wide bitrange. 3 factors in a row would be unusual, but certainly not impossible, testing a single bit depth for each exponent (e.g. 2^65 to 2^66). Your 3 factors are 72.6, 67.6 and 66.4 bits respectively. TF from 2^65-74 on M380M range has almost exactly a 13% chance of finding a factor somewhere in that range. So finding 3-in-a-row should be a roughly 1:455 occurrence.
Thanks guys.

-- Craig
nucleon is offline   Reply With Quote
Old 2011-05-08, 02:36   #884
Xyzzy
 
Xyzzy's Avatar
 
"Mike"
Aug 2002

2·23·179 Posts
Default

Quote:
Why go back to windows? I thought you went linux.
We are on a 30 day trial, which we suppose we could repeat every 30 days.

We want to get Linux up and running but we have been busy and we have trouble with the thought of going off-line while we could be doing so much work!



Unrelated question: We have been factoring in the 1e6 to 2e6 range. Is this suboptimal for mfaktc efficiency? Something like this was alluded to in the README. Yes, we actually read it!

What interesting factoring projects are there, other than factoring 1e9 digit work?
Xyzzy is offline   Reply With Quote
Old 2011-05-08, 06:49   #885
ckdo
 
ckdo's Avatar
 
Dec 2007
Cleves, Germany

2·5·53 Posts
Default

Quote:
Originally Posted by Xyzzy View Post
What interesting factoring projects are there, other than factoring 1e9 digit work?
You could start taking 30M-40M to 2^69. It's only 380THzd or some such.
ckdo is offline   Reply With Quote
Old 2011-05-08, 10:45   #886
ET_
Banned
 
ET_'s Avatar
 
"Luigi"
Aug 2002
Team Italia

2·3·11·73 Posts
Default

Quote:
Originally Posted by Xyzzy View Post
We are on a 30 day trial, which we suppose we could repeat every 30 days.

We want to get Linux up and running but we have been busy and we have trouble with the thought of going off-line while we could be doing so much work!



Unrelated question: We have been factoring in the 1e6 to 2e6 range. Is this suboptimal for mfaktc efficiency? Something like this was alluded to in the README. Yes, we actually read it!

What interesting factoring projects are there, other than factoring 1e9 digit work?
I noticed your load was about 40M candidates per instance. Maybe you may set up mfaktc to work on more than one bit-level at a time: as TheJudger often say, mfaktc works better (and the CPU use would be lower) if you work on (say) 500M candidates.

As for your next question, yesterday I started factoring with mfaktc in the 53M-60M range up to 72 bits, to try and avoid the p-1 factoring stage.
With my GTX275 at half load it only takes 6-7 hours to complete the 3-bit range.

Luigi

Last fiddled with by ET_ on 2011-05-08 at 10:48
ET_ is offline   Reply With Quote
Old 2011-05-08, 10:53   #887
Karl M Johnson
 
Karl M Johnson's Avatar
 
Mar 2010

3×137 Posts
Default

Quote:
Originally Posted by ET_ View Post
With my GTX275 at half load it only takes 6-7 hours to complete the 3-bit range.
Only
GPUs deserve better speeds
Karl M Johnson is offline   Reply With Quote
Old 2011-05-08, 12:36   #888
TheJudger
 
TheJudger's Avatar
 
"Oliver"
Mar 2005
Germany

100010101112 Posts
Default

Quote:
Originally Posted by Xyzzy View Post
Unrelated question: We have been factoring in the 1e6 to 2e6 range. Is this suboptimal for mfaktc efficiency? Something like this was alluded to in the README. Yes, we actually read it!
Bigger exponents have a lower CPU usage compared to smaller exponents. The sieve (CPU part) does not depend on the size of the exponent while the verfication of each factor candidate (GPU part) depends on the size of the exponent.


Quote:
Originally Posted by ET_ View Post
I noticed your load was about 40M candidates per instance. Maybe you may set up mfaktc to work on more than one bit-level at a time: as TheJudger often say, mfaktc works better (and the CPU use would be lower) if you work on (say) 500M candidates.
If you replace "instance" with "per class" this is correct. The number of tested factor candidates is the 2nd column in the per class output. Efficiency of mfaktc increases with a higher number of candidates per class. 40M candidates per class is not much for mfaktc but it is not really worth. You might gain perhaps 5% more throughput for (much) bigger cases.

Xyzzy: if you're running exponents and bit ranges of similar size you might try to manually set SievePrimes to an "optimal" value.

Oliver
TheJudger is offline   Reply With Quote
Old 2011-05-08, 12:54   #889
TheJudger
 
TheJudger's Avatar
 
"Oliver"
Mar 2005
Germany

11·101 Posts
Default

Hello George,

Quote:
Originally Posted by Prime95 View Post
If you put any code under GPL v3 it will never be incorporated into prime95.
ignoring the license stuff: any idea how likely you'll add (parts of) mfaktc to your prime95/mprime?
Currently I'm the only copyright holder. I think I can re-release (parts of) mfaktc under other licenses.

Quote:
Originally Posted by Prime95 View Post
It is open source with 2 exceptions:

1) The security code that makes it a tiny bit harder to forge results is not public.
2) You cannot use the code to Mersenne primes unless you agree to abide by the GIMPS prize rules.

The first restriction will preclude you from releasing under GPL.
I understand that the GPL is not the ideal license for your code. For mfaktc the GPL was the most obvious license. GPL is widely known.
I don't like licenses which allow to distribute modifications without releasing the sourcecode.

Quote:
Originally Posted by Christenson View Post
Oliver and George, please work out the correct legal basis. Upgraded specification attached.
Are you willing to re-release the needed functions from primenet.[ch] under GPL v3 for the integration in mfaktc?

Oliver
TheJudger is offline   Reply With Quote
Old 2011-05-08, 14:47   #890
ET_
Banned
 
ET_'s Avatar
 
"Luigi"
Aug 2002
Team Italia

2·3·11·73 Posts
Default

Quote:
Originally Posted by Karl M Johnson View Post
Only
GPUs deserve better speeds
Yes, but I have 3 cores of mprime, 2 cores of LLR and one core of gmp-fermat alresdy working together on my 4-cores machine...

Luigi

Last fiddled with by ET_ on 2011-05-08 at 14:47
ET_ is offline   Reply With Quote
Old 2011-05-08, 16:46   #891
chalsall
If I May
 
chalsall's Avatar
 
"Chris Halsall"
Sep 2002
Barbados

9,767 Posts
Default

Quote:
Originally Posted by Prime95 View Post
It is open source with 2 exceptions:

1) The security code that makes it a tiny bit harder to forge results is not public.
2) You cannot use the code to Mersenne primes unless you agree to abide by the GIMPS prize rules.

The first restriction will preclude you from releasing under GPL.
George, Oliver and Christenson et al...

Just putting out an idea which might eliminate the need for the "security code" to be released to the public, and thus allow the code in mfaktc which communicates with PrimeNet to be GPLed...

As the value generated for the "Wd1:XXXXXXXX" or "Wd2:XXXXXXXX" fields in the response message is rather predictable for TFing (I won't go into further details, but those who do a lot of TFing will likely know what I'm talking about...), might this be an opportunity to change this value to be generated by a publicly known, but impossible to fake, (and inexpensive) process?

I'm thinking (without having examined Oliver's code) of something like a cyclic sum of all the factor candidates tested between the "bit levels".

The server wouldn't be able to tell if this was faked or not, but it would allow random "double checks" to spot cheaters.

George and Oliver -- do you consider this suggestion to have any value?
chalsall is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
mfakto: an OpenCL program for Mersenne prefactoring Bdot GPU Computing 1676 2021-06-30 21:23
The P-1 factoring CUDA program firejuggler GPU Computing 753 2020-12-12 18:07
gr-mfaktc: a CUDA program for generalized repunits prefactoring MrRepunit GPU Computing 32 2020-11-11 19:56
mfaktc 0.21 - CUDA runtime wrong keisentraut Software 2 2020-08-18 07:03
World's second-dumbest CUDA program fivemack Programming 112 2015-02-12 22:51

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


Mon Aug 2 13:19:39 UTC 2021 up 10 days, 7:48, 0 users, load averages: 2.59, 2.19, 2.04

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.