Hello

I am running vpp (latest stable/1908) on kubernetes pod. Sometimes I get a
warning

> clib_time_verify_frequency:249: Rejecting large frequency change of
> +infinity%

WIth the warning vpp stops sending and receiving any packets of all
interfaces. This warning logged by vpp a lot of times by each run.

Removing next block of code helps, but I think it is not correct way to
resolve this issue.

>   /*
>    * Reject large frequency changes, another consequence of
>    * system clock changes particularly with old kernels.
>    */
>   new_clocks_per_second =
>     flt_round_nearest ((f64) dtc / (dtr * c->round_to_units))
>     * c->round_to_units;
>   delta = new_clocks_per_second - c->clocks_per_second;
>   if (delta < 0.0)
>     delta = -delta;
>   if (PREDICT_FALSE ((delta / c->clocks_per_second) > .01))
>     {
>       clib_warning ("Rejecting large frequency change of %.2f%%",
>    (delta / c->clocks_per_second) * 100.0);
>       c->log2_clocks_per_frequency_verify = c->log2_clocks_per_second;
>       return;
>     }


Could you please help to find a root cause of an issue and resolve it.

Thanks

--
*Artem Belov* <https://www.xored.com>
Software Engineer
Email: artem.be...@xored.com
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#15160): https://lists.fd.io/g/vpp-dev/message/15160
Mute This Topic: https://lists.fd.io/mt/69693279/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to