OS Chapter 1

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/37

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

38 Terms

1
New cards

Device Driver (SW)

in the os for each device controller, manages th I/O and provides interface between controller (mouse key boear ect.) ant the OS or kernal

2
New cards

Registers and cashe

SRAM, very fast and large, volitile memory used for temporary storage

3
New cards

Main memory

DRAM smaller cost effective only large storage that the CPU can access directly, non volitile

4
New cards

secondary stoage

non volitile extension of main memory example is SSD- faster than hard disk, is more popular is light weight

5
New cards

storage hiearchy

speed, cost volititlity

6
New cards

cashing

copying info into faster storage system

7
New cards

storage device hirarchy

registers, cashe, MM, nonvolitile memory, hard disk drive, optical disk, mgnetic tapes

8
New cards

polling I/O direct access

CPU must wait after each I/O opperation (busy wait)

9
New cards

Interupt triggered I/O event

the CPU will not wait after each I?o rather when an IO opperation completes it will trigger this that halts the CPU

10
New cards

Direct Access Memory (DMA)

for large data transfer, moving directly from IO wiht out going thougth the CPU

11
New cards

trap

software generated interupt

12
New cards

interupt cycle

fetch → decode →execute →interupt? → fetch

13
New cards

interupt vector

contains all of the addresses of the interupt service routine (ISR)

14
New cards

interrupt service routine

a special type of subroutine or function that handles hardware interrupts.

15
New cards

maskable interupt

can be temperarily disbaled, imporatn if you want to defer the handling of an interupt

16
New cards

non maskable interupt

can not be disabled and must be served immeditly

17
New cards

single proccessor

single core small systems ie phone pr PC

18
New cards

multiporccessor

aka parrallell system or tighlty coupled, advantages are increased though put economy of scale and increased readibillity

19
New cards

asyemetric multiporccessing

each proccessot is assigned a spesific task

20
New cards

symetric multiprocessing

(most common) each processor preforms all tasks

21
New cards

clustered system

a group of independent computers CPUs that work together to achieve a common goal.

22
New cards

what does the os do

resource allocator, control program

23
New cards

kernal

the program that is always running aka the os

24
New cards

system programs (SP)

some of the services provided out side of the kernal, anythign not in the kernal but is in the OS, dependant on the type of OS

25
New cards

System daemons

what the SP are loaded into at boot time, run the entire time the kernal is running

26
New cards

SP types

1. File Management

  • Examples: copy, rm, ls, mkdir (Unix)

2. Status Information

  • Examples: ps (Unix: process status), who (Unix: user info), regedit (Windows)

3. File Editing

  • Examples: Text editors

4. Programming Language Support

  • Examples: cc (C compiler), javac (Java compiler)

5. Program Loading and Execution

  • Examples: Loaders, debuggers

6. Communications

  • Examples: ssh (secure connection), ftp (file transfer)

7. Application Programs

  • Examples: Web browsers, games, electronic pages

27
New cards

dual mode

operations allows the OS to protect its self and other system components

28
New cards

user mode

unprotected mode bit = 1

29
New cards

kernal mode

protected aka privilaged mode, mode bit = 0

30
New cards

privilaged instruction

can cause harm if badly implemnted, only executable in kernal mode, if a system call is made in user mode the mode switches to kernal mode

31
New cards

privilage mode intruction exammples

  • I/O instructions and Halt instructions.

• Turn off all maskable Interrupts.

• Set the Timer.

• Clear the Memory or Remove a process from the Memory.

• Modify entries in a Device-status table (port)

32
New cards

System call

a way for a program to request services or resources from the operating system

33
New cards

virtualization

allows different OSes to run on the same machine at the same time

34
New cards

Emulation

process of mimicking the behavior of one system on a different system

35
New cards

Virtual Machine Manager

uns the guest OSes, manages their resource use, and protects each guest from the others

36
New cards
37
New cards
38
New cards