Systems Software Flashcards
What function does an OS provide?
user interface
memory management
interrupt handling
processor scheduling
How paging and segmentation are similar
Both allows programs to run despite insufficient memory
both stored on disk
both transferred into memory when needed
Paging features
fixed size
are made to fit sections of memory
are physical divisions
Segment features(opposite of paging)
Different size
complete sections of programs
are logical divisions
Problems with segments and paging
If psychical memory is running low virtual memory has to be used.If more time is spent moving pages/segments in and out of the memory to the disk(thrashing) than actually processing the instructions,the computer will be very slow
Types of interupts
Software
Hardware
Aims of scedhuling
To provide an acceptable response time to all users
To maximise the time the CPU is usefully engaged
To ensure fairness on a mutli-user system
Scheduling;What is Round robin?
Each job is allocated a time slice (by FIFO) during which it can use the CPU’S resources
If the job has not been completed by the end of its time slice, the next job is allocated a time slice
Scheduling; What is Shortest remaining time?
The time to completion is estimated as each new job arrives
The job with the shortest remaining time to completion is executed,meaning that a shorter new job can take over from the current process
Scheduling;What is Shortest job first?
Also known as ‘Shortest process next’
As with shortest remaining time the total execution time of each job is estimated by the user
The waiting job with the smallest total execution time is executed when the current job completes
Scheduling;What are Multi-level feedback queues?
Multiple queues are created with different priority levels
If a job uses too much CPU time its is moved to a lower priority queue
Processes can also be moved to a higher priority queue f they have waited a long time
What is paging
Available memory is divided into fixed chunks called pages.Each page has an address. A process loaded into RAM is allowed sufficient pages(they may not be next to each other)
What is first come first served?
The first job to arrives is executed until it completes
What is a distributed OS
Allows multiple computers to work together on a single task
What is a embedded OS
Designed to run on embedded systems rather then general purpose computers. An embedded system is a computer that forms a part of a device such as a washing machine,vending machine or car’s engine management system