DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] RES:  l2fwd high latency/delay
       [not found] <028201cf494c$6405af30$2c110d90$@hotmail.com>
@ 2014-03-27  0:56 ` Fred Pedrisa
  2014-03-27  2:18   ` Masaru Oki
       [not found]   ` <029601cf4963$050e58d0$0f2b0a70$@stratosphere.co.jp>
  0 siblings, 2 replies; 5+ messages in thread
From: Fred Pedrisa @ 2014-03-27  0:56 UTC (permalink / raw)
  To: dev

It is just a ping test, from one PC to another, using 2 ports as a L2
Bridge.

64 bytes from 192.168.2.249: icmp_seq=967 ttl=128 time=1630 ms
64 bytes from 192.168.2.249: icmp_seq=968 ttl=128 time=5005 ms
64 bytes from 192.168.2.249: icmp_seq=969 ttl=128 time=4004 ms
64 bytes from 192.168.2.249: icmp_seq=970 ttl=128 time=3003 ms
64 bytes from 192.168.2.249: icmp_seq=971 ttl=128 time=3661 ms
64 bytes from 192.168.2.249: icmp_seq=972 ttl=128 time=2660 ms
64 bytes from 192.168.2.249: icmp_seq=973 ttl=128 time=1660 ms
64 bytes from 192.168.2.249: icmp_seq=974 ttl=128 time=3001 ms
64 bytes from 192.168.2.249: icmp_seq=975 ttl=128 time=2001 ms
64 bytes from 192.168.2.249: icmp_seq=976 ttl=128 time=1000 ms
64 bytes from 192.168.2.249: icmp_seq=977 ttl=128 time=0.713 ms
64 bytes from 192.168.2.249: icmp_seq=978 ttl=128 time=3000 ms
64 bytes from 192.168.2.249: icmp_seq=979 ttl=128 time=2000 ms
64 bytes from 192.168.2.249: icmp_seq=980 ttl=128 time=1000 ms
64 bytes from 192.168.2.249: icmp_seq=981 ttl=128 time=4003 ms
64 bytes from 192.168.2.249: icmp_seq=982 ttl=128 time=3001 ms
64 bytes from 192.168.2.249: icmp_seq=983 ttl=128 time=4654 ms
64 bytes from 192.168.2.249: icmp_seq=984 ttl=128 time=3654 ms
64 bytes from 192.168.2.249: icmp_seq=985 ttl=128 time=2654 ms

However, this is what happens :-(

-----Mensagem original-----
De: dev [mailto:dev-bounces@dpdk.org] Em nome de Fred Pedrisa
Enviada em: quarta-feira, 26 de março de 2014 20:34
Para: dev@dpdk.org
Assunto: [dpdk-dev] l2fwd high latency/delay

Hi,

 

I am testing l2fwd in FreeBSD and I am noticing a delay of around 0~3
seconds, what could be causing this behavior ?

 

Fred

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

* Re: [dpdk-dev] RES: l2fwd high latency/delay
  2014-03-27  0:56 ` [dpdk-dev] RES: l2fwd high latency/delay Fred Pedrisa
@ 2014-03-27  2:18   ` Masaru Oki
       [not found]   ` <029601cf4963$050e58d0$0f2b0a70$@stratosphere.co.jp>
  1 sibling, 0 replies; 5+ messages in thread
From: Masaru Oki @ 2014-03-27  2:18 UTC (permalink / raw)
  To: Fred Pedrisa; +Cc: dev

there is problem in l2fwd_send_packet().
l2fwd and some other examples assume burst traffic.
l2fwd doesn't send packet if qconf->tx_mbufs[port].len < MAX_PKT_BURST.



2014-03-27 9:56 GMT+09:00 Fred Pedrisa <fredhps10@hotmail.com>:

