Re: [vpp-dev] rx-miss while sending packets to Interface (IMPORTANT)

2021-09-29 Thread Akash S R
ut polling  9998
>> 0   0  3.30e30.00
>> ---
>> Thread 2 vpp_wk_1 (lcore 3)
>> Time 41.3, 10 sec internal node vector rate 0.00 loops/sec 988640.31
>>   vector rates in 0.e0, out 0.e0, drop 0.e0, punt 0.e0
>>  Name State Calls  Vectors
>>  Suspends Clocks   Vectors/Call
>> dpdk-input   polling  37858263
>> 0   0  1.14e30.00
>> unix-epoll-input polling 36940
>> 0   0  3.54e30.00
>> ---
>> Thread 3 vpp_wk_2 (lcore 4)
>> Time 41.3, 10 sec internal node vector rate 0.00 loops/sec 983700.23
>>   vector rates in 4.8441e-2, out 0.e0, drop 4.8441e-2, punt 0.e0
>>  Name State Calls  Vectors
>>  Suspends Clocks   Vectors/Call
>> dpdk-input   polling  37820862
>> 2   0 2.16e100.00
>> drop active  2
>> 2   0  9.34e31.00
>> error-drop   active  2
>> 2   0  7.78e31.00
>> ethernet-input   active  2
>> 2   0  2.44e41.00
>> ip6-inputactive  2
>> 2   0  1.06e41.00
>> ip6-not-enabled  active  2
>> 2   0  8.75e31.00
>> unix-epoll-input polling 36906
>> 0   0  3.54e30.00
>> ---
>> Thread 4 vpp_wk_3 (lcore 5)
>> Time 41.3, 10 sec internal node vector rate 0.00 loops/sec 985307.67
>>   vector rates in 0.e0, out 0.e0, drop 0.e0, punt 0.e0
>>  Name State Calls  Vectors
>>  Suspends Clocks   Vectors/Call
>> dpdk-input   polling  37834354
>> 0   0  1.14e30.00
>> unix-epoll-input polling 36918
>> 0   0  3.47e30.00
>>
>> Thanks,
>> Akash
>>
>> On Tue, Sep 28, 2021 at 4:09 PM Akash S R via lists.fd.io
>>  wrote:
>>
>>> Thanks mate, that makes sense. Will check it out and get back .
>>>
>>>
>>> Thanks,
>>> Akash
>>>
>>> On Tue, Sep 28, 2021, 16:00 Benoit Ganne (bganne) 
>>> wrote:
>>>
>>>> Rx-miss means the NIC must drop packets on RX because the rx queue was
>>>> full, usually because VPP cannot keep up with the incoming packet rate.
>>>> You can check it with the output of 'show run'. If you see a big
>>>> average vector size (100 or more) it means VPP is busy.
>>>> To improve that you must increase the number of VPP workers (and rx
>>>> queues).
>>>> Rx-misses can also be caused by traffic spikes. In that case you can
>>>> increase the rx queues size to absorb the bursts.
>>>>
>>>> Best
>>>> ben
>>>>
>>>> > -Original Message-
>>>> > From: vpp-dev@lists.fd.io  On Behalf Of Akash S
>>>> R
>>>> > Sent: mardi 28 septembre 2021 11:43
>>>> > To: vpp-dev 
>>>> > Subject: [vpp-dev] rx-miss while sending packets to Interface
>>>> (IMPORTANT)
>>>> >
>>>> > Hello mates,
>>>> >
>>>> > Its been a long time, me , raising a query out here to you guys :)
>>>> (Nah,
>>>> > Please ignore this junk.)
>>>> >
>>>> > I have a question on rx-miss. Whenever we fire packets at some high
>>>> rate,
>>>> > say 1GBPS or more, I get rx-miss on the interface with some packet
>>>> count.
>>>> > I referred to a link below from the VPP forum:
>>>> https://lists.fd.io/g/vpp-
>>>> > dev/topic/78179815#17985
>>>> >
>>>> > TenGigabitEthernet4/0/1   3  up  1500/0/0/0 rx
>>>> > packets   8622948
>>>> > rx
>>>> > bytes  1103737344
>>>> >
>>>>  ip4
>>>> > 8622948
>>>> >
>>>>  rx-
>>>> > miss283721416
>>>> >
>>>> > But the buffer is available and allocated is less. I reduced the
>>>> queues to
>>>> > 256 and threads to 4.
>>>> > But still the issue is not resolved.
>>>> > DBGvpp# show dpdk buffer
>>>> > name="vpp pool 0"  available =   13984 allocated =2816 total =
>>>>  16800
>>>> >
>>>> >  May I know the reason for this rx-miss and any kinda resolution for
>>>> this
>>>> > issue?
>>>> >
>>>> > Thanks,
>>>> > Akash
>>>>
>>>>
>>>
>>>
>>>
>> 
>>
>>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#20233): https://lists.fd.io/g/vpp-dev/message/20233
Mute This Topic: https://lists.fd.io/mt/85920772/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [vpp-dev] rx-miss while sending packets to Interface (IMPORTANT)

