TRANSCRIPTIE 🔗
Josh:
00:00
It was the year 1999.
00:03
My family had what everyone had at the time, the family computer.
00:08
I had recently left Fry's Electronics with my mom, a store which is, sadly, no longer
00:14
in business.
00:16
She let me pick out a computer game for Christmas, and I picked NASCAR 2000.
00:21
I was never into NASCAR, but I wanted a cool car game that promised the best graphics.
00:27
If you saw it now, you'd wonder how those graphics could have been considered good,
00:32
but it was the 90s. I made sure to check the back of the box to make sure our family computer met
00:38
the requirements. RAM, CPU, it all looked good. But when I got home and installed it, it didn't
00:46
work. So my dad started looking into it. He talked to some people at work to get some ideas on what to
00:53
do. He kept tinkering for the next few days until finally, on December 31st, 1999, around 8pm, I was
01:03
able to play my game. Ivan had a joystick that one of our family friends gave us, so playing this game
01:10
was a blast. And the part that ended up being the issue was the graphics card. And on a side note,
01:17
this was Y2K, and as everyone sat around with flashlights and emergency supplies for when the
01:24
computers that tracked the year with only two digits instead of four would turn over to the year 2000
01:29
and reset to 00, bringing the entire system as we know it crumbling to the ground. But hey,
01:37
my computer game worked. The piece of a computer that turns bits into graphics, on this episode of
01:45
In The Shell. The wrong thing to do is just go out and buy a computer and then learn about it. You'll
01:51
learn, but you'll learn a lot of things that maybe you didn't want to learn. A computer that you buy
01:56
today will likely be obsolete six months from now, and there's not a dang thing that you can do about it.
02:04
My name is Josh, and I'm able to keep this podcast independent and advertisement-free
02:10
because of support from listeners like you. If you are finding value in what I'm doing here,
02:16
consider becoming a paid supporter at members.sideofburritos.com. And as a thank you,
02:22
members get early access to new videos, ad-free versions of everything, bonus content,
02:27
and access to a live monthly Q&A. Thanks for considering. Now let's get back to the show.
02:34
A GPU, or graphics processing unit, is essentially a specialized processor designed to handle lots of
02:41
calculations at the same time, especially for rendering images and videos. The graphics part
02:47
of its name comes from its original purpose, which is taking on the heavy lifting of drawing everything
02:53
you see on your screen, from the 3D landscapes in video games, to the smooth playback of videos,
02:59
so that the main processor, the CPU, doesn't get bogged down.
03:05
In simple terms, if the CPU is the brain of your computer, that can tackle many different tasks
03:11
one by one, then the GPU is like a muscle that excels at performing hundreds of thousands of tiny tasks
03:18
simultaneously. Modern GPUs contain hundreds to thousands of smaller cores
03:24
that work in parallel, which means they can crunch through data with massive throughput.
03:30
This makes them ideal for tasks that can be broken into many parts done at once,
03:35
like coloring millions of pixels on a screen, or doing the math for 3D graphics and images.
03:41
For example, in a video game, the GPU rapidly calculates lighting, textures, and geometry for
03:48
every frame, drawing complex scenes many times per second. Without a GPU, your CPU would struggle
03:56
to draw graphics and run the game logic at the same time. Over the years, GPUs have also become
04:04
more programmable and flexible. This means that beyond just drawing images, people found ways to use
04:10
GPUs for other computation-heavy tasks, not just graphics. Today, GPUs aren't only for pretty visuals,
04:19
they are central to fields like AI, artificial intelligence, and AI.
04:22
intelligence, which is just a bunch of if statements, I am just kidding, scientific
04:27
simulations, video editing, and more. In fact, the recent AI boom is largely fueled by GPUs
04:35
because training AI models involves tons of math that GPUs handle really well.
04:42
So what's inside a GPU, and how is it different from a CPU under the hood?
04:47
The key is parallel processing. A typical CPU might have 4 to 8 cores, or a dozen or two
04:54
in high-end chips, each designed for general purpose computing, and optimized for doing
05:00
one thing at a time very quickly. A GPU, by contrast, has many more cores, often hundreds
05:07
or thousands, but each core is a bit simpler and focused on a specific kind of operation
05:13
that can be done in-
05:14
parallel. For instance, an advanced graphics card today might have over 20,000 individual
05:20
processing cores on one chip. For comparing GPUs and CPUs, you can think of it this way.
05:27
If you have a huge task that can be split into lots of identical subtasks, a GPU shines.
05:34
Imagine painting a giant mural composed of thousands of small tiles. A CPU is like a
05:40
single master painter who paints each tile one by one with great precision. A GPU is like 1,000
05:48
painters working side by side, each quickly coloring their own tiles simultaneously.
05:54
The GPU's approach would finish the mural much faster for this kind of repetitive task.
05:59
In technical terms, GPUs use architectures that allow them to perform the same operation on many
06:06
pieces of data.
06:07
once. This is something called SIMD, Single Instruction Multiple Data or Vector Processing.
06:14
It's perfect for graphics, where say the same shading calculation
06:19
needs to be applied to millions of pixels, or the same geometric transform to thousands of vertices.
06:26
To enable this parallel processing, GPUs are optimized in a few ways.
06:30
They have wide memory buses and
Load full transcript
specialized memory, VRAM, to feed the data to all those
06:37
cores at high speed. VRAM, or video RAM, is the dedicated memory on a graphics card that stores
06:45
things like textures, images, and other data the GPU is working on, so that the data is close by
06:52
and can be accessed extremely quickly. If the GPU had to constantly reach out to your regular system
06:58
RAM over the motherboard.
06:59
it would be too slow. The trade-off with the GPU's design is that its cores are not as flexible
07:06
or as fast at single threaded tasks as a CPU's core. It's not an exaggeration to say that GPUs
07:14
are in high demand today. Gamers covet powerful GPUs because a better GPU means higher game detail,
07:22
smoother frame rates, and the ability to play at high resolutions or on multiple monitors.
07:28
But beyond the traditional graphics uses, GPUs have entered the godlike tier because of AI and
07:35
machine learning. Because how are you supposed to survive without a fridge that has AI built in
07:41
to tell you that you are running low on something? You can't possibly be expected to open the door
07:46
and look. Training a modern deep learning model involves doing billions of dollars.
07:52
of math operations. CPUs can do this, but GPUs do it far faster. This has made GPUs indispensable
08:00
for AI research and development, and for companies committed to losing money, never making a profit,
08:07
and stealing information, also known as open AI. This exploding AI demand, since around late 2022,
08:16
has led to companies grabbing as many high-end GPUs as they can, often before they even leave
08:22
the factory. Another big demand driver a few years ago was cryptocurrency mining. Certain
08:28
cryptocurrencies could be mined efficiently with GPUs, and during crypto booms, miners purchased
08:34
GPUs in large quantities, causing prices to skyrocket. The mid-1990s saw the rise of the
08:42
first 3D graphics cards for PCs.
08:44
Companies like 3DFX, with its Voodoo cards, and ATI, which is now part of AMD, created
08:51
add-in cards that could render 3D graphics much faster than any CPU could, enabling a
08:57
new era of PC gaming with smooth 3D visuals.
09:01
The term GPU itself was popularized in 1999 by NVIDIA.
09:07
That year, NVIDIA introduced the GeForce 256, marketing it as the world's first graphical
09:14
processing unit.
09:16
Over about two decades, GPUs went from a niche add-on for playing Quake 3 Arena in high detail
09:22
to a cornerstone of modern computing.
09:26
GPUs have truly graduated from being the graphics sidekick of the CPU to driving the future of
09:33
tech.
09:35
In the Shell is written,
09:37
Researched and recorded by me, the Parallel Processing Podcaster, PPP for short.
09:44
If you're listening in an app that lets you rate shows, please take a minute to rate this one.
09:50
I would truly appreciate it.
09:53
I miss the days when GPUs used to generate graphics.
09:58
Now, they just generate opinions.
10:01
That's it. Take care, and I'll see you next time.
10:09
Thank you.