mersenneforum.org  

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

Reply
 
Thread Tools
Old 2013-11-30, 17:48   #2047
kladner
 
kladner's Avatar
 
"Kieren"
Jul 2011
In My Own Galaxy!

1015810 Posts
Default

Quote:
Originally Posted by flashjh View Post
r48 is up with the updated display and results file output

So the Windows version allows you to use the interactive mode?
Yes. Win 7 Pro, 64 bit. 331.82 drivers.

I'll get r48 if that is on Sourceforge now.

EDIT: Got r48. Should have refreshed the page the last time I looked.

Last fiddled with by kladner on 2013-11-30 at 17:50
kladner is offline   Reply With Quote
Old 2013-11-30, 19:21   #2048
Manpowre
 
"Svein Johansen"
May 2013
Norway

20110 Posts
Default

Quote:
Originally Posted by kladner View Post
I ran the r47 version (not debug) overnight on both cards: 570 and 580. Event viewer shows two display driver restarts.
I get device driver restart witn 2.03 and latest drivers too on both 580 and 590 boards. I found 306.23 to be the most stable driver for 5xx boards.

Last fiddled with by Manpowre on 2013-11-30 at 19:21
Manpowre is offline   Reply With Quote
Old 2013-11-30, 20:42   #2049
flashjh
 
flashjh's Avatar
 
"Jerry"
Nov 2011
Vancouver, WA

1,123 Posts
Default

What FFT lengths are you using when the restarts happen?

On my current 580 system with the latest drivers (and several of the last few) I get restarts on the following FFT lengths:
Code:
 
CUDALucas -cufftbench 3360 3360 6
CUDALucas -cufftbench 5040 5040 6
CUDALucas -cufftbench 5670 5670 6
CUDALucas -cufftbench 6720 6720 6
I discovered these when I ran the .bat file I attached above. I have more 580s to test this on, but I haven't yet. I have tried updating and downgrading drivers with no luck. I have not rolled back to 306.23, I may try and see if it helps.

Anyone notice if these match the ones you're having trouble with or are they different?

So the interactive does not work on my system. Anyone have any ideas as to what setting could be causing that? If I press a key with interactive enabled, I can see it (them) on the screen, but the program pauses and the only way to restart is to ^c and restart.


I realized you have to press ENTER after the key press

EDIT:
Quote:
Originally Posted by kladner View Post
EDIT: Got r48. Should have refreshed the page the last time I looked.
I just put it there a while ago, it was probably after you looked the first time.

Last fiddled with by flashjh on 2013-11-30 at 20:49
flashjh is offline   Reply With Quote
Old 2013-11-30, 21:04   #2050
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

5×11×137 Posts
Default

Quote:
Originally Posted by flashjh View Post
I agree, but was falsely under the impression that the shift was what was missing to allow 1st-time and DCs on the same exponent. Your suggestion is heard loud and clear, but we need to know what ideas can be implemented to allow for both checks. Ideas?
We have 3 options that I see:

1) Disallow CUDALucas from double-checking CUDALucas results (the status quo).
2) Allow double-checks as long as the shift counts are different. The downside: it is real easy to forge a double-check.
3) Add a security code to the CUDALucas final result output (a simple hash of the exponent and shift count). This code could be secret, which isn't allowed if CUDALucas is GPL. Those building executables would be entrusted with the secret code. Or, the code can be public. At least a forger of results has to go to the trouble of reading C code.

There is an optional add-on to options 2 and 3. The Primenet server and/or GPU72 server can be upgraded to only give double-check exponents that were first tested by prime95.
Prime95 is online now   Reply With Quote
Old 2013-11-30, 22:12   #2051
chalsall
If I May
 
chalsall's Avatar
 
"Chris Halsall"
Sep 2002
Barbados

9,767 Posts
Default

Quote:
Originally Posted by Prime95 View Post
1) Disallow CUDALucas from double-checking CUDALucas results (the status quo).

There is an optional add-on to options 2 and 3. The Primenet server and/or GPU72 server can be upgraded to only give double-check exponents that were first tested by prime95.
I would like to argue that Option #1 is the only one which guarantees the integrity of the GIMPS knowledge of the status of MPs. Or, at least, doesn't leave it wide-open to attack. There are rarely times where security through obscurity is warranted, but this might be one of them. (Anyone good with a de-compiler / dis-assembler could still break this thing, though...)

