• No results found

What? of-day clocks (a Residential Ethernet SG presentation) Synchronized time-of. David V James, JGG Alexei Beliaev, Gibson

N/A
N/A
Protected

Academic year: 2021

Share "What? of-day clocks (a Residential Ethernet SG presentation) Synchronized time-of. David V James, JGG Alexei Beliaev, Gibson"

Copied!
10
0
0

Loading.... (view fulltext now)

Full text

(1)

IEEE 802.3 RE Study Group

San Antonio 1

November 2004

Synchronized time

Synchronized time

-

-

of

of

-

-

day clocks

day clocks

(a Residential Ethernet SG presentation)

(a Residential Ethernet SG presentation)

David V James, JGG

Alexei Beliaev, Gibson

Support of real-time streaming traffic requires synchronized clocks. We address the topics of: what, why, and how.

IEEE 802.3 RE Study Group

San Antonio 2

November 2004

Synchronized time

Synchronized time

-

-

of

of

-

-

day clocks

day clocks

What?

What?

What are synchronized clocks?

(2)

3

IEEE 802.3 RE Study Group

San Antonio 3

November 2004

House reference clock

House reference clock

802.11e Ethernet 802.11e 1394 1394 Room #1 Room #2 Ethernet

In support of synchronous transfers, all RE devices are assumed to have the same impression of time.

For this presentation, assume an 8kHz cycle time, although a decision on this value has not been finalized.

Requirement: 8kHz cycle frequencies are locked and the “same” Desired: cycle-count and cycle-offset are also the same.

4

IEEE 802.3 RE Study Group

San Antonio 4

November 2004

Legend: clock master clock slave

Cascaded TOD synchronization

Cascaded TOD synchronization

bridge[0]

bridge[1]

bridge[2] Physical topology constraints

(3)

IEEE 802.3 RE Study Group

San Antonio 5

November 2004

Cascaded TOD synchronization

Cascaded TOD synchronization

bridge[0]

bridge[1]

bridge[2] Wall-clock distribution model

From a logical perspective, the clock master broadcasts the current time-of-day to the attached stations.

From a physical perspective, a multicast time distribution is inaccurate: 1) There may be source transmission delays.

2) There may be bridge forwarding delays.

IEEE 802.3 RE Study Group

San Antonio 6

November 2004

Cascaded TOD synchronization

Cascaded TOD synchronization

bridge[0]

bridge[1]

bridge[2] Cascaded adjacent-synchronization hierarchy

To simplify the problem, the link specification defines: clock-master selection

(4)

7

IEEE 802.3 RE Study Group

San Antonio 7

November 2004

Time

Time-

-of

of-

-day format options

day format options

fractions seconds nanoseconds seconds >150 years <250 ps OR OR (…) ticks OR 16 ns What is synchronized?

Preferably a binary seconds and fractions-of-seconds value. Doesn’t overflow within our lifetimes.

Time resolution induced errors are insignificant. Easily added and subtracted.

Other formats are also possible: because we have 10 fingers a multiple of the cycle frequency ….

8

IEEE 802.3 RE Study Group

San Antonio 8

November 2004

portID

stationPri

Time

Time-

-of

of-

-day precedence

day precedence

stationID(byte swapped EUI-64)

1394 precedence preferred stationID(MAC-48) 802.3 STP precedence (IEEE Std 802.3D-1998) portPri larger smaller

The precedence numbers must be unique, so that only one clock master will be selected.

To communicate preferences, a stationPriorityvalue is provided; its default value is all ones, which corresponds to the lowest priority. This weighting can be accessed through the MIB.

For stations with equal stationPriorityvalues, the stationIdbecomes the tie breaker.

For ports on a bridge, the portPri and portID are similarly used as tie breakers that select between available ports.

The lowest numerical value has the highest precedence. Default weighting is the largest numerical value.

The setting of lower-valued weights is a higher level protocols and is beyond the scope of this standard.

(5)

IEEE 802.3 RE Study Group

San Antonio 9

November 2004

Synchronized time

Synchronized time

-

-

of

of

-

-

day clocks

day clocks

Why?

Why?

Now that we know what, the question is “why”.

IEEE 802.3 RE Study Group

San Antonio 10

November 2004

delay

Bursting causes jitter

Bursting causes jitter

rx3 8 kHz time tx4 rx2 1 kHz rx1 1 kHz rx0 1 kHz

We assume transfers will be cycle-clock based, with an 8 kHz clock. Distinct cycle-clock rates are explicitly disallowed, due to the latency impact of (in this example) 2 kHz transmissions on 8 kHz transmissions.

While the long term bandwidths are less than the link capacity, the short-term bandwidths are not.

And, from the perspective of the 8 kHz transfers, the 2 kHz transfers appear to be transient line-rate transmissions.

(6)

11

IEEE 802.3 RE Study Group

San Antonio 11

November 2004

delay

Bunching causes jitter

Bunching causes jitter

time rx0 time rx1 time rx2 time rx3 time tx4

To solve bursting, force sources send at 8 kHz, using only frame lengths (not transmit-frame periodicity) to adjust their transmission rates. Is this sufficient to bound the latency delays?

No, there is still the problem of bunching, caused to “early” arrivals. Consider, for example, a bridge that receives some isochronous data “early”. The cumulative effect of multiple early transmissions is similar to bursting: a low-rate transfer can be blocked for multiple cycles.

The basic problem is the cumulative effect of bursting and bunching, which depends on the number of bridges, the number of bridge ports, and the interconnection topology.

The cheapest solution is to stop the cumulative effects, so that an end-station and retransmitting bridge port have isochronous timing behaviors.

12

IEEE 802.3 RE Study Group

