CS 422 Distributed Computing Processes

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

1/60

flashcard set

Earn XP

Description and Tags

Flashcards for review

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

61 Terms

1
New cards

A __ provides a set of instructions along with the capability of automatically executing a series of those instructions.

PROCESSOR

2
New cards

A __ is a minimal software processor in whose context a series of instructions can be executed.

THREAD

3
New cards

A __ is a software processor in whose context one or more threads may be executed.

PROCESS

4
New cards

Saving a thread __ implies stopping the current execution and saving all the data needed to continue the execution at a later stage.

context

5
New cards

A __ is the unit of execution within a process performing a task.

thread

6
New cards

In a __, both the process and thread are same.

single-threaded process

7
New cards

A __ can perform multiple tasks at the same time.

multi-threaded process

8
New cards

__ are capable of running more than one process or thread at the same time.

Multi-core processors

9
New cards

__ allow pausing and resuming without losing data.

CONTEXTS

10
New cards

__ is the minimal collection of values stored in the registers of a processor used for the execution of a series of instructions.

PROCESSOR CONTEXT

11
New cards

__ is the minimal collection of values stored in registers and memory, used for the execution of a series of instructions.

THREAD CONTEXT

12
New cards

__ is the minimal collection of values stored in registers and memory, used for the execution of a thread.

PROCESS CONTEXT

13
New cards

Threads share the same __.

address space

14
New cards

__ is generally (somewhat) more expensive as it involves getting the OS in the loop, i.e., trapping to the kernel.

Process switching

15
New cards

Threads are __ units of execution that allow efficient multitasking within a process.

lightweight

16
New cards

Processes are __, independent units of execution that require more overhead for creation, switching, and destruction.

heavier

17
New cards

In a multi-threaded process, the operating system can switch the CPU to another thread in that process to avoid ___.

NEEDLESS BLOCKING

18
New cards

The threads in a __ process can be scheduled to run in parallel on a multiprocessor or multicore processor.

multi-threaded

19
New cards

One of these is a trade-off of using threads: Threads use the same __: more prone to errors.

address space

20
New cards

A Main Issue with threads and Operating Systems is - Should an OS kernel provide threads, or should they be implemented as __ packages?

user-level

21
New cards

All services provided by the kernel are done on behalf of the process in which a thread resides, so if the kernel decides to block a thread, the __ will be blocked.

entire process

22
New cards

Operations that block a thread are no longer a problem under __ solution because the kernel schedules another available thread within the same process.

Kernel

23
New cards

Basic idea of __ Introduce a two-level threading approach: lightweight processes that can execute user-level threads.

Lightweight Processes

24
New cards

User-level thread does a system call implies __ that is executing that thread, blocks.

The LWP

25
New cards

__ scans an incoming HTML page and finds that more files need to be fetched.

The web browser

26
New cards

Most servers have high __ demands.

I/O

27
New cards

___programs tend to be smaller and easier to understand due to simplified flow of control.

Multithreaded

28
New cards

The __ tier is generally responsible for passing requests to an appropriate server: request dispatching.

first

29
New cards

What type of instruction may affect the configuration of a machine, may trap?

Control-sensitive instruction

30
New cards

A virtual machine monitor may be constructed if the set of sensitive instructions for that computer is a subset of the set of __ instructions.

privileged

31
New cards

Name the three types of cloud services: __.

INFRASTRUCTURE-AS-A-SERVICE; PLATFORM-AS-A-SERVICE; SOFTWARE-AS-A-SERVICE

32
New cards

A cloud provider will rent out a VM (or VMM) that may possibly be sharing a physical machine with other customers under __.

IaaS

33
New cards

__ Each new application must implement its own protocol logic, leading to higher development effort and less reuse.

Application-level

34
New cards

__ Promotes code reuse, interoperability, and simplifies development by abstracting network details from the application.

Middleware-level

35
New cards

Conceal resource access using client-side stubs for RPCs is called __ transparency.

Access

36
New cards

Conceal resource location and let client-side software keep track of the actual location is called __ transparency.

Location/migration

37
New cards

Multiple invocations handled by the client stub where clients do not see replicas is called __ transparency.

Replication

38
New cards

Mask server and communication failures transparency is called __.

Failure transparency

39
New cards

A __ implementing a specific service on behalf of a collection of clients.

process

40
New cards

__ server: The server handles the request before attending the next request.

Iterative

41
New cards

__ server: Uses a dispatcher, which picks up an incoming request that is then passed on to a separate thread/process.

Concurrent

42
New cards

Most services are tied to a __.

specific port

43
New cards

Should an urgent message come in to a server then associated request is put on hold under __ communication.

out-of-band

44
New cards

__ servers Never keep accurate information about the status of a client after having handled a request.

Stateless

45
New cards

__ servers keeps track of the status of its clients.

Stateful

46
New cards

What is the first tier generally responsible for?

passing requests to an appropriate server: request dispatching

47
New cards

With the TCP __: the selected server takes over the connection and continues communication with the client.

handoff

48
New cards

When servers are spread across the Internet a common approach is used: __.

DNS

49
New cards

To keep the client unaware of distribution, let the __ act on behalf of the client.

DNS resolver

50
New cards

Different organizations contribute machines, which they subsequently share for various experiments using __.

PlanetLab

51
New cards

__ Independent and protected environment with its own libraries, server versions, and so on.

Vserver

52
New cards

Migration in heterogeneous systems can be achieved only via __.

abstract machine implemented on different platforms

53
New cards

___ is the process of moving executable code from one machine to another in a distributed system to improve performance, efficiency, or flexibility.

Code migration

54
New cards

Moving code to a client when needed increases __.

Flexibility

55
New cards

Moving code from client to server is __.

Remote Evaluation

56
New cards

Moving code from server to client is __.

Code on Demand

57
New cards

What kind of mobility moves only the code and data segment (and reboot execution)?

Weak mobility

58
New cards

What kind of mobility moves the component, including execution state?

Strong mobility

59
New cards

Pushing memory pages to the new machine and resending the ones that are later modified during the migration process is a method of __.

Migrating images

60
New cards

For migrating images:stopping the current virtual machine; migrate memory, and start the new virtual machine is a __ Downtime.

High

61
New cards

__: modify guest OS, either by preventing nonprivileged sensitive instructions, or making them nonsensitive (i.e., changing the context)

Paravirtualization