Towards the end of not wasting resources, I will add to the top of my todo list to implement an additional option on the GPU72 manual assignment page: For CPU, For GPU.

Last fiddled with by chalsall on 2013-11-30 at 22:22 Reason: s/secrecy/obscurity/ Duhhh...
chalsall is online now   Reply With Quote
Old 2013-11-30, 22:24   #2052
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

5×11×137 Posts
Default

Quote:
Originally Posted by chalsall View Post
I would like to argue that Option #1 is the only one which guarantees the security of the GIMPS knowledge of the status of MPs.
I don't disagree, except that we are already vulnerable. Prime95 uses option 3 with "secret" code. Will we make matters any worse by giving CUDALucas the exact same vulnerability?
Prime95 is online now   Reply With Quote
Old 2013-11-30, 22:26   #2053
chalsall
If I May
 
chalsall's Avatar
 
"Chris Halsall"
Sep 2002
Barbados

9,767 Posts
Default

Quote:
Originally Posted by Prime95 View Post
Will we make matters any worse by giving CUDALucas the exact same vulnerability?
Perhaps this vulnerability should be closed.
chalsall is online now   Reply With Quote
Old 2013-12-01, 03:10   #2054
kladner
 
kladner's Avatar
 
"Kieren"
Jul 2011
In My Own Galaxy!

100111101011102 Posts
Default

Quote:
Originally Posted by kladner View Post
Yes. Win 7 Pro, 64 bit. 331.82 drivers.
Updated driver to 331.93 BETA. No noticeable difference.

r48 seems determined to output each check point on two line, no matter how wide the CMD box.
kladner is offline   Reply With Quote
Old 2013-12-01, 03:13   #2055
flashjh
 
flashjh's Avatar
 
"Jerry"
Nov 2011
Vancouver, WA

1,123 Posts
Default

Quote:
Originally Posted by kladner View Post
Updated driver to 331.93 BETA. No noticeable difference.

r48 seems determined to output each check point on two line, no matter how wide the CMD box.
It always scrolled over two lines anyway, so I added a newline to make it easier to read. Are you on windows or linux?

Edit: I'll remove the newline on the next commit.

Last fiddled with by flashjh on 2013-12-01 at 03:23
flashjh is offline   Reply With Quote
Old 2013-12-01, 03:42   #2056
kladner
 
kladner's Avatar
 
"Kieren"
Jul 2011
In My Own Galaxy!

100111101011102 Posts
Default

Quote:
Originally Posted by flashjh View Post
It always scrolled over two lines anyway, so I added a newline to make it easier to read. Are you on windows or linux?

Edit: I'll remove the newline on the next commit.
No biggy. I just wanted to confirm that it is not a malfunction.

EDIT: Can it be made an option, to split or not to split?

Last fiddled with by kladner on 2013-12-01 at 03:44
kladner is offline   Reply With Quote
Old 2013-12-01, 03:49   #2057
flashjh
 
flashjh's Avatar
 
"Jerry"
Nov 2011
Vancouver, WA

1,123 Posts
Default

It's no problem. Changes are posted on sourceforge. If anything else needs updating, etc. just post it and I'll include it in a future commit.

I want to bring in the custom output formatting from mfactx, so I'll also look at line breaks, also. That will also allow for adding username and computer id to the results file line.
flashjh is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Don't DC/LL them with CudaLucas LaurV Data 131 2017-05-02 18:41
CUDALucas / cuFFT Performance on CUDA 7 / 7.5 / 8 Brain GPU Computing 13 2016-02-19 15:53
CUDALucas: which binary to use? Karl M Johnson GPU Computing 15 2015-10-13 04:44
settings for cudaLucas fairsky GPU Computing 11 2013-11-03 02:08
Trying to run CUDALucas on Windows 8 CP Rodrigo GPU Computing 12 2012-03-07 23:20

All times are UTC. The time now is 21:03.


Sun Aug 1 21:03:49 UTC 2021 up 9 days, 15:32, 0 users, load averages: 1.58, 1.52, 1.51

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.