mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   GPU Computing (https://www.mersenneforum.org/forumdisplay.php?f=92)
-   -   llrCUDA (https://www.mersenneforum.org/showthread.php?t=14608)

Honza 2011-03-02 13:09

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.[/code]

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[/code]

zyzhan 2011-03-17 02:29

1 Attachment(s)
[QUOTE=Honza;254165]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.[/code]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[/code][/QUOTE]

Llr.c
[CODE]#ifdef WIN32
giant initgiants = newgiant (1<<26); // "1<<26" is big enough for ~60M number, original:"giant initgiants = newgiant (1<<19);"
[/CODE]

msft 2011-03-17 05:57

[QUOTE=zyzhan;255381]Llr.c
[CODE]#ifdef WIN32
giant initgiants = newgiant (1<<26); // "1<<26" is big enough for ~60M number, original:"giant initgiants = newgiant (1<<19);"
[/CODE][/QUOTE]

Great work thank you,

ltd 2011-03-17 19:14

@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.

Honza 2011-03-17 22:24

Thanks for this build - CPU usage is low, GPU is high and large numbers are not crashing :-)

zyzhan 2011-03-18 02:07

1 Attachment(s)
[LEFT][COLOR=black]@[URL="http://www.mersenneforum.org/member.php?u=437"][COLOR=green]ltd:[/COLOR][/URL][/COLOR]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.
[/LEFT]

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

@[URL="http://www.mersenneforum.org/member.php?u=12638"]Honza:[/URL]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 [COLOR=#000000]my GT440 problem.[/COLOR]

msft 2011-03-18 03:34

Sorry I can not support now.(Tokyo need save electric power.)
I guess zyzhan's change is OK.:lol:

pschoefer 2011-03-18 06:23

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.

ltd 2011-03-18 07:25

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=zyzhan;255602][LEFT][COLOR=black]@[URL="http://www.mersenneforum.org/member.php?u=437"][COLOR=green]ltd:[/COLOR][/URL][/COLOR]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.
[/LEFT]

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

@[URL="http://www.mersenneforum.org/member.php?u=12638"]Honza:[/URL]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 [COLOR=#000000]my GT440 problem.[/COLOR][/QUOTE]

ltd 2011-03-18 07:29

[QUOTE=pschoefer;255622]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.[/QUOTE]

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.

pschoefer 2011-03-18 08:04

[QUOTE=ltd;255626]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.[/QUOTE]
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%.


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

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.