Operating Systems (process, storage, memory & device management) Flashcards
system call (concept)
system calls offer an interface to access OS services
Windows’ & Linuxs’ API
UNIX: POSIX; Win = Win32
CPU burst (concept)
the time a process actually spends computing (using the CPU)
process scheduling algorithms
FCFS (First Come First Served); Shortest-Job-First; Priority-Scheduling
process (definition)
1) program & dynamically-allocated memory
2) stack, instruction pointer & registers
multi-threading (concept)
in a multithreaded process on a single processor, the processor can switch execution resources between threads, resulting in concurrent execution.
thread (definition)
‘context of execution’ –> stack/memory/registers a process needs to resume at (e.g. reading a book, put it down, specify a page, paragraph & letter)
what are the main functions of an operating system?
Resource sharing
Task co-operation
Scheduling
A layer of abstraction between hardware and software
list sub-systems that form part of the operating system?
memory, process, device and storage management
pre-emptive multi-tasking
time slots allocated to processes
co-operative multi-tasking
process hands control over once finished
a system has the following parameters: virtual address space = 1Tb page size = 4Mb physical memory = 4Gb determine the number of page entries required.
1Tb = 40 bits required to address
4Mb = 22 bits required to address
Therefore, 40-22 = 18, therefore 2^18 page table entries required