Pengelolaan Prosesor 1
------------------------------------------------------------------------------
Bab 2
------------------------------------------------------------------------------
Bab 2
PENGELOLAAN PROSESOR 1
A. Alat Prosesor
Motorola
AMD
Intel
• Daftar lainnya
Clock Data
Name Date Transistors Microns MIPS
speed width
8080 1974 6,000 6 2 MHz 8 bits 0.64
16 bits
8088 1979 29,000 3 5 MHz 8-bit 0.33
bus
80286 1982 134,000 1.5 6 MHz 16 bits 1
80386 1985 275,000 1.5 16 MHz 32 bits 5
80486 1989 1,200,000 1 25 MHz 32 bits 20
32 bits
Pentium 1993 3,100,000 0.8 60 MHz 64-bit 100
bus
32 bits
233
Pentium II 1997 7,500,000 0.35 64-bit ~300
MHz
bus
32 bits
450
Pentium III 1999 9,500,000 0.25 64-bit ~510
MHz
bus
32 bits
Pentium 4 2000 42,000,000 0.18 1.5 GHz 64-bit ~1,700
bus
32 bits
Pentium 4
2004 125,000,000 0.09 3.6 GHz 64-bit ~7,000
"Prescott"
bus
------------------------------------------------------------------------------
Bab 2
------------------------------------------------------------------------------
3. Struktur Prosesor
ALU
Register
Satuan Pewaktu
Kendali (Clock)
Memori
Prosesor
4. Pewaktu (Clock)
Tanda waktu
X Osilator
Contoh
5. Kerja Prosesor
• Putaran jemput
• Putara kerja
Rincian Kerja
Memori
simpan jemput
kerja dekode
Satuan
ALU Kendali
Prosesor
------------------------------------------------------------------------------
Bab 2
------------------------------------------------------------------------------
Tanpa pipelining
Instruksi 1 Instruksi 2
Instruksi 1
Instruksi 2
Instruksi 3
Instruksi 4
------------------------------------------------------------------------------
Bab 2
------------------------------------------------------------------------------
B. Pelaksanaan Proses
P A B P A P A B P
Masuk Rampung
Prosesor
Alat MK
Berkas
------------------------------------------------------------------------------
Bab 2
------------------------------------------------------------------------------
2. Proses Berurutan
P1 A1 P1 A1 P1
P2 A2 P2 A2 P2
P3 A3 P3 A3 P3
P1 P1 P1 P2 P2 P2 P3 P3 P3
Berurutan
3. Proses Serentak
P1 A1 P1 A1 P1
P2 A2 P2 A2 P2
P3 A3 P3 A3 P3
P1 P2 P3 P1 P2 P3 P1 P2 P3
Serentak
4. Pensaklaran Konteks
P1 P2 P3 P1
Proses Proses
2 1
PCB 1
PCB 2
PCB bersisi catatan
isi register dan ALU
dan catatan lain yang
diperlukan
------------------------------------------------------------------------------
Bab 2
------------------------------------------------------------------------------
Terhenti Dilanjutkan
Proses Proses
1 1
PCB 1
------------------------------------------------------------------------------
Bab 2
------------------------------------------------------------------------------
Antrian Rampung
Prosesor
Alat MK
Berkas
Antrian
------------------------------------------------------------------------------
Bab 2
------------------------------------------------------------------------------
Antrian
Prosesor
Prioritas
Gusur keluar
Antrian
Prosesor
------------------------------------------------------------------------------
Bab 2
------------------------------------------------------------------------------
C. Eksepsi
2. Trap
Perlu dicegah
Prosesor
Trap sistem
Alat MK
Berkas
------------------------------------------------------------------------------
Bab 2
------------------------------------------------------------------------------
3. Penanganan Trap
Cara penanganan
4. Interupsi
5. Penangan Interupsi
Trap / interupsi
Catat ke PCB
Penyebab?
Kembali
------------------------------------------------------------------------------
Bab 2
------------------------------------------------------------------------------
D. Status Proses
Trap sistem
Ke MK
Terhenti
diteruskan tergusur
Tertahan
------------------------------------------------------------------------------
Bab 2
------------------------------------------------------------------------------
Tergusur (tertahan)
rampung
Prosesor
Masuk
Siap Kerja
Trap sistem
Alat MK Ke MK
(terhenti)
Berkas Ke berkas
(terhenti)