Como eliminar o atraso na sincronização do NTP?

2

Atualmente, estou fazendo uma sincronização de tempo NTP entre dois PCs ubuntu conectados por um cabo LAN. Depois de concluir a configuração, descubro que o atraso está em torno de 0,170s (170ms), o que não é aceitável, pois espero um atraso menor que 30ms. Quais poderiam ser as razões que causaram o atraso? E como eu poderia resolver isso?

    
por Teddy_NTU 24.04.2018 / 10:11

1 resposta

0

Suponho que você use ntpq , o que dá atraso em milissegundos. 0,170 na coluna de atraso de ntpq -p significa um atraso de 0,170 ms, não 0,170 segundos.

0,170 ms é um atraso razoável em uma rede comutada. 170ms não faz muito sentido.

A explicação da saída é dada na documentação do ntpq :

peers
Obtains a current list peers of the server, along with a summary of each peer's state. Summary information includes the address of the remote peer, the reference ID (0.0.0.0 if this is unknown), the stratum of the remote peer, the type of the peer (local, unicast, multicast or broadcast), when the last packet was received, the polling interval, in seconds, the reachability register, in octal, and the current estimated delay, offset and dispersion of the peer, all in milliseconds. The character at the left margin of each line shows the synchronization status of the association and is a valuable diagnostic tool. The encoding and meaning of this character, called the tally code, is given later in this page.

Minha formatação.

    
por vidarlo 24.04.2018 / 12:16