mersenneforum.org  

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

Reply
 
Thread Tools
Old 2019-05-21, 07:44   #2784
ET_
Banned
 
ET_'s Avatar
 
"Luigi"
Aug 2002
Team Italia

10011000000012 Posts
Default

Quote:
Originally Posted by flashjh View Post
Hello all!

I compiled a new windows CUDALucas 2.06 for all CUDA 4.0 - 10.1. Support for win32 ended at CUDA 6.5.

No big changes, removed nmvl requirement and made small updates for new CUDA versions.

2.06 is here

Lib files are here, if you need them

I was able to do basic testing, but please test thoroughly before using for production.

Everyone, let me know what you find that needs to be fixed and what you would like changed.

~Cheers
We would love to see a Linux version, either executable or at least updated source code as well
ET_ is offline   Reply With Quote
Old 2019-05-21, 13:08   #2785
kriesel
 
kriesel's Avatar
 
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest

782410 Posts
Default

Quote:
Originally Posted by ATH View Post
It is an old Titan Black and it mostly happened when I used CUDA 5.0 version of CUDALucas, so I stopped using that version. But I'm about to scrap this card now, it keeps giving bad results randomly even though when I test it with GPUmemtest and CUDALucas extended self tests and mfaktc extended self tests there are no errors.
Which versions/build dates of CUDALucas do you see this on?
Windows or linux, version?
kriesel is online now   Reply With Quote
Old 2019-05-21, 14:34   #2786
ATH
Einyen
 
ATH's Avatar
 
Dec 2003
Denmark

1101011111002 Posts
Default

Windows version of CUDALucas 2.06 but it happened for both CUDA 5.5, 8.0, 10.1 and both for a version I compiled myself and the "official" compiled version from the site.

It must be some very small error on the card even though it passes all benchmarks and RAM tests. I stopped trying to run CUDALucas on it, doing a bit of TF with mfaktc, and it does find factors and find all the factors in the extended mfaktc benchmark.

The only real mem test for GPU I could find was GpuMemTest, but it only tests 4GB out of the 6GB on the card:
http://www.programming4beginners.com/gpumemtest

Others I tried were not real mem tests, but only stress tests of the GPU. I wish there was a gpu mem test you could run for 24+ hours and test all the RAM like the RAM tests for normal RAM. This one only takes ~1 min and have to be restarted again.
ATH is offline   Reply With Quote
Old 2019-05-21, 18:51   #2787
kriesel
 
kriesel's Avatar
 
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest

24×3×163 Posts
Default

Quote:
Originally Posted by ATH View Post
The only real mem test for GPU I could find was GpuMemTest, but it only tests 4GB out of the 6GB on the card:
http://www.programming4beginners.com/gpumemtest

Others I tried were not real mem tests, but only stress tests of the GPU. I wish there was a gpu mem test you could run for 24+ hours and test all the RAM like the RAM tests for normal RAM. This one only takes ~1 min and have to be restarted again.
I use the CUDALucas -memtest option. Go for as many 25MB blocks as it will run on the gpu. It needs a bit of space for the gpu program itself. Running that and redirecting the output to disk is a standard part of my startup of any newly acquired gpu. Run it briefly to get a sense of speed, then decide how many iterations to specify based on a total run time computation.
From the 2.05.1 readme:
Code:
-memtest s i           s = # of chunks of memory
                       i = number of iterations

                       tests s 25MB chunks of memory doing i repetitions of
                       a 100,000 iteration loop on each of 5 different LL
                       test related sets of data. Each iteration consists
                       of copying a 25MB chunk of data, then re-reading
                       and comparing that copy to the original.
Memory space coverage as complete as possible is necessary. I found on a card I had previously tested only the first 250MB of, that P-1 and CUDALucas were unreliable. Max-practical-address-space testing showed lots of memory errors in the middle third of the gpu ram address space. Locations (blocks with errors, and so conversely blocks without errors) were very repeatable run to run, near 100%.
More details on that gpu at the GPU RIP thread https://www.mersenneforum.org/showth...561#post490561

Last fiddled with by kriesel on 2019-05-21 at 19:26
kriesel is online now   Reply With Quote
Old 2019-05-21, 19:02   #2788
chalsall
If I May
 
chalsall's Avatar
 
"Chris Halsall"
Sep 2002
Barbados

2·112·47 Posts
Default