2021-09-29 Thread Akash S R
Hey Sathish,

Interface type is vfio-pci (10-Gigabit SFI/SFP+ Network Connection 10fb),
with rx queue and tx queue of hardware set to 4096 (MAX)..

Let me know if anything is known. :)

Thanks,
Akash

On Wed, Sep 29, 2021 at 6:09 PM  wrote:

> Hi Akash,
>
> Please let me know what type interface and driver you are using, example
> igb_uio, vfio, SRIOV etc?
> --
> Regards,
> Satish Singh
> 
>
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#20232): https://lists.fd.io/g/vpp-dev/message/20232
Mute This Topic: https://lists.fd.io/mt/85920772/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [vpp-dev] rx-miss while sending packets to Interface (IMPORTANT)

2021-09-29 Thread Matthew Smith via lists.fd.io
---
> Thread 3 vpp_wk_2 (lcore 4)
> Time 41.3, 10 sec internal node vector rate 0.00 loops/sec 983700.23
>   vector rates in 4.8441e-2, out 0.e0, drop 4.8441e-2, punt 0.e0
>  Name State Calls  Vectors
>Suspends Clocks   Vectors/Call
> dpdk-input   polling  37820862   2
>   0 2.16e100.00
> drop active  2   2
>   0  9.34e31.00
> error-drop   active  2   2
>   0  7.78e31.00
> ethernet-input   active  2   2
>   0  2.44e41.00
> ip6-inputactive  2   2
>   0  1.06e41.00
> ip6-not-enabled  active  2   2
>   0  8.75e31.00
> unix-epoll-input polling 36906   0
>   0  3.54e30.00
> ---
> Thread 4 vpp_wk_3 (lcore 5)
> Time 41.3, 10 sec internal node vector rate 0.00 loops/sec 985307.67
>   vector rates in 0.e0, out 0.e0, drop 0.e0, punt 0.e0
>  Name State Calls  Vectors
>Suspends Clocks   Vectors/Call
> dpdk-input   polling  37834354   0
>   0  1.14e30.00
> unix-epoll-input polling 36918   0
>   0  3.47e30.00
>
> Thanks,
> Akash
>
> On Tue, Sep 28, 2021 at 4:09 PM Akash S R via lists.fd.io
>  wrote:
>
>> Thanks mate, that makes sense. Will check it out and get back .
>>
>>
>> Thanks,
>> Akash
>>
>> On Tue, Sep 28, 2021, 16:00 Benoit Ganne (bganne) 
>> wrote:
>>
>>> Rx-miss means the NIC must drop packets on RX because the rx queue was
>>> full, usually because VPP cannot keep up with the incoming packet rate.
>>> You can check it with the output of 'show run'. If you see a big average
>>> vector size (100 or more) it means VPP is busy.
>>> To improve that you must increase the number of VPP workers (and rx
>>> queues).
>>> Rx-misses can also be caused by traffic spikes. In that case you can
>>> increase the rx queues size to absorb the bursts.
>>>
>>> Best
>>> ben
>>>
>>> > -Original Message-
>>> > From: vpp-dev@lists.fd.io  On Behalf Of Akash S R
>>> > Sent: mardi 28 septembre 2021 11:43
>>> > To: vpp-dev 
>>> > Subject: [vpp-dev] rx-miss while sending packets to Interface
>>> (IMPORTANT)
>>> >
>>> > Hello mates,
>>> >
>>> > Its been a long time, me , raising a query out here to you guys :)
>>> (Nah,
>>> > Please ignore this junk.)
>>> >
>>> > I have a question on rx-miss. Whenever we fire packets at some high
>>> rate,
>>> > say 1GBPS or more, I get rx-miss on the interface with some packet
>>> count.
>>> > I referred to a link below from the VPP forum:
>>> https://lists.fd.io/g/vpp-
>>> > dev/topic/78179815#17985
>>> >
>>> > TenGigabitEthernet4/0/1   3  up  1500/0/0/0 rx
>>> > packets   8622948
>>> > rx
>>> > bytes  1103737344
>>> > ip4
>>> > 8622948
>>> > rx-
>>> > miss283721416
>>> >
>>> > But the buffer is available and allocated is less. I reduced the
>>> queues to
>>> > 256 and threads to 4.
>>> > But still the issue is not resolved.
>>> > DBGvpp# show dpdk buffer
>>> > name="vpp pool 0"  available =   13984 allocated =2816 total =
>>>  16800
>>> >
>>> >  May I know the reason for this rx-miss and any kinda resolution for
>>> this
>>> > issue?
>>> >
>>> > Thanks,
>>> > Akash
>>>
>>>
>>
>>
>>
> 
>
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#20229): https://lists.fd.io/g/vpp-dev/message/20229
Mute This Topic: https://lists.fd.io/mt/85920772/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [vpp-dev] rx-miss while sending packets to Interface (IMPORTANT)

