Docsity

Operating System - High Performance Computing - Lecture Slides, Slides of Computer Science

Partial preview of the text

Download Operating System - High Performance Computing - Lecture Slides and more Slides Computer Science in PDF only on Docsity!

High Performance Computing

Lecture 12

2

Operating System, Processes, Hardware

Hardware Processes System Calls Operating System

4

Mechanics of System Calls

 Processor hardware is designed to operate in

at least 2 modes of execution

 Ordinary or user mode  Privileged or system mode

 A system call is entered using a special

machine instruction (e.g. MIPS 1 syscall) that

switches processor mode from user to

system before transferring control

5

Process Lifetime

 At any given point in time, a running process

is executing either in user mode or in system

mode

 Can find out the total CPU time used by a

process, as well as CPU time in user mode,

CPU time in system mode

 Two programs we have talked about

 Operating system  Shell

7

Operating System

Software that manages the resources of a

computer system

 CPU time  Main memory  I/O devices  Software resources

8

Main Memory Management

 Example: Paged Virtual Memory  Recall: Need for Address Translation  To translate a virtual address to the corresponding physical address, a table of translation information is needed  The size of the address translation table ..