Quote:
Originally Posted by kriesel View Post
I found on a card I had previously tested only the first 250MB of, that P-1 and CUDALucas were unreliable. Max-practical-address-space testing showed lots of memory errors in the middle third of the gpu ram address space. Locations (blocks with errors, and so conversely blocks without errors) were very repeatable run to run, near 100%.
GIMPS. We don't just find prime numbers, we also ensure sanity of kit (for those who care)!
chalsall is offline   Reply With Quote
Old 2019-05-21, 21:06   #2789
ATH
Einyen
 
ATH's Avatar
 
Dec 2003
Denmark

22×863 Posts
Default

Quote:
Originally Posted by kriesel View Post
I use the CUDALucas -memtest option. Go for as many 25MB blocks as it will run on the gpu. It needs a bit of space for the gpu program itself. Running that and redirecting the output to disk is a standard part of my startup of any newly acquired gpu. Run it briefly to get a sense of speed, then decide how many iterations to specify based on a total run time computation.
Thanks, I never really noticed that option. It survived one pass with no errors, but I will let it run over night or longer.

Quote:
CUDA reports 5117M of 6144M GPU memory free.

Initializing memory test using 5075MB of memory on device 0...
Beginning test.
Anyone know why there is only 5117MB / 6144MB free when I'm just on the Windows Desktop not running anything. I can only test 5075 MB of the 5117 MB, so I assume the program uses the difference.
ATH is offline   Reply With Quote
Old 2019-05-21, 21:36   #2790
kriesel
 
kriesel's Avatar
 
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest

24·3·163 Posts
Default

Quote:
Originally Posted by ATH View Post
Thanks, I never really noticed that option. It survived one pass with no errors, but I will let it run over night or longer.

Anyone know why there is only 5117MB / 6144MB free when I'm just on the Windows Desktop not running anything. I can only test 5075 MB of the 5117 MB, so I assume the program uses the difference.
My impression is CUDALucas in -memtest mode only needs 50-100MB for itself, and can test whatever of the rest is available.
Three other things that come to mind using up memory: ECC, any other gpu app running, and Windows display. What does NVIDIA-SMI.exe say about it? Sample:

Code:
"C:\Program Files\NVIDIA Corporation\NVSMI\nvidia-smi.exe"
Mon May 20 19:43:17 2019
+------------------------------------------------------+
| NVIDIA-SMI 353.30     Driver Version: 353.30         |
|-------------------------------+----------------------+----------------------+
| GPU  Name            TCC/WDDM | Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  Tesla C2075         TCC  | 0000:06:00.0     Off |                    0 |
| 60%   87C    P0     0W / 225W |    175MiB /  5375MiB |     99%      Default |
+-------------------------------+----------------------+----------------------+
|   1  Quadro K4000       WDDM  | 0000:42:00.0     Off |                  N/A |
| 50%   85C    P0    60W /  87W |    350MiB /  3072MiB |     99%      Default |
+-------------------------------+----------------------+----------------------+
That Tesla is a 6GB gpu, with ECC enabled, costing 3/4GB. In its initial memory test run of CUDALucas, it said this:
Code:
CUDA reports 5316M of 5375M GPU memory free.
Reducing size to 212

Initializing memory test using 5300MB of memory on device 0...
You may want to close (end process) command prompt boxes that previously had gpu apps running in them, in case some memory allocation didn't get cleaned up from the perspective of the OS. I'm curious what's happening with that other GB.


On another gpu (no monitor attached to it),
Code:
CUDA reports 10988M of 11264M GPU memory free.

Initializing memory test using 10750MB of memory on device 0...

Last fiddled with by kriesel on 2019-05-21 at 22:01
kriesel is online now   Reply With Quote
Old 2019-05-21, 22:41   #2791
ATH
Einyen
 
ATH's Avatar
 
Dec 2003
Denmark

22·863 Posts
Default

Code:
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 430.39       Driver Version: 430.39       CUDA Version: 10.1     |
|-------------------------------+----------------------+----------------------+
| GPU  Name            TCC/WDDM | Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  GeForce GTX TIT... WDDM  | 00000000:02:00.0  On |                  N/A |
| 59%   55C    P0    97W / 250W |    185MiB /  6144MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
It is only using 185MiB / 6144 MiB, but still only 5117MiB free.

Which is close to 5 GiB = 5*1024 MiB = 5120 MiB, so I thought it might be max for CUDALucas, but I can see your test is using 10750MB...

