RoE timestamp and presentation time in past

Relaterede dokumenter
Project Step 7. Behavioral modeling of a dual ported register set. 1/8/ L11 Project Step 5 Copyright Joanne DeGroat, ECE, OSU 1

what is this all about? Introduction three-phase diode bridge rectifier input voltages input voltages, waveforms normalization of voltages voltages?

PARALLELIZATION OF ATTILA SIMULATOR WITH OPENMP MIGUEL ÁNGEL MARTÍNEZ DEL AMOR MINIPROJECT OF TDT24 NTNU

Privat-, statslig- eller regional institution m.v. Andet Added Bekaempelsesudfoerende: string No Label: Bekæmpelsesudførende

Basic statistics for experimental medical researchers

Engelsk. Niveau D. De Merkantile Erhvervsuddannelser September Casebaseret eksamen. og

DET KONGELIGE BIBLIOTEK NATIONALBIBLIOTEK OG KØBENHAVNS UNIVERSITETS- BIBLIOTEK. Index

Engelsk. Niveau C. De Merkantile Erhvervsuddannelser September Casebaseret eksamen. og

Skriftlig Eksamen Kombinatorik, Sandsynlighed og Randomiserede Algoritmer (DM528)

ArbejsskadeAnmeldelse

Resource types R 1 1, R 2 2,..., R m CPU cycles, memory space, files, I/O devices Each resource type R i has W i instances.

Financial Literacy among 5-7 years old children

Black Jack --- Review. Spring 2012

Particle-based T-Spline Level Set Evolution for 3D Object Reconstruction with Range and Volume Constraints

A multimodel data assimilation framework for hydrology

Linear Programming ١ C H A P T E R 2

Generalized Probit Model in Design of Dose Finding Experiments. Yuehui Wu Valerii V. Fedorov RSU, GlaxoSmithKline, US

Engineering of Chemical Register Machines

StarWars-videointro. Start din video på den nørdede måde! Version: August 2012

Wander TDEV Measurements for Inexpensive Oscillator

Trolling Master Bornholm 2015

User Manual for LTC IGNOU

Fejlbeskeder i SMDB. Business Rules Fejlbesked Kommentar. Validate Business Rules. Request- ValidateRequestRegist ration (Rules :1)

Business Rules Fejlbesked Kommentar

Portal Registration. Check Junk Mail for activation . 1 Click the hyperlink to take you back to the portal to confirm your registration

Fejlbeskeder i Stofmisbrugsdatabasen (SMDB)

Trolling Master Bornholm 2015

Business Opening. Very formal, recipient has a special title that must be used in place of their name

Constant Terminal Voltage. Industry Workshop 1 st November 2013

Unitel EDI MT940 June Based on: SWIFT Standards - Category 9 MT940 Customer Statement Message (January 2004)

how to save excel as pdf

IBM Network Station Manager. esuite 1.5 / NSM Integration. IBM Network Computer Division. tdc - 02/08/99 lotusnsm.prz Page 1

Vina Nguyen HSSP July 13, 2008

X M Y. What is mediation? Mediation analysis an introduction. Definition

Kalkulation: Hvordan fungerer tal? Jan Mouritsen, professor Institut for Produktion og Erhvervsøkonomi

Vores mange brugere på musskema.dk er rigtig gode til at komme med kvalificerede ønsker og behov.

Trolling Master Bornholm 2014

Business Opening. Very formal, recipient has a special title that must be used in place of their name

Bilag 8. TDC technical requirements for approval of splitterfilters and inline filters intended for shared access (ADSL or VDSL over POTS).

Shooting tethered med Canon EOS-D i Capture One Pro. Shooting tethered i Capture One Pro 6.4 & 7.0 på MAC OS-X & 10.8

Statistik for MPH: 7

Sikkerhed & Revision 2013

CHAPTER 8: USING OBJECTS

Handout 1: Eksamensspørgsmål

Meget formel, modtager har en meget speciel titel som skal bruges i stedet for deres navne

TM4 Central Station. User Manual / brugervejledning K2070-EU. Tel Fax

Opera Ins. Model: MI5722 Product Name: Pure Sine Wave Inverter 1000W 12VDC/230 30A Solar Regulator

Danish Language Course for International University Students Copenhagen, 12 July 1 August Application form

Brug sømbrættet til at lave sjove figurer. Lav fx: Få de andre til at gætte, hvad du har lavet. Use the nail board to make funny shapes.

Sortering fra A-Z. Henrik Dorf Chefkonsulent SAS Institute

Info og krav til grupper med motorkøjetøjer

Modtageklasser i Tønder Kommune

How Long Is an Hour? Family Note HOME LINK 8 2

Hvor er mine runde hjørner?

Coimisiún na Scrúduithe Stáit State Examinations Commission. Leaving Certificate Marking Scheme. Danish. Higher Level

Aktivering af Survey funktionalitet

On the complexity of drawing trees nicely: corrigendum

Part 5 Leisure Time and Transport

