11. Interconnecting DS Flashcards

Role of the interconnect and the idea of a protocol stack

1
Q

Interaction Goals?

A

Interaction is for coordination and cooperation.
coordination: timeline of events matters
Cooperation: could degrade into uncontrolled competition for resources

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

Interaction modes?

A

By sharing address space.
By synchronous communication mechanisms
By Message passing (Protocols)

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

What is an interconnect?

A

Physical or logical connection between two electronic devices or networks

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

Pros and cons of a short interconnect?

A

Relatively cost neutral.

Need to be aware of process concurrency, synchronisation of interactions, indeterminacy of failures.

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

What do we need to be aware of for a significantly long interconnect?

A

Not cost-neutral.
Size matters.
Message exchange is needed, network effects are felt

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

What different computer (instruction/memory) architectures are there?

A

SISD- single instruction single data
SIMD- single instruction, multiple data
MISD- multiple instructions, single data
MIMD- multiple instructions, multiple data

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

Describe SISD

A

centralised, sequential.

At each cycle we obtain one data item and fetch one instruction to operate on it.

Without an interconnect, a single algorithm has cost neutral access to a single data space

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

Describe SIMD

A

Data-level parallelism.

At each cycle, we obtain many data items and fetch one single instruction to operate on them in parallel. Modern GPUs are of this kind.

If we introduce an interconnect, we can apply an algorithm to distinct partitions of data space we have distributed for that purpose. Access to data through interconnect- not cost neutral

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

Describe MISD

A

Many programs applied to a single dataset (or item).

At each cycle, we obtain one data item and fetch multiple instructions to operate on it in parallel. Used in fault tolerance.

Use the interconnect to apply several algorithms to the same data. Access to the data is not cost neutral- through interconnect.

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

Describe MIMD

A

Many instructions operate on their own dataset. inherently-distributed systems. Interconnect binds self-sufficient, autonomous components.

At each cycle we obtain many data items and fetch multiple instructions to operate on them. Modern PCs are of this kind.

Interconnect is not cost neutral but the grain of functionality is much larger.

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

What is the advantage of MIMD?

A

Scalability by the addition/removal of complete, fully functional components.

Scaling out: if the problem grows, you grow the system by adding more of the same components.

Scaling up: if the problem grows, you change the system for a new, larger one

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

What is MIMD also known as? What is the interconnect?

A

Shared nothing architecture. The interconnect is a full blown network.
This exists independently as a complex, physical fabric. Its use is mediated by complex, sophisticated software.

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

Message exchange over the interconnect requires?

A

Naming and addressing.

Transportation and routing

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

The internet is software driven. Its software architecture is best known as a protocol stack. Describe each layer

A

Top:
Application Semantics (send/retrieve emails)
Transport- making sure a logical channel exists for messages to flow through
Internet- making sure bits reach their destination.
Link- making sure there is a real channel
Physical- about the physics of it all

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

Give example protocols for each layer. Why is it an hourglass model?

A
Application- HTTP
Transport - TCP
Internet- IP
Link- MAC
Physical- Wifi

Hourglass: very varied applications at top, very varied devices at bottom, as simple as possible between

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

What type of network is the internet? what does this mean?

A

Packet Switched network. The network is formed by routers that link them.
A message is discretized into packets, travel by different routes and arrive out of sequence with different messages. Packets are reassembled into the original message

17
Q

Describe payload (un)wrapping

A

Payloads are wrapped on the way down (HTTP -> MAC) and unwrapped on the way up.
This ensures layer independence.

The caller layer doesn’t know how the callee layer works of what it does. This allows for a choice of callee layers that the caller is free to choose between.

Layers differ in what non-functional properties they provide.