Thanks Dave.
Per thread TW are working as expected
regards
Hari
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#13327): https://lists.fd.io/g/vpp-dev/message/13327
Mute This Topic: https://lists.fd.io/mt/32039603/21656
Group Owner: vpp-dev+ow...@lis
alf Of hari_akkin via
Lists.Fd.Io
Sent: Monday, June 17, 2019 11:37 AM
To: vpp-dev@lists.fd.io
Cc: vpp-dev@lists.fd.io
Subject: Re: [vpp-dev] timer wheel usage queries
Hi Dave,
Thanks for the quick response.
Can you please point me how to tie a timer wheel to a thread?
thanks
H
Hi Dave,
Thanks for the quick response.
Can you please point me how to tie a timer wheel to a thread?
thanks
Hari
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#13299): https://lists.fd.io/g/vpp-dev/message/13299
Mute This Topic: https://lists.fd.i
sessions, etc. onto specific threads; use one wheel per
thread. Running one timer per thread is not suggested.
D.
From: vpp-dev@lists.fd.io On Behalf Of hari_akkin via
Lists.Fd.Io
Sent: Monday, June 17, 2019 6:54 AM
To: vpp-dev@lists.fd.io
Cc: vpp-dev@lists.fd.io
Subject: Re: [vpp-dev] timer wheel
Thanks Dave for the information on calling tw_timer_expire_timers_xxx(tw, now).
However i have to make the node type as VLIB_NODE_TYPE_INPUT and set node state
to VLIB_NODE_STATE_POLLING for polling to work. is this the right approach?
I have one more query on how to implement per thread timer w
>
>
> From: vpp-dev@lists.fd.io on behalf of hari_akkin via
> Lists.Fd.Io
> Sent: Wednesday, June 12, 2019 7:00 AM
> To: vpp-dev@lists.fd.io
> Cc: vpp-dev@lists.fd.io
> Subject: [vpp-dev] timer wheel usage queries
>
> Hello
> I am trying t
N=60 million concurrent timers. It's not trivially broken.
D
From: vpp-dev@lists.fd.io on behalf of hari_akkin via
Lists.Fd.Io
Sent: Wednesday, June 12, 2019 7:00 AM
To: vpp-dev@lists.fd.io
Cc: vpp-dev@lists.fd.io
Subject: [vpp-dev] timer wheel usage queries
Hello
I am trying to use timer_wheel framework to start a timer. I followed the
examples given in fdio, but the expiry_callback function never being called
back.
I am not sure if timer failed to expire or my usage has problems. I used the
below functions:
Timer wheel Init:
{
tw_timer_wheel_1t_1