.
Cristian’s Algorithm Assignment Help
- One m/c acts since the time server
- Each m/c sends a note periodically requesting present time
- Time server response using its period
- Sender sets it's clock towards the reply
- Problems:
- Message delay
- Time server time is less than sender’s present time
- Handling message delay:
- Attempt to estimate the actual time the message using the timer server’s time required in order to every the actual sender
- Measure round trip time as well as halve it
- Make several measurements associated with round trip time, discard too high values, consider typical associated with rest
- Make several measurements as well as take minimum
- Use knowledge associated with processing time at server in the event that known
- Handling fast clocks
- Do not set clock backwards, slow it down over a period of time to bring in tune along with server’s clock
Cristian's algorithm example
.