Presentation is loading. Please wait.

Presentation is loading. Please wait.

OPERATING SYSTEMS 1 - HARDWARE PIETER HARTEL 1. Hardware 2.

Similar presentations


Presentation on theme: "OPERATING SYSTEMS 1 - HARDWARE PIETER HARTEL 1. Hardware 2."— Presentation transcript:

1 OPERATING SYSTEMS 1 - HARDWARE PIETER HARTEL 1

2 Hardware 2

3 Interrupts  Why?  Sources? 3

4 Instruction and interrupt processing  Cost of interrupt processing? 4

5 Interrupt stack  Why a stack? 5

6 Memory hierarchy  Why? 6

7 Cache – principle of locality 7

8 MMU 8

9 Multiprocessor (why?) 9

10 First Linux example: What kind of machine is this?  Output?  gcc Uname.c ./a.out  man -k system  more /usr/include/sys/utsname.h  lscpu 10 /* Uname.c */ #include int main(int argc, char * argv[]) { struct utsname u; if(uname(&u) == 0) { printf("%s %s %s %s\n“ u.nodename, u.sysname, u.release, u.machine); } return 0; }

11 Summary  Hardware resources  CPU & Instruction cycle  Interrupts & stack  Memory hierarchy & caches  Single & Multi processors  Principle of locality  How to manage these resources? 11


Download ppt "OPERATING SYSTEMS 1 - HARDWARE PIETER HARTEL 1. Hardware 2."

Similar presentations


Ads by Google