r/GraphicsProgramming • • Jan 05 '23

Question How does VRAM affect computer graphics? (asking since r/nvidia shut down)

We all know MUh Benchmarks, but what do individual aspects of a card do for graphics?

d"cuda cores" no more are apples-to-apples with 3000 series GPUs having a different chipset than 4000 series

0 Upvotes

6 comments sorted by

9

u/0Camus0 Jan 05 '23

r/nvidia is still up, what do you mean?

Your question is too broad, could you be more specific?

Depending if the GPU is integrated or discrete, "VRAM" mean something very different. However, in general VRAM is where all the geometry, textures, frame buffers exists. The faster the access to the resource, the faster something will be drawn.

On Integrated, VRAM is really just system memory (RAM) and it's shared with the CPU. So there is a page walk involved and the latency is high, plus, you are competing with many other devices for access. That's why Integrated GPUs are so slow compared to discrete. The bandwidth is shared and depends on your RAM clocks.

On Discrete, VRAM is the local memory chips, it has its own clock and depending on the technology (GDDR5, GDDR6, etc) it's way faster than the regular RAM. Thus, the bandwidth is higher and the latency is lower. The bandwidth depends on the bus size and the VRAM clock, so larger bus and higher frequencies, means more bandwidth.

This is very high level and I am omitting a lot of details, but overall is how that works.

1

u/[deleted] Jan 05 '23

The sub doesn't allow submissions

Why wouldn't the new 4070 ti be better in some cases than the 3090 ti? What about vice-versa? The 4070 ti has less memory, but is faster in many cases than the 3090 ti. For other cases, it is vice versa

What do Cuda Cores versu TFLOP versus Vram do for colouration, frames per second, etc? PC reviewers will readily give out the data on architecture and makeup of a GPU, but never contextualize when I should care when TFLOPs are lower in a card but it has greater clock speed, etc

4

u/0Camus0 Jan 05 '23 edited Jan 05 '23

> The 4070 ti has less memory, but is faster in many cases than the 3090

Both, the 3090 and the 4070ti use GDDR6X, the bus width however, favors the 3090 with 384 bit vs the 192 bit width of the 4070ti. Both run at the same frequency, so the bandwidth is higher on the 3090, period.

How that affect? well, for memory bound cases like 4k, the 4070ti will have a bottle neck, as simple as that. This is a physical limitation independent of the Software stack (drivers/games) and there is nothing the driver or the GPU could do to change it, except maybe overclocking the 4070ti VRAM to account for the other 192 bit missing, in which case, it will need to be double the frequency, and I doubt that it's practical.

As for how a new architecture will behave on games, that is a different matter and there are so many variables, from driver implementation, hardware/software workarounds etc, that it's not as easy to say 4070ti newer == faster.

It could be that in some games, the architectural changes reduce the time spent doing operations (compared to the 3090) and that offsets the memory bandwidth limitation.

I didn't want to start that discussion, but at the end of the day the GPU executes instructions, in parallel using lots of GPU small threads, the more cuda cores, the more threads running. However, since it's a GPU, it make use of resources, like geometry, textures, etc. Every time that a thread wants to read a texture, it will look in the local cache, and if the page is not there, it will have to read it from VRAM, which means stall the thread until the memory read finishes, and this takes time.

So, the GPU could have 100% utilization, all threads doing work, and at the same time, most of the threads stalled waiting for texture memory. This is how memory affects performance.

Your question might look simple, but the answers are not straightforward. However, if you want a simple answer: If your main use case is 4k or memory intensive games, then go for the 3090ti. If your use case is complex shaders at lower resolution (say 1440/1080), then go for the 4070ti.

2

u/[deleted] Jan 06 '23

the 3090 and the 4070ti use GDDR6X, the bus width however, favors the 3090

Thank you! This is what I wanted to learn about

How that affect? well, for ...4k, the 4070ti will have a bottle neck, as simple as that.

:) So enlightening!

Thank you!

5

u/obp5599 Jan 05 '23

r/nividia shut down?? huh??

d"cuda cores" no more are apples-to-apples with 3000 series GPUs having a different chipset than 4000 series

HUH????? Is google translate screwing you over or something?

1

u/mohragk Jan 06 '23

Modern GPU's are pretty complex. They have different processors that do different things. Memory is just the storage container that stores all the data (textures, vertices, buffers etc.). More memory means you can store bigger textures (needed for 4K), denser meshes and other stuff. The only real impact memory has on performance is when you have too little. The framerate drops to dramatic low counts. Like 5 fps.

The data transfer is also a factor, newer cards have faster memory and wider lanes which just means it can transfer all those textures and vertices a lot faster. The GPU doesn't have to wait as long and can spend more time doing calculations.

But, you can't really tell how fast a card by looking at one aspect alone. It's all the parts combined and how they are hooked up. Benchmarks are the only real practical way to measure how fast a card is.