![]() |
[QUOTE=owftheevil;338386]@ 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.[/QUOTE] Should I continue the analysis? Luigi |
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. |
[QUOTE=owftheevil;338391]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.[/QUOTE] Fine :smile: 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 |
I just look up the process number and kill it.
|
[QUOTE=owftheevil;338398]I just look up the process number and kill it.[/QUOTE]
That way you don't have the presumed time to complete Stage 2... But will be waaaaay faster :wink: Luigi |
[QUOTE=owftheevil;338386]There were ~350Mb of free memory during stage 2.[/QUOTE]
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. |
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 |
Here's a Windows version to try:
[URL="https://www.dropbox.com/s/hdu6eqwkk9vr9p8/cudapm1_20130501.zip"]https://www.dropbox.com/s/hdu6eqwkk9vr9p8/cudapm1_20130501.zip[/URL] 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. |
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) [/code] Will report back tonight |
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[/CODE] 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: [url]http://www.msi.com/product/vga/N580GTX-Lightning.html[/url] |
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.[/CODE]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? |
| All times are UTC. The time now is 23:18. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.