csce101 – database intro, 4.3 - cpu and memory october 24, 2006

12
CSCE101 – Database Intro, 4.3 - CPU and Memory October 24, 2006

Post on 21-Dec-2015

214 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: CSCE101 – Database Intro, 4.3 - CPU and Memory October 24, 2006

CSCE101 – Database Intro, 4.3 - CPU and Memory

October 24, 2006

Page 2: CSCE101 – Database Intro, 4.3 - CPU and Memory October 24, 2006

Database Lab

• Tables

• Queries

• Reports

Page 3: CSCE101 – Database Intro, 4.3 - CPU and Memory October 24, 2006

More on CPU

• Control Unit, ALU, Registers, Buses• Logic - >,<,>=,<=,<>• Word Size• Instruction Cycle –

– Fetch– Decode– Execute– Store

• Pipelining

Page 4: CSCE101 – Database Intro, 4.3 - CPU and Memory October 24, 2006

Machine Cycle

Page 6: CSCE101 – Database Intro, 4.3 - CPU and Memory October 24, 2006

Other Methods of Speeding up Processing

• Interleaving – producing a continuous flow of data from multiple memory banks

• Bursting – plays on probabilities… retrieval of a block of data or a block of instructions into the cache.

• Superscalar Architecture – Multicore processors, hyperthreading

Page 8: CSCE101 – Database Intro, 4.3 - CPU and Memory October 24, 2006

Four Principal Types of Memory Chips

• File Open…File Save

• Having enough primary storage (primary memory) is a critical matter.

• RAM – “256MB SDRAM”

• ROM

• CMOS

• Flash

• Volatile vs. Non-volatile

Page 9: CSCE101 – Database Intro, 4.3 - CPU and Memory October 24, 2006

More on memory…

• L1, L2, L3 caches

• Virtual Memory

• Paging

• Revisiting Thrashing

Page 10: CSCE101 – Database Intro, 4.3 - CPU and Memory October 24, 2006

Ports

• Ports - Serial, Parallel, & SCSI

• Daisy-chaining

• More ports – USB and Firewire

• Why are USB ports so great?– Connecting many devices to one port– Connecting different devices– Hot pluggable– Automatic installation

Page 11: CSCE101 – Database Intro, 4.3 - CPU and Memory October 24, 2006

Ports (Continued)

• Firewire – data intensive devices

• MIDI – musical devices

• IrDA – wireless, infrared short-range

• Bluetooth – wireless radio short-range

• Ethernet – LAN linkages

• Multimedia ports

Page 12: CSCE101 – Database Intro, 4.3 - CPU and Memory October 24, 2006

Expansion

• Closed vs. Open Architecture

• Common Expansion Cards – graphics, sound, network, PC

• Expansion buses (vs. local bus)