mersenneforum.org  

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

Reply
 
Thread Tools
Old 2013-04-26, 12:02   #133
ET_
Banned
 
ET_'s Avatar
 
"Luigi"
Aug 2002
Team Italia

2·3·11·73 Posts
Default

Quote:
Originally Posted by owftheevil View Post
@ ET The timings are interesting, but the work on how big nrp can get without a crash is still just as important.

A recent run on a 570:

Selected B1=605000, B2=16637500, 4.1% chance of finding a factor
CUDA reports 732M of 1279M GPU memory free.
Using e=6, d=2310, nrp=10
Starting stage 1 P-1, M61410829, B1 = 605000, B2 = 16637500, e = 6, fft length = 3360K
.
.
.
Stage 1 complete, estimated total time = 1:41:14
.
.
.
Stage 2 complete, estimated total time = 3:42:23
M61410829 Stage 2 found no factor (P-1, B1=605000, B2=16637500, e=6, n=3360K CUDAPm1 v0.00)


There were ~350Mb of free memory during stage 2.
Should I continue the analysis?

Luigi
ET_ is offline   Reply With Quote
Old 2013-04-26, 13:00   #134
owftheevil
 
owftheevil's Avatar
 
"Carl Darby"
Oct 2012
Spring Mountains, Nevada

32·5·7 Posts
Default

Yes. Right now the memory settings are on the conservative side. Data from different cards about how much memory use they can tolerate would be very useful.

Edit: small b1 and small b2 or terminate after 1 pass of stage2, I just want to see if it handles the memory load.

Last fiddled with by owftheevil on 2013-04-26 at 13:05
owftheevil is offline   Reply With Quote
Old 2013-04-26, 13:28   #135
ET_
Banned
 
ET_'s Avatar
 
"Luigi"
Aug 2002
Team Italia

2·3·11·73 Posts
Default

Quote:
Originally Posted by owftheevil View Post
Yes. Right now the memory settings are on the conservative side. Data from different cards about how much memory use they can tolerate would be very useful.

Edit: small b1 and small b2 or terminate after 1 pass of stage2, I just want to see if it handles the memory load.
Fine

Just one more question. The version I have can't be stopped during B2, while the one on sourceforge doesn't allow to modify the automatized parameters.

Or at least I didn't yet see how. :guilty:
I'll study during the weekend...

Luigi
ET_ is offline   Reply With Quote
Old 2013-04-26, 13:52   #136
owftheevil
 
owftheevil's Avatar
 
"Carl Darby"
Oct 2012
Spring Mountains, Nevada

32×5×7 Posts
Default

I just look up the process number and kill it.
owftheevil is offline   Reply With Quote
Old 2013-04-26, 14:12   #137
ET_
Banned
 
ET_'s Avatar
 
"Luigi"
Aug 2002
Team Italia

2×3×11×73 Posts
Default

Quote:
Originally Posted by owftheevil View Post
I just look up the process number and kill it.
That way you don't have the presumed time to complete Stage 2...

But will be waaaaay faster

Luigi
ET_ is offline   Reply With Quote
Old 2013-04-28, 01:46   #138
frmky
 
frmky's Avatar
 
Jul 2003
So Cal

22×232 Posts
Default

Quote:
Originally Posted by owftheevil View Post
There were ~350Mb of free memory during stage 2.
The current version now reports expected memory use. Please compare that to the amount of memory used as reported by the driver to see if it is reasonably accurate. It looks accurate on both my K20 and GTX 480. There is additional memory free as reported by the driver, but CUDA says it isn't free and I'm going with what CUDA reports.
frmky is offline   Reply With Quote
Old 2013-05-01, 11:36   #139
nucleon
 
nucleon's Avatar
 
Mar 2003
Melbourne

10038 Posts
Default

I'll add a me too.

When the windows exe gets released, I have a Titan here itching to have a bash at P-1.

-- Craig
nucleon is offline   Reply With Quote
Old 2013-05-02, 06:07   #140
frmky
 
frmky's Avatar
 
Jul 2003
So Cal

22·232 Posts
Default

Here's a Windows version to try:
https://www.dropbox.com/s/hdu6eqwkk9...1_20130501.zip

Included is a worktodo.txt that should find a factor. I can't actually test it here since I have no Windows machine with a CC >= 1.3 card, so please try that first, make sure the factor is found, and please let me know if it worked!

