Chapters 1 - 5 Flashcards
Remember that [blank(1)] command is just a method of organizing file directories in a table.
The [blank(2)] document is maintained by the Linux community as a means of ensuring compatibility across the various system components. This standard specifies the overall layout of a standard Linux file system as well as how to organize using [blank(2)] compliant methods. It determines under which directory names configuration files, libraries, system binaries, and run-time data files should be stored. Additionally, the [blank(2)] document gives insight into standards of different [blank(1)] layouts.
1 filesystem table fstab
2 File System Hierarchy Standard (FHS)
What operating system service is related to ensuring the efficient operation of the system and is unrelated to providing services to user programs?
Resource Allocation
__________ provide an interface to the services made available by an operating system.
System calls
Each system call has a number, and that number is used as an index in the _______________, to invoke the appropriate routine.
System call table
System service:
A collection of applications included with or added to an operating system to provide services beyond those provided by the kernel.
Registry:
A file, set of files, or service used to store and retrieve configuration information. In Windows, the manager of hives of data.
System utility:
A collection of applications included with or added to an operating system to provide services beyond what are provided by the kernel.
Application program:
A program designed for end-user execution, such as a word processor, spreadsheet, compiler, or Web browser.
SRT
Shortest Remaining Time (Switch to shortest time at moment of arrival and after finishing a process)
RR Scheduling
Round Robbin receives one per Quanta + S per move
What is the top three valuable chapters
Top three most important concepts
Top three hardest concepts
What do you usually tell students
Remember this resources
NTFS Linux required additional material
course announcement study material
lab
quizzes
study guide
quizzet.com
(in message passing) Messages are sent and received using
system calls and waiting for kernel intervention can slow down the performance of message passing.
Shared memory only requires an initial
system call for establishing the shared memory segment. Once the segment has been created, accessing the shared memory is performed in user mode and requires no kernel intervention.
To determine if a bounded buffer is empty, you can perform the following test:
Check if the buffer’s count or size is zero: If the buffer has a count or size variable that keeps track of the number of elements currently in the buffer, you can test if this count is zero. If the count is zero, it means the buffer is empty.
Typically, a rendezvous involves two processes
(often referred to as the sender and receiver) that need to synchronize their execution. The sender process waits until the receiver process is ready, and vice versa.
Message passing on Windows systems is known as an_________ which allows two processes on the same machine to communicate.
Message passing on Windows systems is known as an advanced local procedure call which allows two processes on the same machine to communicate.
__________ pipes are more powerful than __________or _________ pipes, including allowing several processes to use the pipe for communication.
Named pipes are more powerful than ordinary or anonymous pipes, including allowing several processes to use the pipe for communication.
Concurrent execution on a single-core system.
Concurrency means all threads make progress on a single-core system as each thread gets to run for a short period of time on the single processing core.
Parallel execution on a dual-core system.
Parallelism allows two threads to run at the same time as each thread runs on a separate processing core.
Task parallelism involves
distributing not data but tasks (threads) across multiple computing cores.
A parallel system allows
multiple tasks to run at the same time. Parallel systems require more than one CPU core.
A concurrent system allows
multiple tasks to make progress, but there are no guarantees more than one task can run at a time.
The term “multithreaded” refers to
a program in which several activities are to be performed concurrently.
data parallelism
A computing method that distributes subsets of the same data across multiple cores and performs the same operation on each core.
In a system with deferred cancellation, a running thread periodically
checks for a cancellation request or a termination condition.
Thread-local storage allows a thread to
have data that is not accessible to other threads belonging to the same process
signal: In __________ and other operating systems, a means used to __________
signal: In UNIX and other operating systems, a means used to notify a process that an event has occurred.
Multiprocessor systems, also known as parallel computing systems, consist of
multiple processors working together to perform computational tasks simultaneously.
A Lightweight Process (LWP) is a virtual processor-like data structure that
provides a mapping between a user thread and a kernel thread in an operating system
Context switching refers to the process of
saving the current state of a running process or thread (known as the “context”) and restoring the saved state of another process or thread to continue its execution.
long-term scheduling is to short-term scheduling what suspended list is to
waiting list
A non-preemptive scheduling algorithm allows
a running process to continue until the process terminates or blocks on a resource.
A preemptive scheduling algorithm may
stop the currently running process and choose another process to run. The decision is made whenever:
A new process enters the ready list.
A previously blocked or suspended process re-enters the RL.
The OS periodically interrupts the currently running process to give other processes a chance to run.