ATEX direktivet. Vedligeholdelse af ATEX certifikater mv. Steen Christensen

Meget formel, modtager har en meget speciel titel som skal bruges i stedet for deres navne

Motorway effects on local population and labor market

Teknologispredning i sundhedsvæsenet DK ITEK: Sundhedsteknologi som grundlag for samarbejde og forretningsudvikling

State Examinations Commission

November hilsner fra NORDJYSKE Medier, Distributionen

Varenr.: højre venstre º højre med coating º venstre med coating

ECE 551: Digital System * Design & Synthesis Lecture Set 5

Boligsøgning / Search for accommodation!

Danish Language Course for Foreign University Students Copenhagen, 13 July 2 August 2016 Advanced, medium and beginner s level.

Susan Svec of Susan s Soaps. Visit Her At:

Digitaliseringsstyrelsen

Agenda Subject Time Status Annex Comments

Coimisiún na Scrúduithe Stáit State Examinations Commission. Leaving Certificate Marking Scheme. Danish. Higher Level

Special VFR. - ved flyvning til mindre flyveplads uden tårnkontrol som ligger indenfor en kontrolzone

MultiProgrammer Manual

Bilag. Resume. Side 1 af 12

Sikkerhedsvejledning

NYC Reservoir System Current Operations December 14, 2010

Status of & Budget Presentation. December 11, 2018

Trolling Master Bornholm 2012

Nyhedsmail, december 2013 (scroll down for English version)

Trolling Master Bornholm 2013

Verilog HDL. Presented by: Amir Masoud Gharehbaghi

Generelt om faget: (Eventuelle kommentarer til højre) - Givet målbeskrivelsen ovenfor, hvordan vurderer du så pensum?

Appendix 1: Interview guide Maria og Kristian Lundgaard-Karlshøj, Ausumgaard

mandag den 23. september 13 Konceptkommunikation

Trolling Master Bornholm 2016 Nyhedsbrev nr. 5

talk outline sea bed network deployment issues; energy distribution seabed network issues;

Bookingmuligheder for professionelle brugere i Dansehallerne

Help / Hjælp

The River Underground, Additional Work

KOMDIS NYT. ABOBO = Pakker. located, we can also see it inside our system.

Statistical information form the Danish EPC database - use for the building stock model in Denmark

SKEMA TIL AFRAPPORTERING EVALUERINGSRAPPORT

Åbenrå Orienteringsklub

CS 4390/5387 SOFTWARE V&V LECTURE 5 BLACK-BOX TESTING - 2

VARIO D1. Samlet pris kr. XXXX,-

Trolling Master Bornholm 2013

Titel: Barry s Bespoke Bakery

LESSON NOTES Extensive Reading in Danish for Intermediate Learners #8 How to Interview

Agenda. The need to embrace our complex health care system and learning to do so. Christian von Plessen Contributors to healthcare services in Denmark

Transkript:

RoE timestamp and presentation time in past Jouni Korhonen Broadcom Ltd. 5/26/2016 9 June 2016 IEEE 1904 Access Networks Working Group, Hørsholm, Denmark 1

Background RoE 2:24:6 timestamp was recently (see tf3_1604_bross_timestamp_4.pdf) approved as: Also stating: Benefits of this timestamp 16 ms range covers 1 radio frame Precision down to ~16 ps accuracy (1/64 ns) 2-bit sequence number at top allows detection of up to 3 missed packets This is fine. 9 June 2016 IEEE P1904.1 WG Meeting, Hørsholm, Denmark 2

Background cont d The RoE specification says timestamp (=presentation time) is: The RoE presentation time is used to achieve time synchronization between the RoE endpoints. The presentation time is calculated by the RoE sender and represents the time when the RoE packet payload has to be played out from the RoE receiver packet buffer to the consumer of the payload data. So far so good.. 9 June 2016 IEEE 1904 Access Networks Working Group, Hørsholm, Denmark 3

How about late packets? The on-wire timestamp is encoded as 2^24 ns * 2^6 -> total 30 bits. This represents a timestamp that is 0 to ~16ms ahead of the current node ToD when calculated at the receiver.. What if the packet containing the timestamp arrives past the presentation time it carries i.e., packet arrives late?? Issue: Current mechanism cannot detect late packets properly. Late packet should never happen BUT errors happen and detecting an error sitoation would be a useful if not a mandatory feature! 9 June 2016 IEEE 1904 Access Networks Working Group, Hørsholm, Denmark 4

How to correct the situation? One could always treat the timestamp as a +-8ms value.. Pros: does not change anything at the sender as long as the presentation time is less than 8ms ahead of time. Cons: the timestamp cannot even point beyond one 10ms radio frame.. not good. One could define a acceptable timestamp window value that is between 0 to ~16ms. Values less than acceptable timestamp window are in time and those that are greater are considered late. This is based on the wrap around properties when calculating the presentation time from the timestamp at the receiver (examples will follow). 9 June 2016 IEEE 1904 Access Networks Working Group, Hørsholm, Denmark 5

