Any suggestions on GPU choice?

seewo
seewo
Joined: 7 Oct 22
Posts: 14
Credit: 96,849,184
RAC: 177,928
Topic 230368

I'm considering buying a new computer. Is EAH FP64-intense? If so NVIDIA cards are not a good choice. More precisely, is 4060 better than 6700XT?

Keith Myers
Keith Myers
Joined: 11 Feb 11
Posts: 4,751
Credit: 17,678,626,946
RAC: 5,762,847

Not really. Any FP64 work on

Not really. Any FP64 work on the gpu is offloaded to the cpu at the last 10% of the task runtime to develop the candidate top-list. Admins and project researchers feel that gpu FP64 is not of sufficient precision so that is why they calculate on the cpu.

The current gpu work responds best to high SM or CU count and high clock frequencies.

Either of those cards would work fine.  Try and find them in the top computers list and compare runtimes.

Though you can't tell from any reported task whether it was run as a singleton on a card or in doubles or triples.  So comparisons can be difficult to suss out any useful information.

 

Scrooge McDuck
Scrooge McDuck
Joined: 2 May 07
Posts: 837
Credit: 16,130,616
RAC: 6,983

Keith Myers schrieb:Not

Keith Myers wrote:
Not really. Any FP64 work on the gpu is offloaded to the cpu at the last 10% of the task runtime to develop the candidate top-list. Admins and project researchers feel that gpu FP64 is not of sufficient precision so that is why they calculate on the cpu.

I don't know much about GPU crunching, but Bernd explained in the "news on BRP7 and FGRPB1" thread in tech news that FP64 is mandatory for BRP7:

Bernd Machenschalk wrote:

[...]

In FGRP double precision is required only in the first stage before the FFT. The app does this on the CPU if the GPU lacks double precision support. In BRP7 double precision is used deeper in the computation, there is not much left to do for the GPU if you do that on the CPU. BRP4 is all single precision, though.

In the early days of GPU computing NVidia could emulate double precision computation in software (using two floats IIRC), but that was CUDA only.

https://einsteinathome.org/de/goto/comment/217599

Ian&Steve C.
Ian&Steve C.
Joined: 19 Jan 20
Posts: 3,711
Credit: 34,646,709,908
RAC: 41,281,101

yeah with FGRPB1G, the FP64

yeah with FGRPB1G, the FP64 final 10% thing wasn't intense and didnt take very long, and it could fail back to CPU.

BRP7 has a larger component of FP64, and needs GPU FP64 for it.

_________________________________________________________________________

Keith Myers
Keith Myers
Joined: 11 Feb 11
Posts: 4,751
Credit: 17,678,626,946
RAC: 5,762,847

OP was just asking which card

OP was just asking which card was better for FP64 and Einstein.  Both cards do FP64 which is required for BPR7.

It just isn't that important overall of which card has better FP64 performance.  The gpu core count and clocks are the primary determiner of performance for the most part.

 

Ian&Steve C.
Ian&Steve C.
Joined: 19 Jan 20
Posts: 3,711
Credit: 34,646,709,908
RAC: 41,281,101

Keith Myers wrote:OP was

Keith Myers wrote:

OP was just asking which card was better for FP64 and Einstein.  Both cards do FP64 which is required for BPR7.

It just isn't that important overall of which card has better FP64 performance.  The gpu core count and clocks are the primary determiner of performance for the most part.



for BRP7, i think the FP64 component is more significant. and for BRP7, it is not offloaded to the CPU.

you can power through a low FP64 spec'd card with good FP32 (like the 4090), but a powerful FP64 card can hang on a bit better vs cards with much better FP32. like Titan V vs 3070/Ti, where the Titan V outperforms the 3070/Ti cards despite having only ~70% of the FP32 performance. and does it at half the power draw.

same with better than expected performance of Radeon VII, Nvidia P100 cards. they punch above their weight class because of the strong FP64.

