Timing Precision on Ark - RADclock Darryl Veitch - - PowerPoint PPT Presentation

timing precision on ark radclock
SMART_READER_LITE
LIVE PREVIEW

Timing Precision on Ark - RADclock Darryl Veitch - - PowerPoint PPT Presentation

Timing Precision on Ark - RADclock Darryl Veitch dveitch@unimelb.edu.au Department of Electrical & Electronic Engineering THE UNIVERSITY OF MELBOURNE Wednesday, 1 April 15 The Big Picture Host has hardware counters (TSC, HPET, ACPI..)


slide-1
SLIDE 1

Department of Electrical & Electronic Engineering THE UNIVERSITY OF MELBOURNE

Timing Precision on Ark - RADclock

Darryl Veitch

dveitch@unimelb.edu.au

Wednesday, 1 April 15

slide-2
SLIDE 2

The Big Picture

n

Host has hardware counters (TSC, HPET, ACPI..)

but these drift, need disciplining

extra hardware (GPS, atomic clock) expensive

convenient to access a reference clock over the network

n

Network timing is hierarchal

Stratum-1 has access to reference hardware

Stratum-2 references stratum-1, etc.

n

NTP protocol

transports timestamps (of its own pkts!) between server & client

n

Kernel

maintains a system clock, timestamps packets

n

Userland

runs a clock sync daemon, providing key parameters defining a clock

n

Timestamping

needed in kernel and userland, must be fast

critical both for clock sync itself, and network measurement

2

Wednesday, 1 April 15

slide-3
SLIDE 3

What RADclock Provides

n

Basic

more accurate absolute timestamps (100’s of µs rather than ms)

much higher robustness to network delays, disruptive events

n

Basic ++

a difference clock (specialist clock for `short’ time differences)

  • far more accurate (<1µs, even 10’s of ns)
  • extraordinarily robust (lose server for hours, no problem)

reliable error bounds

n

Advanced

Ability to `replay’ raw timing data

  • capture raw timestamps fast, convert to UTC later
  • upgradable final timestamping

naturally compatible with virtualized operating systems

3

Wednesday, 1 April 15

slide-4
SLIDE 4

Potential of Ark + RADclock

n

Coordinated distributed experiments (trust timing)

eg: Internet coordinate systems, route disambiguation

think of Spanner (Google’s time aware distributed database)

n

Time Server vetting (can’t trust stratum 1’s)

to better select Ark’s own stratum 1’s

as a service provided by Ark

n

Waiting in the wings

RADclock servers as well as clients

more support to ease advanced use

4

Wednesday, 1 April 15

slide-5
SLIDE 5

time.nist.gov

Client-Server OWD: Server shows frequent jumps in the 10-100ms range plus some regions with skew of one PPM. (meanwhile the RTT is very close to a constant.) min(RTT) = 187 ms

54766.7 54800 54833.3 54866.7 54900 54933.3 54966.7 55000 55033.3 55066.7 40 50 60 70 80 90 100 110 120 130 Time [mn] Df [ms] Forward Delay: Cd and DAG (green)

Wednesday, 1 April 15

slide-6
SLIDE 6

Potential of Ark + RADclock

n

Coordinated distributed experiments (if one could trust timing)

eg: Internet coordinate systems, route disambiguation

think of Spanner (Google’s time aware distributed database)

n

Time Server vetting (can’t trust stratum 1’s)

to better select Ark’s own stratum 1’s

as a service provided by Ark

n

Down the track

RADclock servers as well as clients

more support to ease advanced use (like replay)

6

Wednesday, 1 April 15

slide-7
SLIDE 7

How Ark can Help Timing Research

n

Network Timing System (NTS) to replace NTP

involves inter-linking strata 1 & 2, server recommendation, ..

Ark an ideal platform to develop and test NTP

requires some Ark monitors to be stratum-1

n

Network Timing Health Monitoring

exploit Ark’s vantage point diversity to perform wide scale vetting

detailed one-off studies, on-going monitoring of public infrastructure

n

Synergy

each project helps the other

even one or two GPS-enabled Ark nodes a big benefit

each will improve Ark’s timing service further

7

Wednesday, 1 April 15

slide-8
SLIDE 8

Support

n

FreeBSD

patches for 8.1 (includes Zen support) + userland code

  • ntpd based system clock untouched
  • RADclock + ntpd system clock available in parallel

more mature version (but incomplete) adopted into 10.1

  • can select RADclock as the system clock transparently, plus extras

Expectation of full inclusion in 11

n

Linux

patches up to 2.6.32 available

Raspberry Pi support almost there

n

Looking for partners

to help push development along

to jointly address specific needs

8

Wednesday, 1 April 15

slide-9
SLIDE 9

Resources

9

n

SyncLab website

http://www.synclab.org/radclock/

Papers

Patches

n

ACMQueue high level article

http://queue.acm.org/detail.cfm?id=1773943

n

Google TechTalk

https://www.youtube.com/watch?v=o3nXgeh7v_U

Wednesday, 1 April 15