FWIW, master/latest continues to pass traffic w/ “date -s” deltas of both plus 
and minus a couple of minutes. This is not a huge surprise, nor is it a 
surprise that stable/1801 fails miserably under similar albeit less draconian 
circumstances.

The algorithm changes mentioned below don’t involve a lot of code, but they are 
pretty first-order important.

HTH... Dave

From: vpp-dev@lists.fd.io <vpp-dev@lists.fd.io> On Behalf Of Dave Barach via 
Lists.Fd.Io
Sent: Friday, February 7, 2020 10:53 AM
To: siddarth rai <sid...@gmail.com>; vpp-dev <vpp-dev@lists.fd.io>
Cc: vpp-dev@lists.fd.io
Subject: Re: [vpp-dev] VPP main threads gets stuck when system time is changed

Try patching src/vppinfra/time.[ch] from master/latest. The algorithms involved 
have been changed quite a bit since 18.01...

Dave

From: vpp-dev@lists.fd.io<mailto:vpp-dev@lists.fd.io> 
<vpp-dev@lists.fd.io<mailto:vpp-dev@lists.fd.io>> On Behalf Of siddarth rai
Sent: Friday, February 7, 2020 9:17 AM
To: vpp-dev <vpp-dev@lists.fd.io<mailto:vpp-dev@lists.fd.io>>
Subject: [vpp-dev] VPP main threads gets stuck when system time is changed

Hi,

We have  VPP 1801 in one of our systems. I understand the support for VPP 1801 
is not there anymore , but requesting for any advice nevertheless.

System time is changed by a few seconds using 'date -s'. Then the VPP main 
thread goes to 100% CPU utilization.
The issue is only reproduced when the traffic is running.

I attached gdb to VPP and saw that while the worker thread is working normally, 
the main thread seems to be stuck at clib_cpu_time_now.
             https://pastebin.com/iJm0uZqx

Also, here is the bt of main :
             https://pastebin.com/CSjv4KsW

Please help. Any pointers will be much appreciated

Regards,
Siddarth

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#15369): https://lists.fd.io/g/vpp-dev/message/15369
Mute This Topic: https://lists.fd.io/mt/71053226/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