mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > Operazione Doppi Mersennes

Reply
 
Thread Tools
Old 2012-10-09, 19:04   #243
aketilander
 
aketilander's Avatar
 
"Åke Tilander"
Apr 2011
Sandviken, Sweden

10668 Posts
Question

Quote:
Originally Posted by tServo View Post
Did you upgrade the video driver as well? That's what would impact performance rather than the SDK, which is basically a bunch of demo programs.

Whoops! The SDK might have some needed DLLs.
Sorry, maybe I was too fast to spread the happy news. mmff0.26 runs for a while and then I get the error-message: "ERROR: cudaGetLastError() returned 30: unknown error" When I restart the program everything runs just fine, BUT the speed is about half of what it was from the beginning.

This is not a new error I had it before the upgrade as well.

I have a second computer with the same videocard. The program runs on the higher speed without problems.

So, anybody knows what is wrong?
aketilander is offline   Reply With Quote
Old 2012-10-10, 19:09   #244
frmky
 
frmky's Avatar
 
Jul 2003
So Cal

2·34·13 Posts
Default

A minor issue, but with gcc 4.6.3, I have to move $(LDFLAGS) to the end in the final link command in the Makefile:

Code:
../mmff.exe : $(COBJS) $(CUOBJS)
        $(LD) $^ -o $@ $(LDFLAGS)
frmky is online now   Reply With Quote
Old 2012-10-11, 19:34   #245
aketilander
 
aketilander's Avatar
 
"Åke Tilander"
Apr 2011
Sandviken, Sweden

2×283 Posts
Thumbs up

Quote:
Originally Posted by aketilander View Post
mmff0.26 runs for a while and then I get the error-message: "ERROR: cudaGetLastError() returned 30: unknown error" When I restart the program everything runs just fine, BUT the speed is about half of what it was from the beginning.
I took down the core clock speed of the videocard a little bit and the problem seems to have disappeared. The program seems to be stable now. If the problem reappears I will of course report it here.
aketilander is offline   Reply With Quote
Old 2012-10-12, 05:50   #246
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2

36·13 Posts
Default

The latest mmff-gfn-0.26.zip is attached. (Contains some latest minor changes and the 0.26 backbone.)

Jerry flashjh, could you please build the Win32+Win64 binaries for each BASE (edit tf_gfn.h and delete all objects between each buils) and email them to Xyzzy for organized storage? Thank you in advance.
Attached Files
File Type: zip mmff-gfn-0.26.zip (170.8 KB, 118 views)
Batalov is offline   Reply With Quote
Old 2012-10-12, 09:58   #247
ET_
Banned
 
ET_'s Avatar
 
"Luigi"
Aug 2002
Team Italia

12CF16 Posts
Default

Quote:
Originally Posted by Batalov View Post
The latest mmff-gfn-0.26.zip is attached. (Contains some latest minor changes and the 0.26 backbone.)

Jerry flashjh, could you please build the Win32+Win64 binaries for each BASE (edit tf_gfn.h and delete all objects between each buils) and email them to Xyzzy for organized storage? Thank you in advance.
Thank you Serge.

Is a version ready for xGF and with every search bundled in it just on course?

Luigi
ET_ is offline   Reply With Quote
Old 2012-10-12, 10:17   #248
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2

100101000001012 Posts
Default

Quote:
Originally Posted by ET_ View Post
Thank you Serge.

Is a version ready for xGF and with every search bundled in it just on course?

Luigi
No, haven't started yet with xGFN; also have some doubts - we can run out of registers.
Over weekend, I possibly will try to build a toy one - using only 22[SUP]m[/SUP] and 32[SUP]m[/SUP] (which after linear combinations makes for F, GF(3), GF(6), GF(12), and xGF(2,3), xGF(2,9), xGF(3,4), xGF(3,8)). Ughhh, it is going to be ugly. And slow, too!
Batalov is offline   Reply With Quote
Old 2012-10-12, 13:36   #249
flashjh
 
flashjh's Avatar
 
"Jerry"
Nov 2011
Vancouver, WA

1,123 Posts
Default

Win32/64 binaries uploaded and email sent.

Jerry

Last fiddled with by flashjh on 2012-10-12 at 13:39
flashjh is offline   Reply With Quote
Old 2012-10-20, 13:14   #250
aketilander
 
aketilander's Avatar
 
"Åke Tilander"
Apr 2011
Sandviken, Sweden

2·283 Posts
Default Upper limit of mmff 0.26 TF MM127