San Antonio 12

November 2004

Bridge re

Bridge re

-

-

clocking contains jitter

clocking contains jitter

bridge … gate cycleCount high low isochronous … asynchronous transmit receive cycle-stamp (etc.)

To ensure the same end-station/bridge behaviors, the same transmission model is assumed.

Isochronous data is not immediately transmitted at highest priority. * The isochronous data is staged in the transmit buffer,

before the target transmission cycle. * When the cycleCount is reached,

the isochronous data is transmitted at highest priority.

This _does_not_ ensure the minimal transmission latency, since frames are often delayed “unnecessarily”, to the start of the “next” cycle.

Depending on link bandwidths, max packet sizes, etc., “next” could be more than one cycle (four isochronous cycles is simple and more than sufficient). This _does_ ensure a bounded min/max transmission latency, and that latency remains unaffected by the number of bridge traversals, port counts, etc..

(7)

IEEE 802.3 RE Study Group

San Antonio 13

November 2004

Synchronized reception/presentation

Synchronized reception/presentation

clockA clockB clockC

No long-term drift: clockA, clockB, clockC Clock jitter: sub nanosecond (after PLL)

Bridge reclocking has a relatively modest clock-sync accuracy requirement, where microsecond deviations could be acceptable.

Source-data and presentation-data clocking requirements are more severe. 1) Frequency drift is unacceptable, since dropped/replicated values are audible. 2) Presentation time jitter is sub nanosecond, based on slew rates

and D/A accuracies.

IEEE 802.3 RE Study Group

San Antonio 14

November 2004

Synchronized time

Synchronized time

-

-

of

of

-

-

day clocks

day clocks

How?

How?

How can this be done?

Are synchronization delays affected by cable lengths? (No, one the asymmetry in transmit/receive paths)

(8)

15

IEEE 802.3 RE Study Group

San Antonio 15 November 2004

local

offset

add

global

Adjacent

Adjacent

-

-

station synchronization

station synchronization

(t1)

local

offset

add

global

(t4) (t3) (t2) Station A Station B Timing snapshots

The design model assumes stations snapshot the arrival/departure times of clockSync frames, illustrated as times {t1, t2, t3, t4}.

16

IEEE 802.3 RE Study Group

San Antonio 16 November 2004

local

offset

add

global

Adjacent

Adjacent

-

-

station synchronization

station synchronization

(t1)

local

offset

add

global

(t4) (t3) (t2) (t1, t4-t2) (t1, t3-t1) Station A Station B

Snapshot value distribution

(9)

IEEE 802.3 RE Study Group San Antonio 17 November 2004

local

offset

add

global

Adjacent

Adjacent

-

-

station synchronization

station synchronization

• clockDelta = ((t3 – t1) – (t4 – t2)) / 2; • cableDelay = ((t3 – t1) + (t4 – t 2)) / 2; • offsetB = offsetA – clockDelta;

(t1)

local

offset

add

global

(t4) (t3) (t2) (t1, t4-t2) (t1, t3-t1) Station A Station B

Offset value adjustments

From sampled values, the new offset for the clock slave is readily derived. The cable length is also readily computed.

The symmetric portions of the cable delays cancel, introducing no errors. The protocols remain the same, regardless of master/slave selection, except for the final offset-value adjustment.

IEEE 802.3 RE Study Group

San Antonio 18

November 2004

local

offset

add

global

Adjacent station synchronization

Adjacent station synchronization

local

offset

add

global

Station A Station B 8 kHz … 125µs … clockSync

From sampled values, the new offset for the clock slave is readily derived. The cable length is also readily computed.

The symmetric portions of the cable delays cancel, introducing no errors. The protocols remain the same, regardless of master/slave selection, except for the final offset-value adjustment.

(10)

19

IEEE 802.3 RE Study Group

San Antonio 19

November 2004

In summary

In summary

– Time-of-day synchronization (house clock)

• Global synchronization is required

• Implemented as cascaded adjacent synchronizations – Time synchronization formats

• Binary time is accurate with simple add/subtract • Clock-master voting: 48+ or 64+ selection priorities – Time-of-day applications

• Synchronous reception and presentation, within applications • Synchronous re-clocking within bridges

– Time-of-day distribution

• Pipelined sampling for highest accuracies

• Cable delays can be derived, based on the same information

The summary…

20

IEEE 802.3 RE Study Group

San Antonio 20

November 2004

Synchronized time

Synchronized time

-

-

of

of

-

-

day clocks

day clocks

Questions?

Questions?

References

Related documents

Quality: We measure quality (Q in our formal model) by observing the average number of citations received by a scientist for all the papers he or she published in a given

In this study, it is aimed to develop the Science Education Peer Comparison Scale (SEPCS) in order to measure the comparison of Science Education students'

This conclusion is further supported by the following observations: (i) constitutive expression of stdE and stdF in a Dam + background represses SPI-1 expression (Figure 5); (ii)

How Many Breeding Females are Needed to Produce 40 Male Homozygotes per Week Using a Heterozygous Female x Heterozygous Male Breeding Scheme With 15% Non-Productive Breeders.

Our end—of—period rates are the daily London close quotes (midpoints) from the Financial Times, which over this period were recorded at 5 PM London time. Our beginning—of—period

Gas lock or fluid pound problems occur due to the gas interference when the pump has partially or completely unfilled plunger barrel.. There are several techniques available in the

The RIDM process is used to inform decision making by emphasizing proper use of risk analysis to make decisions that impact all mission execution domains (e.g., safety, technical,

The depressed patient cohort consists of all patients over 18 years of age who meet criteria (explained below) ensuring that they: (i) indeed have depression, (ii) have a