mersenneforum.org  

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

Reply
 
Thread Tools
Old 2011-03-02, 13:09   #210
Honza
 
Honza's Avatar
 
Feb 2011

101002 Posts
Default

Upgraded nVidia drivers to 266.58 (from 263.09) and llrCUDA (old version 0.55 from 20/02/2011) works fine on Win 7 x64/GTX 580.
Code:
46157*2^698207+1 is prime!  Time : 327.452 sec..  Time per bit: 0.466 ms.
But large exponents make app crash.
Code:
llrcuda.exe -d -q"19249*2^13018586+1"
Starting Proth prime test of 19249*2^13018586+1
Using complex irrational base DWT, FFT length = 2097152, a = 3
...and crash

Last fiddled with by Honza on 2011-03-02 at 13:17
Honza is offline   Reply With Quote
Old 2011-03-17, 02:29   #211
zyzhan
 
Feb 2011

3 Posts
Default

Quote:
Originally Posted by Honza View Post
Upgraded nVidia drivers to 266.58 (from 263.09) and llrCUDA (old version 0.55 from 20/02/2011) works fine on Win 7 x64/GTX 580.
Code:
46157*2^698207+1 is prime!  Time : 327.452 sec..  Time per bit: 0.466 ms.
But large exponents make app crash.
Code:
llrcuda.exe -d -q"19249*2^13018586+1"
Starting Proth prime test of 19249*2^13018586+1
Using complex irrational base DWT, FFT length = 2097152, a = 3
...and crash
Llr.c
Code:
#ifdef    WIN32
  giant initgiants = newgiant (1<<26);    // "1<<26" is big enough for ~60M  number, original:"giant initgiants = newgiant (1<<19);"
Attached Files
File Type: zip llrcuda.0.60.win64.zip (242.8 KB, 203 views)
zyzhan is offline   Reply With Quote
Old 2011-03-17, 05:57   #212
msft
 
msft's Avatar
 
Jul 2009
Tokyo

2·5·61 Posts
Default

Quote:
Originally Posted by zyzhan View Post
Llr.c
Code:
#ifdef    WIN32
  giant initgiants = newgiant (1<<26);    // "1<<26" is big enough for ~60M  number, original:"giant initgiants = newgiant (1<<19);"
Great work thank you,
msft is offline   Reply With Quote
Old 2011-03-17, 19:14   #213
ltd
 
ltd's Avatar
 
Apr 2003

22·193 Posts
Default

@zyzhan: Can you post the sourcecode plus the project file you created.
I want to find out why your code is running even on my system without any problem where my own tests all failed to run.

On my GTX260 it runs with only 2% of CPU usage and 95% GPU usage. Which is brilliant. Driver Version used: 267.24

46157*2^698207+1 is prime! Time : 898.752 sec.. Time per bit: 1.329 ms.

I think this is a good time for this rather old GPU.
ltd is offline   Reply With Quote
Old 2011-03-17, 22:24   #214
Honza
 
Honza's Avatar
 
Feb 2011

22×5 Posts
Default

Thanks for this build - CPU usage is low, GPU is high and large numbers are not crashing :-)
Honza is offline   Reply With Quote
Old 2011-03-18, 02:07   #215
zyzhan
 
Feb 2011

310 Posts
Default

@ltd:I didn't do anything to the code except add some definition to avoid build error. and change the max size of gian at the giant initialization routine like i said before.

win7 x64, vs2008 sp1, cuda 3.2, driver 266.58, GT440

@Honza:u are welcome. but the host memory usage is very high and the speed is slow, only 25ms/iter,while i do proth prime test "19249*2^13018586+1". maybe my GT440 problem.
Attached Files
File Type: zip llrcuda_win64src.zip (130.2 KB, 151 views)

Last fiddled with by zyzhan on 2011-03-18 at 02:08
zyzhan is offline   Reply With Quote
Old 2011-03-18, 03:34   #216
msft
 
msft's Avatar
 
Jul 2009
Tokyo

26216 Posts
Default

Sorry I can not support now.(Tokyo need save electric power.)
I guess zyzhan's change is OK.
msft is offline   Reply With Quote
Old 2011-03-18, 06:23   #217
pschoefer
 
pschoefer's Avatar
 
Jan 2007
.de

2×32 Posts
Default

I still see one full CPU core used (i7 980X, GTX470, Win7 Prof.). However, I'm still using driver 260.99, maybe an update will fix it.
pschoefer is offline   Reply With Quote
Old 2011-03-18, 07:25   #218
ltd
 
ltd's Avatar
 
Apr 2003

22×193 Posts
Default

Thanks for the data. I will check the differences in the evening.
For my build I also only changed the definitions. So I think I messed up something with the CUDA build options. I did not change anything in the options but maybe I did choose the wrong "project type". We will see.

Quote:
Originally Posted by zyzhan View Post
@ltd:I didn't do anything to the code except add some definition to avoid build error. and change the max size of gian at the giant initialization routine like i said before.

win7 x64, vs2008 sp1, cuda 3.2, driver 266.58, GT440

@Honza:u are welcome. but the host memory usage is very high and the speed is slow, only 25ms/iter,while i do proth prime test "19249*2^13018586+1". maybe my GT440 problem.
ltd is offline   Reply With Quote
Old 2011-03-18, 07:29   #219
ltd
 
ltd's Avatar
 
Apr 2003

22×193 Posts
Default

Quote:
Originally Posted by pschoefer View Post
I still see one full CPU core used (i7 980X, GTX470, Win7 Prof.). However, I'm still using driver 260.99, maybe an update will fix it.
Is that all the way through the test or only in the first seconds (or on large numbers in the first few minutes?)
When I test large numbers at first I also see a complete core used but later I see that there is no load on the CPU core anymore. If the CPU load stays high at the time when the first "x.yz% done" message is displayed it might be an option to update your driver as latest then I see the drop in CPU load.

Last fiddled with by ltd on 2011-03-18 at 07:29
ltd is offline   Reply With Quote
Old 2011-03-18, 08:04   #220
pschoefer
 
pschoefer's Avatar
 
Jan 2007
.de

1216 Posts
Default

Quote:
Originally Posted by ltd View Post
Is that all the way through the test or only in the first seconds (or on large numbers in the first few minutes?)
When I test large numbers at first I also see a complete core used but later I see that there is no load on the CPU core anymore. If the CPU load stays high at the time when the first "x.yz% done" message is displayed it might be an option to update your driver as latest then I see the drop in CPU load.
CPU load stayed that high.

After update to driver 267.24, CPU load went down to 1/8 of one core. Unfortunately, GPU load is only ~40%, if all CPU cores are under load. With one core idle, GPU load is at 98%.
pschoefer is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
LLRcuda shanecruise Riesel Prime Search 8 2014-09-16 02:09
LLRCUDA - getting it to work diep GPU Computing 1 2013-10-02 12:12

All times are UTC. The time now is 23:22.


Fri Aug 6 23:22:38 UTC 2021 up 14 days, 17:51, 1 user, load averages: 3.72, 3.98, 4.01

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.