DPDK usage discussions
 help / color / Atom feed
* [dpdk-users] Drops seems with virtio PMD driver
@ 2019-08-29  4:42 Venumadhav Josyula
  2019-08-29 14:40 ` Stephen Hemminger
  0 siblings, 1 reply; 4+ messages in thread
From: Venumadhav Josyula @ 2019-08-29  4:42 UTC (permalink / raw)
  To: users

Hi All,

We are observing packet drops ~@90Mbs with virtio pmd driver. These packets
are not been
queued in the tx descriptors, the function 'rte_eth_tx_burst' is returning
the less than n.

So questions are following
i)  are there any issues seen ?

Observations in our case :-
i) packets are dropped and tx packets donot get incremented.
ii) i) happens for 30 secs after that it recovers.
iii) After sometime we see this issue in i) & ii) again.

Any clues / pointers will help.

Thanks,
Regards,
Venu

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dpdk-users] Drops seems with virtio PMD driver
  2019-08-29  4:42 [dpdk-users] Drops seems with virtio PMD driver Venumadhav Josyula
@ 2019-08-29 14:40 ` Stephen Hemminger
  2019-08-29 14:42   ` Venumadhav Josyula
  0 siblings, 1 reply; 4+ messages in thread
From: Stephen Hemminger @ 2019-08-29 14:40 UTC (permalink / raw)
  To: Venumadhav Josyula; +Cc: users

On Thu, 29 Aug 2019 10:12:27 +0530
Venumadhav Josyula <vjosyula@gmail.com> wrote:

> Hi All,
> 
> We are observing packet drops ~@90Mbs with virtio pmd driver. These packets
> are not been
> queued in the tx descriptors, the function 'rte_eth_tx_burst' is returning
> the less than n.
> 
> So questions are following
> i)  are there any issues seen ?
> 
> Observations in our case :-
> i) packets are dropped and tx packets donot get incremented.
> ii) i) happens for 30 secs after that it recovers.
> iii) After sometime we see this issue in i) & ii) again.
> 
> Any clues / pointers will help.
> 
> Thanks,
> Regards,
> Venu

The number of transmit descriptors is fixed.
If you are producing packets faster than the other consume them then the
transmit descriptor ring gets full. So the problem is probably on the other
side of your virtio. Are you using KVM? Did you enable virtio net acceleration?

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dpdk-users] Drops seems with virtio PMD driver
  2019-08-29 14:40 ` Stephen Hemminger
@ 2019-08-29 14:42   ` Venumadhav Josyula
  2019-08-29 14:56     ` Stephen Hemminger
  0 siblings, 1 reply; 4+ messages in thread
From: Venumadhav Josyula @ 2019-08-29 14:42 UTC (permalink / raw)
  To: Stephen Hemminger; +Cc: users

Hi Stephen,
 >Are you using KVM?
Yes
>Did you enable virtio net acceleration?
Will get back to you. Can you let me what are benefits of it ?

Thanks,
Regards
Venu

On Thu, 29 Aug 2019 at 20:10, Stephen Hemminger <stephen@networkplumber.org>
wrote:

> On Thu, 29 Aug 2019 10:12:27 +0530
> Venumadhav Josyula <vjosyula@gmail.com> wrote:
>
> > Hi All,
> >
> > We are observing packet drops ~@90Mbs with virtio pmd driver. These
> packets
> > are not been
> > queued in the tx descriptors, the function 'rte_eth_tx_burst' is
> returning
> > the less than n.
> >
> > So questions are following
> > i)  are there any issues seen ?
> >
> > Observations in our case :-
> > i) packets are dropped and tx packets donot get incremented.
> > ii) i) happens for 30 secs after that it recovers.
> > iii) After sometime we see this issue in i) & ii) again.
> >
> > Any clues / pointers will help.
> >
> > Thanks,
> > Regards,
> > Venu
>
> The number of transmit descriptors is fixed.
> If you are producing packets faster than the other consume them then the
> transmit descriptor ring gets full. So the problem is probably on the other
> side of your virtio. Are you using KVM? Did you enable virtio net
> acceleration?
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dpdk-users] Drops seems with virtio PMD driver
  2019-08-29 14:42   ` Venumadhav Josyula
@ 2019-08-29 14:56     ` Stephen Hemminger
  0 siblings, 0 replies; 4+ messages in thread
From: Stephen Hemminger @ 2019-08-29 14:56 UTC (permalink / raw)
  To: Venumadhav Josyula; +Cc: users

On Thu, 29 Aug 2019 20:12:54 +0530
Venumadhav Josyula <vjosyula@gmail.com> wrote:

> Hi Stephen,
>  >Are you using KVM?  
> Yes
> >Did you enable virtio net acceleration?  
> Will get back to you. Can you let me what are benefits of it ?
> 
> Thanks,
> Regards
> Venu

Without virtio net acceleration packets take longer path through QEMU
in userspace.  Acceleration keeps packets in kernel.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, back to index

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-29  4:42 [dpdk-users] Drops seems with virtio PMD driver Venumadhav Josyula
2019-08-29 14:40 ` Stephen Hemminger
2019-08-29 14:42   ` Venumadhav Josyula
2019-08-29 14:56     ` Stephen Hemminger

DPDK usage discussions

Archives are clonable:
	git clone --mirror http://inbox.dpdk.org/users/0 users/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 users users/ http://inbox.dpdk.org/users \
		users@dpdk.org
	public-inbox-index users


Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.users


AGPL code for this site: git clone https://public-inbox.org/ public-inbox