Konsep Dasar CPU CPU = Central Processing Unit Komponen utama : • ALU (Arithmetic Logic Unit) • CU (Control Unit) • Registers CPU adalah otak komputer yang mengatur dan mengeksekusi instruksi
Siklus Kerja CPU (Fetch – Decode – Execute – Store) 1. Fetch: Instruksi diambil dari memori 2. Decode: Instruksi diterjemahkan oleh CU 3. Execute: Instruksi dijalankan oleh ALU/ komponen lain 4. Store: Hasil disimpan ke register/ memori ( Siklus berlangsung terus menerus )
Setting CPU Clock Speed (GHz): semakin tinggi semakin cepat Jumlah Cores: multi-core lebih efisien Threads & Hyper-Threading: paralelisme instruksi Cache Memory (L1, L2, L3): mempercepat akses data
CPU dalam Kehidupan Nyata Analogi Dapur Restoran : Chef = ALU Manajer = CU Asisten = Register/Cache Contoh : PC Gaming vs Laptop -> perbedaan setting CPU
Tren Modern CPU CPU vs GPU ( fungsi berbeda ) Arsitektur ARM vs x86 Efisiensi energi ( big.LITTLE ) Multi-threading pada aplikasi modern
Penutup & Diskusi Ringkasan : CPU terdiri dari ALU, CU, Register Siklus kerja : Fetch, Decode, Execute, Store Setting CPU: Clock, Core, Thread, Cache Tren modern: efisiensi , multi-core, ARM Diskusi : Mengapa smartphone lebih responsif dari PC lama walaupun clock lebih rendah ?