I have done some tests to see where the upper limit of mmff 0.26 is. If I look into the source code there is a kernal barrett188 which is suppost to cover TFs up to ^188 bits (that is k=1,152,921e12 for MM127), but when I try to run the program with k:s that large I get the error-message "Exponentiation failure". Using smaller k:s the upper limit seems to be around 420,000e12.

Just out of curiosity it would be interesting to know if this is due to limitations of my video card or if it is a limitation of the program as such?
aketilander is offline   Reply With Quote
Old 2012-10-20, 14:37   #251
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

2×53×71 Posts
Default

Quote:
Originally Posted by aketilander View Post
I have done some tests to see where the upper limit of mmff 0.26 is. If I look into the source code there is a kernal barrett188 which is suppost to cover TFs up to ^188 bits (that is k=1,152,921e12 for MM127), but when I try to run the program with k:s that large I get the error-message "Exponentiation failure". Using smaller k:s the upper limit seems to be around 420,000e12.

Just out of curiosity it would be interesting to know if this is due to limitations of my video card or if it is a limitation of the program as such?
Sounds like a program bug where I've miscalculated the upper limit of what the kernel can handle. At least the automatic QA caught the problem.

Last fiddled with by Prime95 on 2012-10-20 at 14:37
Prime95 is offline   Reply With Quote
Old 2012-10-20, 20:15   #252
ATH
Einyen
 
ATH's Avatar
 
Dec 2003
Denmark

35×13 Posts
Default

Quote:
Originally Posted by aketilander View Post
I have done some tests to see where the upper limit of mmff 0.26 is. If I look into the source code there is a kernal barrett188 which is suppost to cover TFs up to ^188 bits (that is k=1,152,921e12 for MM127), but when I try to run the program with k:s that large I get the error-message "Exponentiation failure". Using smaller k:s the upper limit seems to be around 420,000e12.

Just out of curiosity it would be interesting to know if this is due to limitations of my video card or if it is a limitation of the program as such?
I tested with ranges of 1e10 and it seems the higher the k the higher risk of the error happening but sometimes you don't get the error. The lowest I have got it at was k=280,000e12.

Here is 3 instances of the error with the -v 3 option:
MM127error.txt

Last fiddled with by ATH on 2012-10-20 at 20:23
ATH is offline   Reply With Quote
Old 2012-10-22, 14:57   #253
ATH
Einyen
 
ATH's Avatar
 
Dec 2003
Denmark

35·13 Posts
Default

I tried running a small range for the first time with mmff. So far I have only been troubleshooting because I think the fan on my GTX 460 might break soon and because I can't really afford a higher power bill than I have currently (I have complained a lot about danish power prices in other threads, so I'll spare the details here).

But to my surprise my small range finished 5x quicker than I expected, so it turns out I apparantly never understood the "raw rate" output of mmff.

My "raw rate" was around 368 M/s (and later dropped to 347 M/s), so I figured this range would take: (1200e12-2^50)/368e6 = 201e3 sec = 56h. But it finished after 12h4min! So my k-rate was (1200e12-2^50)/43440sec = 1706 M/s ?

So I noticed each output line says "candidates 16.04G" and took rougly 43-46s so thats where the "raw rate" of 347M/s - 368M/s comes from, but what is that measuring exactly? Candidates is number of probable primes to test divisibility with?


Code:
Starting trial factoring of k*2^46+1 in k range: 1125899906842624 to 12000000000
00000 (97-bit factors)
 k_min = 1125899906842624
 k_max = 1200000000000000
Using GPU kernel "mfaktc_barrett108_F32_63gs"
    class | candidates |    time |    ETA | raw  rate | SievePrimes | CPU wait
   3/4620 |     16.04G | 43.589s | 11h36m | 367.96M/s |      210485
.
.
4613/4620 |     16.04G | 46.216s |  0m00s | 347.04M/s |      210485
no factor for k*2^46+1 in k range: 1125899906842624 to 1200000000000000 (97-bit
factors) [mmff 0.26 mfaktc_barrett108_F32_63gs]
tf(): total time spent: 12h  4m  0.423s
ATH is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mersenne trial division implementation mathPuzzles Math 8 2017-04-21 07:21
trial division over a factor base Peter Hackman Factoring 7 2009-10-26 18:27
P95 trial division strategy SPWorley Math 8 2009-08-24 23:26
Trial division software for Mersenne SPWorley Factoring 7 2009-08-16 00:23
Need GMP trial-division timings ewmayer Factoring 7 2008-12-11 22:12

All times are UTC. The time now is 00:43.


Sat Jul 17 00:43:53 UTC 2021 up 49 days, 22:31, 1 user, load averages: 1.48, 1.35, 1.32

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.