There is a problem with reading the text entries in the .ini file, but the numerical entries work fine. Something in parse.c that Visual Studio doesn't like, but I don't have the motivation to track that down right now. It just uses the default input and output files, worktodo.txt and results.txt.

Also, make sure you have the latest graphics drivers. I compiled with CUDA 5.0 downloaded today.
frmky is offline   Reply With Quote
Old 2013-05-02, 08:47   #141
firejuggler
 
firejuggler's Avatar
 
Apr 2010
Over the rainbow

2×1,303 Posts
Default

looking good for now
Code:
C:\Users\Vincent\Desktop\cudapm1>CUDAPm1.exe

Warning: Couldn't parse ini file option WorkFile; using default "worktodo.txt"
Warning: Couldn't parse ini file option ResultsFile; using default "results.txt"

Selected B1=605000, B2=16637500, 4.1% chance of finding a factor
CUDA reports zuM of zuM GPU memory free.
Using e=2, d=210, nrp=4
Using approximately zuM GPU memory.
Starting stage 1 P-1, M61262347, B1 = 605000, B2 = 16637500, e = 2, fft length =
 3360K
Doing 873133 iterations
Iteration 1000 M61262347, 0xf19a7f6041953a97, n = 3360K, CUDAPm1 v0.00 err = 0.2
1094 (0:16 real, 16.1885 ms/iter, ETA 3:55:18)
Iteration 2000 M61262347, 0xaf1d15aad49fcee8, n = 3360K, CUDAPm1 v0.00 err = 0.1
9336 (0:13 real, 12.8097 ms/iter, ETA 3:05:58)
Iteration 3000 M61262347, 0xb702298e7a8c9a8e, n = 3360K, CUDAPm1 v0.00 err = 0.2
1680 (0:13 real, 12.8040 ms/iter, ETA 3:05:41)
Iteration 4000 M61262347, 0xc53d1695707d3dc0, n = 3360K, CUDAPm1 v0.00 err = 0.1
9922 (0:13 real, 12.7794 ms/iter, ETA 3:05:07)
Iteration 5000 M61262347, 0xf154bc3c5f15a9c9, n = 3360K, CUDAPm1 v0.00 err = 0.1
9727 (0:12 real, 12.8228 ms/iter, ETA 3:05:31)
Will report back tonight

Last fiddled with by firejuggler on 2013-05-02 at 08:50
firejuggler is online now   Reply With Quote
Old 2013-05-02, 09:37   #142
Stef42
 
Feb 2012
the Netherlands

2·29 Posts
Default

I got it running in Windows 8, but it crashed when starting stage 2.

Code:
Stage 1 complete, estimated total time = 1:20:10
Starting stage 1 gcd.
M61262347 Stage 1 found no factor (P-1, B1=605000, B2=16637500, e=6, n=3360K CUDAPm1 v0.00
Starting stage 2
Some details:
memusage during stage 1: 334MB (MSI afterburner)
memusage during start of stage 2: 1185MB

Total video memory is 1,5GB. I'm trying to figure out if there was not enough memory for some reason.
Details of my graphics card: http://www.msi.com/product/vga/N580GTX-Lightning.html
Stef42 is offline   Reply With Quote
Old 2013-05-02, 11:59   #143
owftheevil
 
owftheevil's Avatar
 
"Carl Darby"
Oct 2012
Spring Mountains, Nevada

4738 Posts
Default

If its not able to allocate the stage 2 memory, it should be giving you a message like this:

Code:
CUDAPm1.cu(2628) : cudaSafeCall() Runtime API error 2: out of memory.
So something else is likely going on.

Also, the difference in memory use between stage 1 and the beginning of stage 2 is consistent with e = 6 and nrp = 24. Is that what you saw?

Last fiddled with by owftheevil on 2013-05-02 at 12:05
owftheevil is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
mfaktc: a CUDA program for Mersenne prefactoring TheJudger GPU Computing 3497 2021-06-05 12:27
World's second-dumbest CUDA program fivemack Programming 112 2015-02-12 22:51
World's dumbest CUDA program? xilman Programming 1 2009-11-16 10:26
Factoring program need help Citrix Lone Mersenne Hunters 8 2005-09-16 02:31
Factoring program ET_ Programming 3 2003-11-25 02:57

All times are UTC. The time now is 07:25.


Mon Aug 2 07:25:51 UTC 2021 up 10 days, 1:54, 0 users, load averages: 0.97, 1.12, 1.37

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.