Section 4: Synchronization And Data Transfer Flashcards

1
Q

Define “producer” in the producer consumer model of data transfer

A

Either a software or hardware component responsible for producing data (or events) for the consumer

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

Define “consumer” in the producer consumer model of data transfer

A

Either a software or hardware component responsible for consuming data (or using events) that have been produced by the producer.

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

Name the two types of synchronization

A
  1. Active

2. Passive

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

Define active synchronization

A

One of the entities is capable of forcing a change in the operational characteristics of the other. Example: setting an interrupt signal can force the processor to execute the interrupt service routine.

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

Define passive synchronization

A

One of the communicating entities signals a request for service, however the entity receiving the request is not forced to respond.

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

Define spontaneous sources of data generation

A

Data is produced in the device independent of the actions of the consumer accepting the data

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

Define “consumer sensitive sources” data generation

A

Data is produced by the device only after the previous data has been consumed by the consumer.

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

Define “consumer responsive sources” data generation

A

Data is produced by the device only after requested by the consumer.

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

Name the 3 types of data generation

A
  1. Spontaneous
  2. Consumer sensitive
  3. Consumer responsive
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Define data transfer

A

Refers to all aspects of a transfer between two entities that have (potentially) different views of time.

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

Define data persistence

A

How long data is valid for transfer between two communicating entities

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

Define time synchronization and clocking

A

How signals, representing any data, are specified and enabled to make the transfer happen.

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

Define control signalling

A

How any control information is exchanged between the communicating entities

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

Define persistent dat

A

Information remains valid until consumer signals that the data has been collected (processed)

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

Define transient data

A

Information is made available to the consumer and remains valid for a period of time and then may change. Minimum period of time is known by the designer.

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

How does timing differ in synchronous and asynchronous data transfer?

A

Synchronous: Common view of time - sample every rising edge

Asynchronous: Different views of time - sample when time signal is received

17
Q

Explain the 3 steps necessary to perform and input/output transfer

A
  1. Global initialization: Setting processor and I/O interface parameters necessary for the overall operation on the system
  2. Transfer initialization: Setting processor and I/O interface to facilitate a specific process.
  3. Transfer the data: including synchronization
18
Q

What are the 3 components of synchronized data transfer?

A
  1. Data generation (spontaneous, consumer sensitive, consumer responsive)
  2. Data notification / initiation of transfer (detect when data can be transferred)
  3. Data transfer (actually perform the transfer)
19
Q

Define t_transfer-producer

A

The time for the device and interface combination to transfer one data unit

20
Q

Define t_transfer-consumer

A

The time the processor needs to transfer one data unit. May be longer or shorter than t_transfer-producer. Actual transfer time will be max(t_transfer-producer, t_transfer-consumer)

21
Q

Define t_synch

A

The execution time of the processor to synchronize with the availability of the data

22
Q

Define t_synch-poll

A

Polling synchronization uses processor time until just after the data is ready

23
Q

Define t_synch-inter

A

Interrupt synchronization only starts to use CPU time after the data has become available

24
Q

Define t_interdata

A

The time between consecutive data blocks.