VMs and Device Drivers Flashcards
Scheduler
A program that manages the amount of time different processes have in the CPU - uses a scheduling algorithm
What does a scheduler manage?
Which process to execute next and the length of time the next process can execute for
Round Robin
Equally distributes processor time amongst all processes
First Come First Served
Prioritises processes that arrive at the queue first
Multi Level Feedback Queue
Shorter and more critical tasks are processed first
Shortest Job First
Shorter jobs are placed at the front of the priority queue
Shortest Remaining Time First
Processes with the shortest remaining time are higher priority
5 Scheduling Algorithms
1) Round Robin
2) First Come First Served
3) Multi Level Feedback Queue
4) Shortest Job First
5) Shortest Remaining Time First
Device Driver
Software that tells the OS how to communicate with a device e.g. printers, graphics cards and network cards
Virtual Machine
A program that has the same functionality as a physical computer
What do emulators do?
Trick a program into thinking it is running on its native hardware, when it is actually running on an entirely different machine
When a virtual machines commonly used?
For testing programs on different OS, saving the time and money of purchasing multiple devices for testing
Intermediate Code
Code halfway between machine code and object code - independent of the processor architecture so can be run across different machines
- Running Intermediate Code on a VM is considerably slower