Operating Systems Distributed Systems (PPT 8) Flashcards

1
Q

What do networks do?

A

Make it easy for work to be distributed between multiple machines

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are some different types of network?

A
  • Large distance networks
  • Client-server model
  • Middleware
  • Distributed message passing
  • Remote Procedure Calls
  • Clusters of processing nodes
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What do programs on a network need to do?

A
  • send data over the network
  • ensure that all data arrives in the correct order
  • set up high level dialogue
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is client-server computing?

A

A program is split into two parts, each running on a different computer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What does the Client part do in client-server computing?

A
  • runs on a PC and provides a GUI or user-friendly interface to the user
  • processes their commands and sends commands/requests to the server part
  • displays answers back to the user once the server has sent them
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What does the Server part do in client-server computing?

A

-carries out the command and sends the answer back to the client

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is Middleware?

A

It is an extra layer which is inserted to try and standardise interfaces and hide low level mechanics from the client application. This is because Operating Systems and proprietary systems can make it difficult to writer general applications

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is Distributed Message Passing?

A

-Processes on different machines can only talk to each other by messages. No semaphores or shared memory available so messages are the synchronisation tools

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What are the two minimum commands?

A

send(machine,process, message)

  • where machine and process specific where the message is to go (destination address)
  • the message can be a simple string or a complex data structure

receive(machine,process,message)

  • where machine and process may be used to specify which machines/processes the caller is prepared to accept message from
  • wildcards,for example “all”, may be allowed. They are updated to show where the message actually came from
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What are the two types of transport mechanism?

A

Reliable
- makes the application program simpler

Unreliable
-systems make the message passing part easier

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What does Blocking mean?

A

Means that the process is held up until the message is known to have reached its destination. May cause considerable delays but is “well understood” when it comes to debugging

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What does Non-Blocking mean?

A

This is the most efficient in terms of parallel processing. Sends the message and then gets on with something else. Care has to be taken not to overwrite sent data before it is actually sent. OS usually makes a copy but not always

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is Remote Procedure Calls?

A

This is a mechanism for executing a procedure on another machine. When a program calls a procedure it waits until the procedure has procedure has produced the required effects and then carries on. It does not care how this is accomplished and it is no concern of the calling program if the procedure goes to another machine. RPC is a simple method of hiding the inter machine mechanism from the calling program

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What are four parts to using an RPC?

A
  • The actual procedure P(x,y) that will be run on the remote machine
  • A dummy procedure or stub P(x,y) which simply takes the parameters, packages them up into a message and sends them to the remote machine (It waits for a reply then acts if it had done it locally)
  • A suitable transport system
  • A driver program, running on the remote machine
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is Synchronous RPC?

A

This is when the calling program waits until the results of the call are delivered

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is Asynchronous RPC?

A

This is when the calling program is immediately released once the data has been passed to the remote machine

17
Q

What are the principles of a cluster approach?

A
Absolute scalability
-scale up using any number of computers
Incremental scalability
-add more computers in small numbers
High availability
-failure of one node does not take it all down
Superior price/performance
-use commodity PCs to build a monster
18
Q

What are some attributes of Cluster Middleware?

A
  • single entry point
  • single user interface
  • single file hierarchy
  • single I/O space
  • single control PC
  • single process space
  • single virtual network
  • check pointing
  • single memory space
  • single job management system
  • process migration
19
Q

What is Beowulf?

A

It is a NASA funded project to perform big computations using clustering. It uses mass market commodity components and a dedicated private network. It has a freely available software base and most implementations use Linux

20
Q

What is BPROC?

A

Beowulf distributed process space

  • it allows a process ID space to span multiple nodes in a cluster environment
  • needs to provide a single system image to the user
21
Q

What is Beowulf Ethernet Channel Bonding?

A

Joins multiple networks into one logical network with higher bandwidth. Uses multiple Ethernets