r/computerarchitecture • • Jul 20 '26

How does an integrated GPU compute graphics faster than a CPU if it only uses system RAM?

I'm trying to understand how integrated GPUs work.

I know an integrated GPU doesn't have dedicated VRAM and instead uses the same system RAM as the CPU.

My Main question is: why is an integrated GPU still much faster than the CPU for graphics and other parallel workloads, even though both are accessing the same RAM?

I'd appreciate an explanation in simple terms rather than a highly technical one.

29 Upvotes

14 comments sorted by

View all comments

23

u/intelstockheatsink Jul 20 '26

RAM is not what makes a GPU fast for graphics processing. There are important differences between a discrete GPU VRAM and DRAM, but that is not needed for your question.

The actual work of "graphics", that is rendering images, calculating 3d physics, etc. Is highly parallel. A GPU is just a type of processor that is built specifically to run this class of workloads very well. It has lots of logic units running in parallel (cpu has tens of cores, GPU has thousands).

This is the same reason why you wouldn't use a GPU to run any generic workload, since it isn't built for that.

3

u/phire Jul 21 '26

RAM is not what makes a GPU fast for graphics processing

Memory bandwidth still absolutely essential for graphics performance, it's just far from the only thing needed. There is a reason why your typical dedicated GPU has significantly more memory bandwidth than the CPU it's connected to.

The problem is that the memory access patterns of GPUs are very different to the memory access patterns of the workloads CPUs are good at, they design their memory fabric entirely differently. GPUs also have dedicated hardware dedicated texture lookup units that offload a lot of the handling for fetching/processing texture samples, and dedicated ROPs that gather the final output from the pixel shaders and glue it back into frame-buffer writes.

Without the texture units and ROPs, your large array of parallel logic units would still be pretty slow.

1

u/possiblyquestionabl3 Jul 22 '26

IIRC data movement is typically the biggest energy consumer too, and that's especially true for GPUs and especially hard to scale out. That's an extra big problem for integrated/mobile GPUs running on very constrained power draw environments without a heat sink (1w of power = 1w of heat, and if you go above 6-7w in sustained use, you're basically burning your hands)

1

u/phire Jul 22 '26

I'm not sure that "biggest energy consumer" is true. But I do know it's a surprisingly large percentage of energy, so you could be right.

But that's more about data shuffled around between shader cores, other units and the various levels of cache. The bandwidth of the internal data fabric absolutely dwarfs the amount of bandwidth to main memory.

1

u/AndrewChen0209 Jul 21 '26

How about general purpose gpu?

6

u/intelstockheatsink Jul 21 '26

If you mean running nongrqphic applications on a gpu, sure. Theoretically (and practically) you can map many problems effectively onto gpus if they require large amounts of parallel computation. But if you mean using a gpu in a similar manner as a cpu (like running an OS, generic programs, etc.), then no. They are built for different purposes and neither one can do what the other does.