Re: [vpp-dev] Packet loss on use of API & cmdline

2017-09-01 Thread Dave Barach (dbarach)
at... Thanks… Dave -Original Message- From: Colin Tregenza Dancer [mailto:c...@metaswitch.com] Sent: Friday, September 1, 2017 11:01 AM To: Dave Barach (dbarach) ; Ole Troan ; Neale Ranns (nranns) Cc: vpp-dev@lists.fd.io Subject: RE: [vpp-dev] Packet loss on use of API & cmdline I

Re: [vpp-dev] Packet loss on use of API & cmdline

2017-09-01 Thread Colin Tregenza Dancer via vpp-dev
ists.fd.io Subject: RE: [vpp-dev] Packet loss on use of API & cmdline Dear Colin, Of all of these, ip_neighbor_add_del seems like the one to tune right away. The API message handler itself can be marked mp-safe right away. Both the ip4 and the ip6 underlying routines are thread-aware (mumble RP

Re: [vpp-dev] Packet loss on use of API & cmdline

2017-09-01 Thread Dave Barach (dbarach)
rom: Colin Tregenza Dancer [mailto:c...@metaswitch.com] Sent: Friday, September 1, 2017 8:51 AM To: Dave Barach (dbarach) ; Ole Troan Cc: vpp-dev@lists.fd.io Subject: RE: [vpp-dev] Packet loss on use of API & cmdline Hi Dave, Thanks for looking at this. I get repeated vlib_node_runtime_

Re: [vpp-dev] Packet loss on use of API & cmdline

2017-09-01 Thread Colin Tregenza Dancer via vpp-dev
From: Dave Barach (dbarach) [mailto:dbar...@cisco.com] Sent: 01 September 2017 13:00 To: Colin Tregenza Dancer ; Ole Troan Cc: vpp-dev@lists.fd.io Subject: RE: [vpp-dev] Packet loss on use of API & cmdline Dear Colin, Please describe the scenario which leads to vlib_node_runtime_up

Re: [vpp-dev] Packet loss on use of API & cmdline

2017-09-01 Thread Dave Barach (dbarach)
vpp-dev Sent: Friday, September 1, 2017 6:12 AM To: Ole Troan Cc: vpp-dev@lists.fd.io Subject: Re: [vpp-dev] Packet loss on use of API & cmdline Hi Ole, Thanks for the quick reply. I did think about making all the commands we use is_mp_safe, but was both concerned about the extent of the wor

Re: [vpp-dev] Packet loss on use of API & cmdline

2017-09-01 Thread Colin Tregenza Dancer via vpp-dev
t other people's views. Cheers, Colin. -Original Message- From: Ole Troan [mailto:otr...@employees.org] Sent: 01 September 2017 09:37 To: Colin Tregenza Dancer Cc: Neale Ranns (nranns) ; Florin Coras ; vpp-dev@lists.fd.io Subject: Re: [vpp-dev] Packet loss on use of API & cmdline

Re: [vpp-dev] Packet loss on use of API & cmdline

2017-09-01 Thread Ole Troan
ds. I seems as if the debug commands which produce output can block > whilst the data is flushed, and if this occurs with the barrier down, then we > get similar overflow on the Rx rings. Having said that, because the API > problems are more critical, I’ve not yet tried any workarou

Re: [vpp-dev] Packet loss on use of API & cmdline

2017-08-31 Thread Colin Tregenza Dancer via vpp-dev
lto:vpp-dev@lists.fd.io> Subject: Re: [vpp-dev] Packet loss on use of API & cmdline Hi Colin, Your comments were not taken as criticism ☺ constructive comments are always greatly appreciated. Apart from the non-MP safe APIs Florin mentioned, and the route add/del cases I covered, the cons

Re: [vpp-dev] Packet loss on use of API & cmdline

2017-08-22 Thread Colin Tregenza Dancer via vpp-dev
, Colin. P.S. Have fun on the beach! From: Neale Ranns (nranns) [mailto:nra...@cisco.com] Sent: 22 August 2017 14:35 To: Colin Tregenza Dancer ; Florin Coras Cc: vpp-dev@lists.fd.io Subject: Re: [vpp-dev] Packet loss on use of API & cmdline Hi Colin, Your comments were not taken as critici

Re: [vpp-dev] Packet loss on use of API & cmdline

2017-08-22 Thread Neale Ranns (nranns)
Neale Ranns (nranns)" , Florin Coras Cc: "vpp-dev@lists.fd.io" Subject: RE: [vpp-dev] Packet loss on use of API & cmdline Hi neale, Thanks for the reply, and please don’t take my comments as a criticism of what I think is a great project. I’m just trying to understand whet

Re: [vpp-dev] Packet loss on use of API & cmdline

2017-08-22 Thread Colin Tregenza Dancer via vpp-dev
Tregenza Dancer ; Florin Coras Cc: vpp-dev@lists.fd.io Subject: Re: [vpp-dev] Packet loss on use of API & cmdline Hi Colin, The instances of barrier syncs you have correctly identified, occur only in the exceptional cases of route addition/deletion and not in the typical

Re: [vpp-dev] Packet loss on use of API & cmdline

2017-08-22 Thread Neale Ranns (nranns)
dvance for any insight you (or others) can offer. Cheers, Colin. From: Florin Coras [mailto:fcoras.li...@gmail.com] Sent: 22 August 2017 09:40 To: Colin Tregenza Dancer Cc: vpp-dev@lists.fd.io Subject: Re: [vpp-dev] Packet loss on use of API & cmdline Hi Colin, Your assumption was right. Most

Re: [vpp-dev] Packet loss on use of API & cmdline

2017-08-22 Thread Colin Tregenza Dancer via vpp-dev
, Colin. From: Florin Coras [mailto:fcoras.li...@gmail.com] Sent: 22 August 2017 09:40 To: Colin Tregenza Dancer Cc: vpp-dev@lists.fd.io Subject: Re: [vpp-dev] Packet loss on use of API & cmdline Hi Colin, Your assumption was right. Most often than not, a binary API/CLI call results

Re: [vpp-dev] Packet loss on use of API & cmdline

2017-08-22 Thread Florin Coras
ain, > > Colin. >   <> > From: vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] On > Behalf Of Colin Tregenza Dancer via vpp-dev > Sent: 19 August 2017 12:17 > To: vpp-dev@lists.fd.io > Subject: [vpp-dev] Packet loss on use of API & cmdline > > Hi, >

Re: [vpp-dev] Packet loss on use of API & cmdline

2017-08-22 Thread Colin Tregenza Dancer via vpp-dev
s again, Colin. From: vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] On Behalf Of Colin Tregenza Dancer via vpp-dev Sent: 19 August 2017 12:17 To: vpp-dev@lists.fd.io Subject: [vpp-dev] Packet loss on use of API & cmdline Hi, I've been doing some prototyping and load test

[vpp-dev] Packet loss on use of API & cmdline

2017-08-19 Thread Colin Tregenza Dancer via vpp-dev
Hi, I've been doing some prototyping and load testing of the vpp dataplane, and have observed packet loss when I issue API requests or use the debug command line. Is this to be expected given the use of the worker_thread_barrier, or might there be some way I could improve matters? Currently I