2021-09-29 Thread satishsept7
Hi Akash,

Please let me know what type interface and driver you are using, example 
igb_uio, vfio, SRIOV etc?
--
Regards,
Satish Singh

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#20222): https://lists.fd.io/g/vpp-dev/message/20222
Mute This Topic: https://lists.fd.io/mt/85920772/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [vpp-dev] rx-miss while sending packets to Interface (IMPORTANT)

2021-09-28 Thread Akash S R
7e30.00

Thanks,
Akash

On Tue, Sep 28, 2021 at 4:09 PM Akash S R via lists.fd.io  wrote:

> Thanks mate, that makes sense. Will check it out and get back .
>
>
> Thanks,
> Akash
>
> On Tue, Sep 28, 2021, 16:00 Benoit Ganne (bganne) 
> wrote:
>
>> Rx-miss means the NIC must drop packets on RX because the rx queue was
>> full, usually because VPP cannot keep up with the incoming packet rate.
>> You can check it with the output of 'show run'. If you see a big average
>> vector size (100 or more) it means VPP is busy.
>> To improve that you must increase the number of VPP workers (and rx
>> queues).
>> Rx-misses can also be caused by traffic spikes. In that case you can
>> increase the rx queues size to absorb the bursts.
>>
>> Best
>> ben
>>
>> > -Original Message-
>> > From: vpp-dev@lists.fd.io  On Behalf Of Akash S R
>> > Sent: mardi 28 septembre 2021 11:43
>> > To: vpp-dev 
>> > Subject: [vpp-dev] rx-miss while sending packets to Interface
>> (IMPORTANT)
>> >
>> > Hello mates,
>> >
>> > Its been a long time, me , raising a query out here to you guys :) (Nah,
>> > Please ignore this junk.)
>> >
>> > I have a question on rx-miss. Whenever we fire packets at some high
>> rate,
>> > say 1GBPS or more, I get rx-miss on the interface with some packet
>> count.
>> > I referred to a link below from the VPP forum:
>> https://lists.fd.io/g/vpp-
>> > dev/topic/78179815#17985
>> >
>> > TenGigabitEthernet4/0/1   3  up  1500/0/0/0 rx
>> > packets   8622948
>> > rx
>> > bytes  1103737344
>> > ip4
>> > 8622948
>> > rx-
>> > miss283721416
>> >
>> > But the buffer is available and allocated is less. I reduced the queues
>> to
>> > 256 and threads to 4.
>> > But still the issue is not resolved.
>> > DBGvpp# show dpdk buffer
>> > name="vpp pool 0"  available =   13984 allocated =2816 total =
>>  16800
>> >
>> >  May I know the reason for this rx-miss and any kinda resolution for
>> this
>> > issue?
>> >
>> > Thanks,
>> > Akash
>>
>>
> 
>
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#20219): https://lists.fd.io/g/vpp-dev/message/20219
Mute This Topic: https://lists.fd.io/mt/85920772/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [vpp-dev] rx-miss while sending packets to Interface (IMPORTANT)

2021-09-28 Thread Akash S R
Thanks mate, that makes sense. Will check it out and get back .


Thanks,
Akash

On Tue, Sep 28, 2021, 16:00 Benoit Ganne (bganne)  wrote:

