DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] How to disable flow control?
@ 2016-08-30  1:54 Đỗ Hoàng
  2016-08-30  2:08 ` Đỗ Hoàng
  0 siblings, 1 reply; 4+ messages in thread
From: Đỗ Hoàng @ 2016-08-30  1:54 UTC (permalink / raw)
  To: users

Hi there,

I'm running DPDK with a dual-port 82546EB NIC, but the performance is
really low (about 150Mbit/s).
Somebody told me that I should disable flow control and try again, but I
don't know how to do it.
So, I have 2 questions:
- How to disable flow control?
- If the performance doesn't get better after disabling flow control, what
should I do next?

Any advice and suggestions will be greatly appreciated.

Thanks in advance!

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

* Re: [dpdk-users] How to disable flow control?
  2016-08-30  1:54 [dpdk-users] How to disable flow control? Đỗ Hoàng
@ 2016-08-30  2:08 ` Đỗ Hoàng
  2016-08-30  2:16   ` Đỗ Hoàng
  0 siblings, 1 reply; 4+ messages in thread
From: Đỗ Hoàng @ 2016-08-30  2:08 UTC (permalink / raw)
  To: users

I have checked again, FC is disabled by default (I'm running the l2fwd
example).
So what's the problem with my NIC speed?

On Tue, Aug 30, 2016 at 9:54 AM, Đỗ Hoàng <mon120494@gmail.com> wrote:

> Hi there,
>
> I'm running DPDK with a dual-port 82546EB NIC, but the performance is
> really low (about 150Mbit/s).
> Somebody told me that I should disable flow control and try again, but I
> don't know how to do it.
> So, I have 2 questions:
> - How to disable flow control?
> - If the performance doesn't get better after disabling flow control, what
> should I do next?
>
> Any advice and suggestions will be greatly appreciated.
>
> Thanks in advance!
>

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

* Re: [dpdk-users] How to disable flow control?
  2016-08-30  2:08 ` Đỗ Hoàng
@ 2016-08-30  2:16   ` Đỗ Hoàng
  2016-09-01  4:33     ` Muhammad Zain-ul-Abideen
  0 siblings, 1 reply; 4+ messages in thread
From: Đỗ Hoàng @ 2016-08-30  2:16 UTC (permalink / raw)
  To: users

Here is the Port statistics of l2fwd on my computer, almost half of the
packets are dropped

Port statistics ====================================
Statistics for port 0 ------------------------------
Packets sent:                      124
Packets received:             10000180
Packets dropped:                     0
Statistics for port 1 ------------------------------
Packets sent:                  5875606
Packets received:                  124
Packets dropped:               4124574
Aggregate statistics ===============================
Total packets sent:            5875730
Total packets received:       10000304
Total packets dropped:         4124574
====================================================


On Tue, Aug 30, 2016 at 10:08 AM, Đỗ Hoàng <mon120494@gmail.com> wrote:

> I have checked again, FC is disabled by default (I'm running the l2fwd
> example).
> So what's the problem with my NIC speed?
>
> On Tue, Aug 30, 2016 at 9:54 AM, Đỗ Hoàng <mon120494@gmail.com> wrote:
>
>> Hi there,
>>
>> I'm running DPDK with a dual-port 82546EB NIC, but the performance is
>> really low (about 150Mbit/s).
>> Somebody told me that I should disable flow control and try again, but I
>> don't know how to do it.
>> So, I have 2 questions:
>> - How to disable flow control?
>> - If the performance doesn't get better after disabling flow control,
>> what should I do next?
>>
>> Any advice and suggestions will be greatly appreciated.
>>
>> Thanks in advance!
>>
>
>

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

* Re: [dpdk-users] How to disable flow control?
  2016-08-30  2:16   ` Đỗ Hoàng
@ 2016-09-01  4:33     ` Muhammad Zain-ul-Abideen
  0 siblings, 0 replies; 4+ messages in thread
From: Muhammad Zain-ul-Abideen @ 2016-09-01  4:33 UTC (permalink / raw)
  To: Đỗ Hoàng; +Cc: users

Hey, can you provide me with the port conf

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

end of thread, other threads:[~2016-09-01  4:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-30  1:54 [dpdk-users] How to disable flow control? Đỗ Hoàng
2016-08-30  2:08 ` Đỗ Hoàng
2016-08-30  2:16   ` Đỗ Hoàng
2016-09-01  4:33     ` Muhammad Zain-ul-Abideen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).