Acceptable timestamp window A programmable value between 0 to ~16ms. Defaults to a value that forces deployments to put something meaningful into it. Example: zero (0). The amount of time reserved for past timestamps must be large enough to cover hiccups and jitter in the network. Example window partitioning: 12ms acceptable window, 4ms late window. 14ms acceptable window, 2ms late window. 16ms acceptable window, no late packets detected. No changes to the on-wire format! No changes to the sender! The receiver end needs to implement the acceptable timestamp window variable. Receiver has to make a comparison to detect whether the timestamp is within the acceptable window. 9 June 2016 IEEE 1904 Access Networks Working Group, Hørsholm, Denmark 6

How timestamp conversion behaves.. Calculating on-wire timestamp is simple at the sender side just cut the low 30 bits of the presentation time. The assumption is that the presentation time is in format: 2^n ns * 2^6, where n is max number of bit reserved for the internal time representation. The minimum n is 24. Example algorithm: n is 58 (time would be total 64 bit number) timestamp = presentationtime & TIMESTAMPMASK; 9 June 2016 IEEE 1904 Access Networks Working Group, Hørsholm, Denmark 7

How timestamp conversion behaves.. Example algorithm to calculate the presentation time from the on-wire timestamp based on the local node s time is as follows: t0 = presentation time at the sender t1 = 30 bit on-wire timestamp t2 = local time at the receiver t3 = 30 low bits of t2 delta = t1 t3 handle window wrap: delta &= TIMESTAMPMASK presentation time at the receiver: t2 + delta 9 June 2016 IEEE 1904 Access Networks Working Group, Hørsholm, Denmark 8

How does the window wrap work? For example: window=3 -> mask=7, acceptable window=5 presentationtime is in time: delta = (3-7)&7 = 4 prests = t2+delta = 15+4=19 presentationtime is late or too far ahead: delta = (1-3)&7 = 6 (>accp.) prests = t2+delta = 19+6=25 delta = (7-1)&7 = 6 (>accp.) prests = t2+delta = 25+6=31 delta = (7-1)&7 = 6 (>accp.) prests = t2+delta = 25+6=31 9 June 2016 IEEE 1904 Access Networks Working Group, Hørsholm, Denmark 9

Example algorithm 1/2 #define WINMSKFULL 0x000000ffffffffffULL // 24 bit ns, 16 bit sub-ns #define VALIDWIN 0x000000dfffffffffULL // valid to +14ms, late -2ms #define P2WSHFT (16-6) // Time expressed in units of nanoseconds and multiplied by 2^16. typedef uint64_t iscalednanoseconds; // on-wire timestamp is ~16.8ms typedef struct { uint32_t seqnum : 2; // uint32_t scalednanoseconds : 30; // 24 bits ns * 2^6 } wiretimestamp; // Convert the iscalednanoseconds to the on-wire timestamp. wiretimestamp time_to_wire( iscalednanoseconds prests, uint32_t pfield ) { wiretimestamp w; w.seqnum = pfield; w.scalednanoseconds = (prests & WINMSKFULL) >> P2WSHFT; return w; } 9 June 2016 IEEE 1904 Access Networks Working Group, Hørsholm, Denmark 10

Example algorithm 2/2 // Acceptable timestamp window variable with some initial value static iscalednanoseconds acceptablewin = VALIDWIN; // Convert the 32 bit on-wire timestamp to the iscalednanoseconds // i.e., to the presentation time. Ignore the sequence number. // Inputs: // localts = ptr to node s current time // wts = ptr to timestamp // Returns: // localts = presentation time (overrides the input local time) // 1 if presentation time is within the valid time window // 0 if presentation time is in past int wire_to_time( iscalednanoseconds* localts, wiretimestamp* wts ) { iscalednanoseconds prests, delta; prests = (iscalednanoseconds)wts->scalednanoseconds << P2WSHFT; delta = (prests - *localts) & WINMSKFULL; *localts += delta; return delta <= acceptablewin; } 9 June 2016 IEEE 1904 Access Networks Working Group, Hørsholm, Denmark 11

Compare to plain +16ms algorithm.. // Convert the 32 bit on-wire timestamp to the iscalednanoseconds // i.e., to the presentation time. Ignore the sequence number. // Returns: // presentation time int wire_to_time( iscalednanoseconds localts, wiretimestamp* wts ) { iscalednanoseconds prests, delta; prests = (iscalednanoseconds)wts->scalednanoseconds << P2WSHFT; delta = (prests - localts) & WINMSKFULL; return localts + delta; } The extra from the window check is one more comparison! 9 June 2016 IEEE 1904 Access Networks Working Group, Hørsholm, Denmark 12

Proposal Introduce a new configuration variable that holds the acceptable timestamp window value (at the receiver). 9 June 2016 IEEE 1904 Access Networks Working Group, Hørsholm, Denmark 13

Comments? 9 June 2016 IEEE 1904 Access Networks Working Group, Hørsholm, Denmark 14