> Rx-miss means the NIC must drop packets on RX because the rx queue was
> full, usually because VPP cannot keep up with the incoming packet rate.
> You can check it with the output of 'show run'. If you see a big average
> vector size (100 or more) it means VPP is busy.
> To improve that you must increase the number of VPP workers (and rx
> queues).
> Rx-misses can also be caused by traffic spikes. In that case you can
> increase the rx queues size to absorb the bursts.
>
> Best
> ben
>
> > -Original Message-
> > From: vpp-dev@lists.fd.io  On Behalf Of Akash S R
> > Sent: mardi 28 septembre 2021 11:43
> > To: vpp-dev 
> > Subject: [vpp-dev] rx-miss while sending packets to Interface (IMPORTANT)
> >
> > Hello mates,
> >
> > Its been a long time, me , raising a query out here to you guys :) (Nah,
> > Please ignore this junk.)
> >
> > I have a question on rx-miss. Whenever we fire packets at some high rate,
> > say 1GBPS or more, I get rx-miss on the interface with some packet count.
> > I referred to a link below from the VPP forum:
> https://lists.fd.io/g/vpp-
> > dev/topic/78179815#17985
> >
> > TenGigabitEthernet4/0/1   3  up  1500/0/0/0 rx
> > packets   8622948
> > rx
> > bytes  1103737344
> > ip4
> > 8622948
> > rx-
> > miss283721416
> >
> > But the buffer is available and allocated is less. I reduced the queues
> to
> > 256 and threads to 4.
> > But still the issue is not resolved.
> > DBGvpp# show dpdk buffer
> > name="vpp pool 0"  available =   13984 allocated =2816 total =
>  16800
> >
> >  May I know the reason for this rx-miss and any kinda resolution for this
> > issue?
> >
> > Thanks,
> > Akash
>
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#20217): https://lists.fd.io/g/vpp-dev/message/20217
Mute This Topic: https://lists.fd.io/mt/85920772/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [vpp-dev] rx-miss while sending packets to Interface (IMPORTANT)

2021-09-28 Thread Benoit Ganne (bganne) via lists.fd.io
Rx-miss means the NIC must drop packets on RX because the rx queue was full, 
usually because VPP cannot keep up with the incoming packet rate.
You can check it with the output of 'show run'. If you see a big average vector 
size (100 or more) it means VPP is busy.
To improve that you must increase the number of VPP workers (and rx queues).
Rx-misses can also be caused by traffic spikes. In that case you can increase 
the rx queues size to absorb the bursts.

Best
ben

> -Original Message-
> From: vpp-dev@lists.fd.io  On Behalf Of Akash S R
> Sent: mardi 28 septembre 2021 11:43
> To: vpp-dev 
> Subject: [vpp-dev] rx-miss while sending packets to Interface (IMPORTANT)
> 
> Hello mates,
> 
> Its been a long time, me , raising a query out here to you guys :) (Nah,
> Please ignore this junk.)
> 
> I have a question on rx-miss. Whenever we fire packets at some high rate,
> say 1GBPS or more, I get rx-miss on the interface with some packet count.
> I referred to a link below from the VPP forum: https://lists.fd.io/g/vpp-
> dev/topic/78179815#17985
> 
> TenGigabitEthernet4/0/1   3  up  1500/0/0/0 rx
> packets   8622948
> rx
> bytes  1103737344
> ip4
> 8622948
> rx-
> miss283721416
> 
> But the buffer is available and allocated is less. I reduced the queues to
> 256 and threads to 4.
> But still the issue is not resolved.
> DBGvpp# show dpdk buffer
> name="vpp pool 0"  available =   13984 allocated =2816 total =   16800
> 
>  May I know the reason for this rx-miss and any kinda resolution for this
> issue?
> 
> Thanks,
> Akash


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#20216): https://lists.fd.io/g/vpp-dev/message/20216
Mute This Topic: https://lists.fd.io/mt/85920772/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[vpp-dev] rx-miss while sending packets to Interface (IMPORTANT)

2021-09-28 Thread Akash S R
Hello mates,

Its been a long time, me , raising a query out here to you guys :) (Nah,
Please ignore this junk.)

I have a question on rx-miss. Whenever we fire packets at some high rate,
say 1GBPS or more, I get rx-miss on the interface with some packet count. I
referred to a link below from the VPP forum:
https://lists.fd.io/g/vpp-dev/topic/78179815#17985




*TenGigabitEthernet4/0/1   3  up  1500/0/0/0 rx
packets   8622948
  rx bytes  1103737344
  ip4
 8622948
rx-miss283721416*
But the buffer is available and allocated is less. I reduced the queues to
256 and threads to 4.
But still the issue is not resolved.

*DBGvpp# show dpdk buffername="vpp pool 0"  available =   13984 allocated =
   2816 **total =   16800*
 May I know the reason for this rx-miss and any kinda resolution for this
issue?

Thanks,
Akash

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#20214): https://lists.fd.io/g/vpp-dev/message/20214
Mute This Topic: https://lists.fd.io/mt/85920772/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-