> It is just a ping test, from one PC to another, using 2 ports as a L2
> Bridge.
>
> 64 bytes from 192.168.2.249: icmp_seq=967 ttl=128 time=1630 ms
> 64 bytes from 192.168.2.249: icmp_seq=968 ttl=128 time=5005 ms
> 64 bytes from 192.168.2.249: icmp_seq=969 ttl=128 time=4004 ms
> 64 bytes from 192.168.2.249: icmp_seq=970 ttl=128 time=3003 ms
> 64 bytes from 192.168.2.249: icmp_seq=971 ttl=128 time=3661 ms
> 64 bytes from 192.168.2.249: icmp_seq=972 ttl=128 time=2660 ms
> 64 bytes from 192.168.2.249: icmp_seq=973 ttl=128 time=1660 ms
> 64 bytes from 192.168.2.249: icmp_seq=974 ttl=128 time=3001 ms
> 64 bytes from 192.168.2.249: icmp_seq=975 ttl=128 time=2001 ms
> 64 bytes from 192.168.2.249: icmp_seq=976 ttl=128 time=1000 ms
> 64 bytes from 192.168.2.249: icmp_seq=977 ttl=128 time=0.713 ms
> 64 bytes from 192.168.2.249: icmp_seq=978 ttl=128 time=3000 ms
> 64 bytes from 192.168.2.249: icmp_seq=979 ttl=128 time=2000 ms
> 64 bytes from 192.168.2.249: icmp_seq=980 ttl=128 time=1000 ms
> 64 bytes from 192.168.2.249: icmp_seq=981 ttl=128 time=4003 ms
> 64 bytes from 192.168.2.249: icmp_seq=982 ttl=128 time=3001 ms
> 64 bytes from 192.168.2.249: icmp_seq=983 ttl=128 time=4654 ms
> 64 bytes from 192.168.2.249: icmp_seq=984 ttl=128 time=3654 ms
> 64 bytes from 192.168.2.249: icmp_seq=985 ttl=128 time=2654 ms
>
> However, this is what happens :-(
>
> -----Mensagem original-----
> De: dev [mailto:dev-bounces@dpdk.org] Em nome de Fred Pedrisa
> Enviada em: quarta-feira, 26 de março de 2014 20:34
> Para: dev@dpdk.org
> Assunto: [dpdk-dev] l2fwd high latency/delay
>
> Hi,
>
>
>
> I am testing l2fwd in FreeBSD and I am noticing a delay of around 0~3
> seconds, what could be causing this behavior ?
>
>
>
> Fred
>
>
>

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

* [dpdk-dev] RES:  RES: l2fwd high latency/delay
       [not found]   ` <029601cf4963$050e58d0$0f2b0a70$@stratosphere.co.jp>
@ 2014-03-27  2:26     ` Fred Pedrisa
       [not found]     ` <02a601cf4964$598eed10$0cacc730$@hotmail.com>
  1 sibling, 0 replies; 5+ messages in thread
From: Fred Pedrisa @ 2014-03-27  2:26 UTC (permalink / raw)
  To: 'Masaru Oki'; +Cc: dev

Hello,

 

I see, but even making it’s value as 1, still doesn’t help ? :/

 

De: Masaru Oki [mailto:m-oki@stratosphere.co.jp] 
Enviada em: quarta-feira, 26 de março de 2014 23:18
Para: Fred Pedrisa
Cc: dev@dpdk.org
Assunto: Re: [dpdk-dev] RES: l2fwd high latency/delay

 

there is problem in l2fwd_send_packet().

l2fwd and some other examples assume burst traffic.
l2fwd doesn't send packet if qconf->tx_mbufs[port].len < MAX_PKT_BURST.

 

2014-03-27 9:56 GMT+09:00 Fred Pedrisa <fredhps10@hotmail.com>:

It is just a ping test, from one PC to another, using 2 ports as a L2
Bridge.

64 bytes from 192.168.2.249: icmp_seq=967 ttl=128 time=1630 ms
64 bytes from 192.168.2.249: icmp_seq=968 ttl=128 time=5005 ms
64 bytes from 192.168.2.249: icmp_seq=969 ttl=128 time=4004 ms
64 bytes from 192.168.2.249: icmp_seq=970 ttl=128 time=3003 ms
64 bytes from 192.168.2.249: icmp_seq=971 ttl=128 time=3661 ms
64 bytes from 192.168.2.249: icmp_seq=972 ttl=128 time=2660 ms
64 bytes from 192.168.2.249: icmp_seq=973 ttl=128 time=1660 ms
64 bytes from 192.168.2.249: icmp_seq=974 ttl=128 time=3001 ms
64 bytes from 192.168.2.249: icmp_seq=975 ttl=128 time=2001 ms
64 bytes from 192.168.2.249: icmp_seq=976 ttl=128 time=1000 ms
64 bytes from 192.168.2.249: icmp_seq=977 ttl=128 time=0.713 ms
64 bytes from 192.168.2.249: icmp_seq=978 ttl=128 time=3000 ms
64 bytes from 192.168.2.249: icmp_seq=979 ttl=128 time=2000 ms
64 bytes from 192.168.2.249: icmp_seq=980 ttl=128 time=1000 ms
64 bytes from 192.168.2.249: icmp_seq=981 ttl=128 time=4003 ms
64 bytes from 192.168.2.249: icmp_seq=982 ttl=128 time=3001 ms
64 bytes from 192.168.2.249: icmp_seq=983 ttl=128 time=4654 ms
64 bytes from 192.168.2.249: icmp_seq=984 ttl=128 time=3654 ms
64 bytes from 192.168.2.249: icmp_seq=985 ttl=128 time=2654 ms

However, this is what happens :-(

-----Mensagem original-----
De: dev [mailto:dev-bounces@dpdk.org] Em nome de Fred Pedrisa
Enviada em: quarta-feira, 26 de março de 2014 20:34
Para: dev@dpdk.org
Assunto: [dpdk-dev] l2fwd high latency/delay


Hi,



I am testing l2fwd in FreeBSD and I am noticing a delay of around 0~3
seconds, what could be causing this behavior ?



Fred



 

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

* [dpdk-dev] RES:  RES:  RES: l2fwd high latency/delay
       [not found]     ` <02a601cf4964$598eed10$0cacc730$@hotmail.com>
@ 2014-03-27  2:54       ` Fred Pedrisa
       [not found]       ` <02b901cf4968$1646f850$42d4e8f0$@hotmail.com>
  1 sibling, 0 replies; 5+ messages in thread
From: Fred Pedrisa @ 2014-03-27  2:54 UTC (permalink / raw)
  To: 'Masaru Oki'; +Cc: dev

Hello,

Also the same problem happens with : testpmd

64 bytes from 192.168.2.81: icmp_seq=1612 ttl=64 time=1002.400 ms
64 bytes from 192.168.2.81: icmp_seq=1613 ttl=64 time=2833.217 ms
64 bytes from 192.168.2.81: icmp_seq=1614 ttl=64 time=1832.221 ms
64 bytes from 192.168.2.81: icmp_seq=1615 ttl=64 time=4004.454 ms
64 bytes from 192.168.2.81: icmp_seq=1616 ttl=64 time=3003.457 ms
64 bytes from 192.168.2.81: icmp_seq=1617 ttl=64 time=2002.460 ms
64 bytes from 192.168.2.81: icmp_seq=1618 ttl=64 time=3526.880 ms
64 bytes from 192.168.2.81: icmp_seq=1619 ttl=64 time=2525.883 ms
64 bytes from 192.168.2.81: icmp_seq=1620 ttl=64 time=1524.885 ms
64 bytes from 192.168.2.81: icmp_seq=1621 ttl=64 time=2576.861 ms
64 bytes from 192.168.2.81: icmp_seq=1622 ttl=64 time=1575.864 ms
64 bytes from 192.168.2.81: icmp_seq=1623 ttl=64 time=574.866 ms

-----Mensagem original-----
De: dev [mailto:dev-bounces@dpdk.org] Em nome de Fred Pedrisa
Enviada em: quarta-feira, 26 de março de 2014 23:27
Para: 'Masaru Oki'
Cc: dev@dpdk.org
Assunto: [dpdk-dev] RES: RES: l2fwd high latency/delay

Hello,

 

I see, but even making it’s value as 1, still doesn’t help ? :/

 

De: Masaru Oki [mailto:m-oki@stratosphere.co.jp] Enviada em: quarta-feira,
26 de março de 2014 23:18
Para: Fred Pedrisa
Cc: dev@dpdk.org
Assunto: Re: [dpdk-dev] RES: l2fwd high latency/delay

 

there is problem in l2fwd_send_packet().

l2fwd and some other examples assume burst traffic.
l2fwd doesn't send packet if qconf->tx_mbufs[port].len < MAX_PKT_BURST.

 

2014-03-27 9:56 GMT+09:00 Fred Pedrisa <fredhps10@hotmail.com>:

It is just a ping test, from one PC to another, using 2 ports as a L2
Bridge.

64 bytes from 192.168.2.249: icmp_seq=967 ttl=128 time=1630 ms
64 bytes from 192.168.2.249: icmp_seq=968 ttl=128 time=5005 ms
64 bytes from 192.168.2.249: icmp_seq=969 ttl=128 time=4004 ms
64 bytes from 192.168.2.249: icmp_seq=970 ttl=128 time=3003 ms
64 bytes from 192.168.2.249: icmp_seq=971 ttl=128 time=3661 ms
64 bytes from 192.168.2.249: icmp_seq=972 ttl=128 time=2660 ms
64 bytes from 192.168.2.249: icmp_seq=973 ttl=128 time=1660 ms
64 bytes from 192.168.2.249: icmp_seq=974 ttl=128 time=3001 ms
64 bytes from 192.168.2.249: icmp_seq=975 ttl=128 time=2001 ms
64 bytes from 192.168.2.249: icmp_seq=976 ttl=128 time=1000 ms
64 bytes from 192.168.2.249: icmp_seq=977 ttl=128 time=0.713 ms
64 bytes from 192.168.2.249: icmp_seq=978 ttl=128 time=3000 ms
64 bytes from 192.168.2.249: icmp_seq=979 ttl=128 time=2000 ms
64 bytes from 192.168.2.249: icmp_seq=980 ttl=128 time=1000 ms
64 bytes from 192.168.2.249: icmp_seq=981 ttl=128 time=4003 ms
64 bytes from 192.168.2.249: icmp_seq=982 ttl=128 time=3001 ms
64 bytes from 192.168.2.249: icmp_seq=983 ttl=128 time=4654 ms
64 bytes from 192.168.2.249: icmp_seq=984 ttl=128 time=3654 ms
64 bytes from 192.168.2.249: icmp_seq=985 ttl=128 time=2654 ms

However, this is what happens :-(

-----Mensagem original-----
De: dev [mailto:dev-bounces@dpdk.org] Em nome de Fred Pedrisa Enviada em:
quarta-feira, 26 de março de 2014 20:34
Para: dev@dpdk.org
Assunto: [dpdk-dev] l2fwd high latency/delay


Hi,



I am testing l2fwd in FreeBSD and I am noticing a delay of around 0~3
seconds, what could be causing this behavior ?



Fred



 

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

* [dpdk-dev] RES:  RES:  RES:  RES: l2fwd high latency/delay
       [not found]       ` <02b901cf4968$1646f850$42d4e8f0$@hotmail.com>
@ 2014-03-27  4:59         ` Fred Pedrisa
  0 siblings, 0 replies; 5+ messages in thread
From: Fred Pedrisa @ 2014-03-27  4:59 UTC (permalink / raw)
  To: 'Masaru Oki'; +Cc: dev

Hello,

I've solved the problem.

It was related with the threshoulds of the network card, that must be
adjusted following the manual as explained inside the example code.

It is not related with the maximum burst :)

So now all fine !

-----Mensagem original-----
De: dev [mailto:dev-bounces@dpdk.org] Em nome de Fred Pedrisa
Enviada em: quarta-feira, 26 de março de 2014 23:55
Para: 'Masaru Oki'
Cc: dev@dpdk.org
Assunto: [dpdk-dev] RES: RES: RES: l2fwd high latency/delay

Hello,

Also the same problem happens with : testpmd

64 bytes from 192.168.2.81: icmp_seq=1612 ttl=64 time=1002.400 ms
64 bytes from 192.168.2.81: icmp_seq=1613 ttl=64 time=2833.217 ms
64 bytes from 192.168.2.81: icmp_seq=1614 ttl=64 time=1832.221 ms
64 bytes from 192.168.2.81: icmp_seq=1615 ttl=64 time=4004.454 ms
64 bytes from 192.168.2.81: icmp_seq=1616 ttl=64 time=3003.457 ms
64 bytes from 192.168.2.81: icmp_seq=1617 ttl=64 time=2002.460 ms
64 bytes from 192.168.2.81: icmp_seq=1618 ttl=64 time=3526.880 ms
64 bytes from 192.168.2.81: icmp_seq=1619 ttl=64 time=2525.883 ms
64 bytes from 192.168.2.81: icmp_seq=1620 ttl=64 time=1524.885 ms
64 bytes from 192.168.2.81: icmp_seq=1621 ttl=64 time=2576.861 ms
64 bytes from 192.168.2.81: icmp_seq=1622 ttl=64 time=1575.864 ms
64 bytes from 192.168.2.81: icmp_seq=1623 ttl=64 time=574.866 ms

-----Mensagem original-----
De: dev [mailto:dev-bounces@dpdk.org] Em nome de Fred Pedrisa Enviada em:
quarta-feira, 26 de março de 2014 23:27
Para: 'Masaru Oki'
Cc: dev@dpdk.org
Assunto: [dpdk-dev] RES: RES: l2fwd high latency/delay

Hello,

 

I see, but even making it’s value as 1, still doesn’t help ? :/

 

De: Masaru Oki [mailto:m-oki@stratosphere.co.jp] Enviada em: quarta-feira,
26 de março de 2014 23:18
Para: Fred Pedrisa
Cc: dev@dpdk.org
Assunto: Re: [dpdk-dev] RES: l2fwd high latency/delay

 

there is problem in l2fwd_send_packet().

l2fwd and some other examples assume burst traffic.
l2fwd doesn't send packet if qconf->tx_mbufs[port].len < MAX_PKT_BURST.

 

2014-03-27 9:56 GMT+09:00 Fred Pedrisa <fredhps10@hotmail.com>:

It is just a ping test, from one PC to another, using 2 ports as a L2
Bridge.

64 bytes from 192.168.2.249: icmp_seq=967 ttl=128 time=1630 ms
64 bytes from 192.168.2.249: icmp_seq=968 ttl=128 time=5005 ms
64 bytes from 192.168.2.249: icmp_seq=969 ttl=128 time=4004 ms
64 bytes from 192.168.2.249: icmp_seq=970 ttl=128 time=3003 ms
64 bytes from 192.168.2.249: icmp_seq=971 ttl=128 time=3661 ms
64 bytes from 192.168.2.249: icmp_seq=972 ttl=128 time=2660 ms
64 bytes from 192.168.2.249: icmp_seq=973 ttl=128 time=1660 ms
64 bytes from 192.168.2.249: icmp_seq=974 ttl=128 time=3001 ms
64 bytes from 192.168.2.249: icmp_seq=975 ttl=128 time=2001 ms
64 bytes from 192.168.2.249: icmp_seq=976 ttl=128 time=1000 ms
64 bytes from 192.168.2.249: icmp_seq=977 ttl=128 time=0.713 ms
64 bytes from 192.168.2.249: icmp_seq=978 ttl=128 time=3000 ms
64 bytes from 192.168.2.249: icmp_seq=979 ttl=128 time=2000 ms
64 bytes from 192.168.2.249: icmp_seq=980 ttl=128 time=1000 ms
64 bytes from 192.168.2.249: icmp_seq=981 ttl=128 time=4003 ms
64 bytes from 192.168.2.249: icmp_seq=982 ttl=128 time=3001 ms
64 bytes from 192.168.2.249: icmp_seq=983 ttl=128 time=4654 ms
64 bytes from 192.168.2.249: icmp_seq=984 ttl=128 time=3654 ms
64 bytes from 192.168.2.249: icmp_seq=985 ttl=128 time=2654 ms

However, this is what happens :-(

-----Mensagem original-----
De: dev [mailto:dev-bounces@dpdk.org] Em nome de Fred Pedrisa Enviada em:
quarta-feira, 26 de março de 2014 20:34
Para: dev@dpdk.org
Assunto: [dpdk-dev] l2fwd high latency/delay


Hi,



I am testing l2fwd in FreeBSD and I am noticing a delay of around 0~3
seconds, what could be causing this behavior ?



Fred



 

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

end of thread, other threads:[~2014-03-27  4:57 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <028201cf494c$6405af30$2c110d90$@hotmail.com>
2014-03-27  0:56 ` [dpdk-dev] RES: l2fwd high latency/delay Fred Pedrisa
2014-03-27  2:18   ` Masaru Oki
     [not found]   ` <029601cf4963$050e58d0$0f2b0a70$@stratosphere.co.jp>
2014-03-27  2:26     ` [dpdk-dev] RES: " Fred Pedrisa
     [not found]     ` <02a601cf4964$598eed10$0cacc730$@hotmail.com>
2014-03-27  2:54       ` [dpdk-dev] RES: " Fred Pedrisa
     [not found]       ` <02b901cf4968$1646f850$42d4e8f0$@hotmail.com>
2014-03-27  4:59         ` [dpdk-dev] RES: " Fred Pedrisa

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).