mersenneforum.org  

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

Reply
 
Thread Tools
Old 2011-12-02, 10:02   #1
ET_
Banned
 
ET_'s Avatar
 
"Luigi"
Aug 2002
Team Italia

5×7×139 Posts
Default To SLI or not to SLI?

If you have 2 GPUs on your system, should you run 2 instances of mfaktc (one for each GPU) or 1 instance with the boards set in SLI?

Guess it's been already asked, but I forgot the answer...

maybe worth to put it in the "GPU for dummies" document?

Luigi
ET_ is offline   Reply With Quote
Old 2011-12-02, 10:13   #2
TheJudger
 
TheJudger's Avatar
 
"Oliver"
Mar 2005
Germany

111510 Posts
Default

Hello Luigi,

AFAIK you can't use SLI for CUDA, you'll allways have multiple GPUs do deal with, not a virtuall big GPU.

Oliver
TheJudger is offline   Reply With Quote
Old 2011-12-02, 14:14   #3
bcp19
 
bcp19's Avatar
 
Oct 2011

7×97 Posts
Default

Quote:
Originally Posted by ET_ View Post
If you have 2 GPUs on your system, should you run 2 instances of mfaktc (one for each GPU) or 1 instance with the boards set in SLI?

Guess it's been already asked, but I forgot the answer...

maybe worth to put it in the "GPU for dummies" document?

Luigi
Also, depending on the GPUs you will probably need 2 instances of mfaktc/o just to max each GPU.
bcp19 is offline   Reply With Quote
Old 2011-12-02, 17:17   #4
LaurV
Romulan Interpreter
 
LaurV's Avatar
 
"name field"
Jun 2011
Thailand

101000001100112 Posts
Default

I have 2 GPU's and I DO use them in SLI, as the computer is much faster for OTHER activities in this configuration (AutoCad, SolidWorks, Altium Protel, etc). This has nothing to do with CudaLucas or Mfaktc, which are "small" things, and working in double precision. SLI addresses BIG things, like matrix multiplications, 2D/3D transformations (rotations of millions of 3D points in the same time, for example), mesh/2D/3D rendering and other stuff, and generally SINGLE precision, very-very-very fast single precision stuff. See the video demos on nVidia site, and the FAQs. SLI transmits "syncho, pixels and display data" over the SLI connection, therefore taking the burden out from the PCIe slot. Single precision calculus for video data can be scaled and split between few cards, therefore it is executed few times faster in parallel in all cards (SLI antialiasing, rendering, etc). CudaLucas uses double precision and it is not really aware of your SLI. It will still use ONE GPU only, always the first one, no matter how many copies you run, all of them will fight over the resources of your first GPU, the other one will stay empty even if you have SLI, and you will need the -D switch to force CudaLucas to run on the second (or third, etc) card. And mfaktc is even smaller, you can not max one GPU with only one instance of it. You need more instances to maximize one, and you will need two times more to maximize two GPU's, so it is not exactly the thing that would be aware (and extend itself under all of the blanket) of your SLI. You still can execute 100 copies of mfaktc on the same GPU and keep the second one empty, to be used for something else. No comment about the lousy performance you will get, this is just as an example. They communicate over PCIe, not over SLI wires.

With or without SLI makes no difference for CL and mfaktc on my computer. But using SLI is better for other bigger stuff (mentioned above) which IT IS "SLI-aware". Try fold-it for example, as an example of DC (distributed computing) game-like stuff, that take advantages of SLI, and see the difference when you wiggle and shake that molecules with or without SLI. There is also no difference in running CL or mfaktc if I set the physx on one gpu or on the other, or even set physx on mainboard, which has its own intel video card with intel GPU (unfortunately it can't run cuda :P) and let the two GPU's free, CL and mfaktc still run at the same speed.

Last fiddled with by LaurV on 2011-12-02 at 17:19
LaurV is offline   Reply With Quote
Old 2011-12-02, 20:14   #5
Dubslow
Basketry That Evening!
 
Dubslow's Avatar
 
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88

3×29×83 Posts
Default

Quote:
Originally Posted by LaurV View Post
And mfaktc is even smaller, you can not max one GPU with only one instance of it. You need more instances to maximize one, and you will need two times more to maximize two GPU's, so it is not exactly the thing that would be aware (and extend itself under all of the blanket) of your SLI.
Actually, one instance puts my card at about 80% load, and it's not worth the extra CPU core to add another.
Dubslow is offline   Reply With Quote
Reply



All times are UTC. The time now is 15:09.


Fri Jul 7 15:09:15 UTC 2023 up 323 days, 12:37, 0 users, load averages: 1.00, 1.13, 1.14

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.

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