Anyway I'll keep testing those 5075MB I can test.

Last fiddled with by ATH on 2019-05-21 at 22:42
ATH is offline   Reply With Quote
Old 2019-05-22, 00:06   #2792
kriesel
 
kriesel's Avatar
 
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest

24×3×163 Posts
Default

Quote:
Originally Posted by ATH View Post
Code:
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 430.39       Driver Version: 430.39       CUDA Version: 10.1     |
|-------------------------------+----------------------+----------------------+
| GPU  Name            TCC/WDDM | Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  GeForce GTX TIT... WDDM  | 00000000:02:00.0  On |                  N/A |
| 59%   55C    P0    97W / 250W |    185MiB /  6144MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
It is only using 185MiB / 6144 MiB, but still only 5117MiB free.

Which is close to 5 GiB = 5*1024 MiB = 5120 MiB, so I thought it might be max for CUDALucas, but I can see your test is using 10750MB...

Anyway I'll keep testing those 5075MB I can test.
Windows 10 v1709 or later? This is interesting, but may work differently on the display driving gpu's memory usage or igp than discrete or nondisplay gpu. https://www.techjunkie.com/watch-gpu-usage-windows-10/ Use with caution, as I've seen anomalies in its output. For example, on a laptop with an igp set to do the display work, and also a GTX1050Ti, it shows 99% usage of the gpu (igp) on mfakto; 0% on either mfaktc running on the GTX1050Ti; 80MB dedicated each mfaktc process, 24K on the mfakto process (perhaps its footprint is all in system memory).
kriesel is online now   Reply With Quote
Old 2019-09-05, 13:33   #2793
AlsXZ
 
Oct 2009
Ukraine

32 Posts
Default

Hello! Could you help me to find linux binary of last version CUDALucas? I can't see it. Thanks.
AlsXZ is offline   Reply With Quote
Old 2019-09-06, 19:58   #2794
kriesel
 
kriesel's Avatar
 
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest

172208 Posts
Default

Quote:
Originally Posted by AlsXZ View Post
Hello! Could you help me to find linux binary of last version CUDALucas? I can't see it. Thanks.
It's my understanding that usually those using linux compile their own. But there's a CUDA 9.1 linux build at https://download.mersenne.ca/CUDALucas/old
kriesel is online now   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 15:22.


Fri Jul 7 15:22:03 UTC 2023 up 323 days, 12:50, 0 users, load averages: 1.12, 1.10, 1.09

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, 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.

≠ ± ∓ ÷ × · − √ ‰ ⊗ ⊕ ⊖ ⊘ ⊙ ≤ ≥ ≦ ≧ ≨ ≩ ≺ ≻ ≼ ≽ ⊏ ⊐ ⊑ ⊒ ² ³ °
∠ ∟ ° ≅ ~ ‖ ⟂ ⫛
≡ ≜ ≈ ∝ ∞ ≪ ≫ ⌊⌋ ⌈⌉ ∘ ∏ ∐ ∑ ∧ ∨ ∩ ∪ ⨀ ⊕ ⊗ 𝖕 𝖖 𝖗 ⊲ ⊳
∅ ∖ ∁ ↦ ↣ ∩ ∪ ⊆ ⊂ ⊄ ⊊ ⊇ ⊃ ⊅ ⊋ ⊖ ∈ ∉ ∋ ∌ ℕ ℤ ℚ ℝ ℂ ℵ ℶ ℷ ℸ 𝓟
¬ ∨ ∧ ⊕ → ← ⇒ ⇐ ⇔ ∀ ∃ ∄ ∴ ∵ ⊤ ⊥ ⊢ ⊨ ⫤ ⊣ … ⋯ ⋮ ⋰ ⋱
∫ ∬ ∭ ∮ ∯ ∰ ∇ ∆ δ ∂ ℱ ℒ ℓ
𝛢𝛼 𝛣𝛽 𝛤𝛾 𝛥𝛿 𝛦𝜀𝜖 𝛧𝜁 𝛨𝜂 𝛩𝜃𝜗 𝛪𝜄 𝛫𝜅 𝛬𝜆 𝛭𝜇 𝛮𝜈 𝛯𝜉 𝛰𝜊 𝛱𝜋 𝛲𝜌 𝛴𝜎𝜍 𝛵𝜏 𝛶𝜐 𝛷𝜙𝜑 𝛸𝜒 𝛹𝜓 𝛺𝜔