CPU와 GPU: 지연 시간과 처리량
소수의 큰 코어와 수천 개의 작은 코어가 어떻게 다른지 알아봅니다.
CPU와 GPU: 지연 시간과 처리량은(는) CoddyKit의 무료 CUDA Academy 강의입니다. 이것은 4개 중 1번째 강의입니다. 아래에서 전체 강의를 무료로 읽을 수 있으며, 내장 코드 에디터와 24/7 AI 튜터와 함께 브라우저에서 직접 실습할 수 있습니다. 이 강의는 CUDA Academy 학습 경로의 일부이며, 진행 상황이 웹과 CoddyKit 앱에 동기화됩니다. CUDA Academy 강의에는 총 4개의 강의가 포함되어 있습니다.
이 강의의 일부는 아직 번역되지 않았으며 영어로 표시됩니다.
Two Very Different Chips
A CPU and a GPU both run code, but they are built for opposite goals. One races to finish a single task; the other floods a wall of work all at once. 🏎️
Latency: How Fast One Thing Finishes
Latency is the time it takes to complete one single task from start to end. When you want one answer right now, low latency is what you care about.
Throughput: How Much Finishes Per Second
Throughput is how many tasks you complete per second in total. You can have high throughput even if each single task is a bit slow.
The CPU Is a Latency Machine
A CPU has a few powerful cores with huge caches and clever tricks to rush one task to the finish line as fast as possible.
The GPU Is a Throughput Machine
A GPU trades single-task speed for sheer volume: thousands of small cores chew through enormous batches of work at the same time.
Few Big Cores vs Many Tiny Cores
Think of a CPU as a handful of strong workers and a GPU as an army of thousands of simple ones. Different shapes for different jobs.
The Highway Analogy
A sports car is low latency: one trip is quick. A bus is high throughput: each trip is slower, but it moves far more people per hour. 🚌
Why GPUs Spend Less on Control
CPUs spend transistors on caches and branch prediction. GPUs spend them on raw arithmetic units, so more of the chip is doing actual math.
Hiding Latency Instead of Avoiding It
A GPU does not make each task fast; it hides slow memory waits by instantly switching to other ready work. Idle time gets filled, not removed.
When the CPU Still Wins
For one quick decision, branchy logic, or a task that cannot split up, the low-latency CPU is still the right tool. Volume is not everything.
When the GPU Pulls Ahead
The moment you have the same operation to run over thousands of items, the GPU's massive parallelism turns a long job into a quick one.
Quick Check
Let us pin down the core tradeoff between these two chips.
Recap: Latency vs Throughput
CPUs use a few big cores for low latency; GPUs use thousands of tiny cores for high throughput. Pick the chip that matches the shape of your work. 👍
자주 묻는 질문
“CPU와 GPU: 지연 시간과 처리량” 강의는 무료인가요?
네 — “CPU와 GPU: 지연 시간과 처리량” 전체 내용을 이 웹사이트에서 무료로 읽을 수 있습니다. 인터랙티브하게 실습하려면(내장 코드 에디터와 24/7 AI 튜터), CoddyKit PRO로 업그레이드하면 CUDA Academy 강의 전체를 잠금 해제할 수 있습니다. CUDA Academy 강의에는 총 4개의 강의가 포함되어 있습니다.
“CPU와 GPU: 지연 시간과 처리량”에서 뭘 배우나요?
소수의 큰 코어와 수천 개의 작은 코어가 어떻게 다른지 알아봅니다. 브라우저에서 직접 실행하는 실습 코드로 CUDA Academy을(를) 배우며, 24/7 AI 튜터가 강의를 진행하면서 질문에 답변해줍니다.
CUDA Academy을(를) 시작하는 데 경험이 필요한가요?
사전 경험은 필요하지 않습니다. CoddyKit의 CUDA Academy은(는) 초급자부터 고급 학습자까지를 위해 구성되어 있으므로, 여기서 시작하거나 처음부터 시작할 수 있으며 자신의 속도대로 진행할 수 있습니다. 이것은 4개 중 1번째 강의입니다.
“CPU와 GPU: 지연 시간과 처리량” 강의는 얼마나 걸리나요?
대부분의 CoddyKit 강의는 약 5~10분이 소요됩니다. 각 강의는 간결하고 인터랙티브하여 꾸준한 진행이 가능하며, 웹과 앱에서 중단한 부분부터 바로 시작할 수 있습니다.
이 CUDA Academy 강의에서 코드를 작성하고 실행할 수 있나요?
네. 모든 CUDA Academy 강의에는 내장 코드 에디터가 포함되어 있으므로, 브라우저에서 바로 실제 코드를 작성하고 실행한 후 즉시 AI 피드백을 받을 수 있습니다 — 로컬 설정이 필요 없습니다.
이 강의의 모든 강의
- CPU와 GPU: 지연 시간과 처리량
- SIMT: 같은 명령, 많은 스레드
- CUDA란 실제로 무엇인가
- GPU에 적합한 문제