FP64 matters less i think, but not to a degree that it's insignificant IMO.

_________________________________________________________________________

cecht
cecht
Joined: 7 Mar 18
Posts: 1,432
Credit: 2,468,171,927
RAC: 770,246

After years of wrestling with

After years of wrestling with getting AMDGPU OpenCL drivers to work after each Ubuntu Linux upgrade (and downgrade), I am ready to swap out my two AMD RX 570s for something NVIDIA, like a RTX 3060 Ti, 4060 Ti, or some such. Is there anything I need to be aware of to install and maintain NVIDIA drivers in good working order? Tips? Tricks? Incantations?

 

Ideas are not fixed, nor should they be; we live in model-dependent reality.

Ian&Steve C.
Ian&Steve C.
Joined: 19 Jan 20
Posts: 3,711
Credit: 34,646,709,908
RAC: 41,281,101

you can install the nvidia

you can install the nvidia drivers via apt with something like

sudo apt install nvidia-driver-535

but on Ubuntu, the only caveat with this is that they do unattended and security updates (including the nvidia drivers) without warning. when this happens, they will update the driver even if you're actively crunching and you will error out all of your tasks until you notice and fix it by rebooting.

if you want to stick to apt for package management of the nvidia drivers you can set a hold on the driver package to prevent updates automatically.

sudo apt-mark hold nvidia-driver-535

this will prevent the package from being updated, even through manual updates with apt update && apt upgrade. if at some point you want to update the drivers, you will need to remove the hold, update, then set the hold again.

if you want to have the drivers totally outside of apt, you can install the nvidia .run file, following the instructions like this: https://linuxconfig.org/how-to-install-the-nvidia-drivers-on-ubuntu-22-04
(scroll down to the section labelled "Manual Install using the Official Nvidia.com driver step by step instructions")

_________________________________________________________________________

cecht
cecht
Joined: 7 Mar 18
Posts: 1,432
Credit: 2,468,171,927
RAC: 770,246

Thanks!

Thanks!

Ideas are not fixed, nor should they be; we live in model-dependent reality.

GWGeorge007
GWGeorge007
Joined: 8 Jan 18
Posts: 2,816
Credit: 4,614,255,534
RAC: 3,497,411

cecht wrote: After years of

cecht wrote:

After years of wrestling with getting AMDGPU OpenCL drivers to work after each Ubuntu Linux upgrade (and downgrade), I am ready to swap out my two AMD RX 570s for something NVIDIA, like a RTX 3060 Ti, 4060 Ti, or some such. Is there anything I need to be aware of to install and maintain NVIDIA drivers in good working order? Tips? Tricks? Incantations?

If your computer listings are correct, you're running:

Ubuntu 20.04.5 LTS [5.4.0-42-generic|libc 2.31 (Ubuntu GLIBC 2.31-0ubuntu9.9)] with your two AMD RX 570s on an Intel(R) Pentium(R) Gold G5600 CPU.

Ubuntu 22.04.3 LTS [5.15.0-88-generic|libc 2.35] with no GPU on an Intel(R) Core(TM) i5-9600K CPU.

My recommendations:

I would take out the AMD GPU's' in the Pentium computer and get two 4060Ti GPUs for the i5-9600K CPU computer.  Then update the kernel in that computer to at least 5.19 or later.

Once you've done that, I would also put a 'hold' on the NVIDIA updated drivers after you have gotten the driver 5.35.  (as Ian said)  Then I think that you should be good to go!

I don't think you need any NVIDIA driver later than the 5.35, and it should work well with kernel 5.19.

George

Proud member of the Old Farts Association

Keith Myers
Keith Myers
Joined: 11 Feb 11
Posts: 4,751
Credit: 17,678,626,946
RAC: 5,762,847

I would stop at the 535

I would stop at the 535 driver level.  The latest 545 series is wrought with many bugs and complaints from users.

 

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.