Re: [vpp-dev] Core Load Calculation

2020-12-17 Thread bjeremy32
@lists.fd.io Subject: Re: [vpp-dev] Core Load Calculation Thanks bjeremy32 for sharing the patch! As mentioned by Dave, I have implemented load calculation in a plugin. I can try to reevaluate my implementation with yours as reference. Will let you know if I get it working

Re: [vpp-dev] Core Load Calculation

2020-12-17 Thread Ramkumar
Thanks bjeremy32 for sharing the patch! As mentioned by Dave, I have implemented load calculation in a plugin. I can try to reevaluate my implementation with yours as reference. Will let you know if I get it working. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. Vie

Re: [vpp-dev] Core Load Calculation

2020-12-17 Thread bjeremy32
If you want to refactor it in a way to fit the code architecture better, feel free. From: vpp-dev@lists.fd.io On Behalf Of Dave Barach Sent: Thursday, December 17, 2020 1:43 PM To: vpp-dev@lists.fd.io Subject: Re: [vpp-dev] Core Load Calculation As the sole remaining original vpp author

Re: [vpp-dev] Core Load Calculation

2020-12-17 Thread Dave Barach
As the sole remaining original vpp author and the area maintainer, I have abundant experience dealing with src/vlib/{main.c, threads.c}. In every case to date, we’ve been able to leverage existing callback hooks, or to add callback hooks so that folks can do what they need to do (e.g. from plug

Re: [vpp-dev] Core Load Calculation

2020-12-17 Thread bjeremy32
: 'Ramkumar B' Cc: vpp-dev@lists.fd.io Subject: Re: [vpp-dev] Core Load Calculation If it will help, I will share my patch as soon as I get authorization from my corporate overlords. From: Ramkumar B mailto:ramukmar1...@gmail.com> > Sent: Wednesday, December 16, 2020 11:

Re: [vpp-dev] Core Load Calculation

2020-12-16 Thread bjeremy32
If it will help, I will share my patch as soon as I get authorization from my corporate overlords. From: Ramkumar B Sent: Wednesday, December 16, 2020 11:08 AM To: bjerem...@gmail.com Cc: vpp-dev@lists.fd.io Subject: Re: [vpp-dev] Core Load Calculation I got your idea. Thanks for

Re: [vpp-dev] Core Load Calculation

2020-12-16 Thread Ramkumar B
AM > *To:* bjerem...@gmail.com > *Cc:* vpp-dev@lists.fd.io > *Subject:* Re: [vpp-dev] Core Load Calculation > > > > The processing of the rx queue is counted toward IDLE > > Please explain what kind of processing. We are not doing any such rx > processing separately. For us,

Re: [vpp-dev] Core Load Calculation

2020-12-16 Thread Damjan Marion via lists.fd.io
...@gmail.com> > Cc: vpp-dev@lists.fd.io <mailto:vpp-dev@lists.fd.io> > Subject: Re: [vpp-dev] Core Load Calculation > > The processing of the rx queue is counted toward IDLE > Please explain what kind of processing. We are not doing any such rx > processing separately. For

Re: [vpp-dev] Core Load Calculation

2020-12-16 Thread bjeremy32
y. From: Ramkumar B Sent: Wednesday, December 16, 2020 10:27 AM To: bjerem...@gmail.com Cc: vpp-dev@lists.fd.io Subject: Re: [vpp-dev] Core Load Calculation The processing of the rx queue is counted toward IDLE Please explain what kind of processing. We are not doing any such rx processi

Re: [vpp-dev] Core Load Calculation

2020-12-16 Thread Ramkumar B
ted as idle, else busy > > > > *From:* bjerem...@gmail.com > *Sent:* Wednesday, December 16, 2020 9:25 AM > *To:* 'Damjan Marion' > *Cc:* 'Nick Zavaritsky' ; > ramukmar1...@gmail.com; vpp-dev@lists.fd.io > *Subject:* RE: [vpp-dev] Core Load Calculati

Re: [vpp-dev] Core Load Calculation

2020-12-16 Thread bjeremy32
;mailto:ramukmar1...@gmail.com> ; vpp-dev@lists.fd.io <mailto:vpp-dev@lists.fd.io> Subject: Re: [vpp-dev] Core Load Calculation On 16.12.2020., at 05:45, bjerem...@gmail.com <mailto:bjerem...@gmail.com> wrote: What we did was to count clock cycles (timestamps) sp

Re: [vpp-dev] Core Load Calculation

2020-12-16 Thread Ramkumar B
ll > go down to 0… > > > > > > *From:* Damjan Marion > *Sent:* Wednesday, December 16, 2020 3:00 AM > *To:* bjerem...@gmail.com > *Cc:* Nick Zavaritsky ; ramukmar1...@gmail.com; > vpp-dev@lists.fd.io > *Subject:* Re: [vpp-dev] Core Load Calculation > > >

Re: [vpp-dev] Core Load Calculation

2020-12-16 Thread bjeremy32
go down to 0… From: Damjan Marion Sent: Wednesday, December 16, 2020 3:00 AM To: bjerem...@gmail.com Cc: Nick Zavaritsky ; ramukmar1...@gmail.com; vpp-dev@lists.fd.io Subject: Re: [vpp-dev] Core Load Calculation On 16.12.2020., at 05:45, bjerem...@gmail.com <mailto:bje

Re: [vpp-dev] Core Load Calculation

2020-12-16 Thread Damjan Marion via lists.fd.io
gt; usage per thread. > > From: vpp-dev@lists.fd.io <mailto:vpp-dev@lists.fd.io> <mailto:vpp-dev@lists.fd.io>> On Behalf Of Nick Zavaritsky > Sent: Tuesday, December 15, 2020 1:38 PM > To: ramukmar1...@gmail.com <mailto:ramukmar1...@gmail.com> > Cc: vpp-dev@lis

Re: [vpp-dev] Core Load Calculation

2020-12-15 Thread bjeremy32
: ramukmar1...@gmail.com Cc: vpp-dev@lists.fd.io Subject: Re: [vpp-dev] Core Load Calculation We’ve been using flamegraphs quite successfully to see how much leeway is there. Ex: https://gist.githack.com/mejedi/d5d094df63faba66d413a677fcef26e3/raw/95294d36c4b180ba6741d793bf345041b00af48e/g.svg

Re: [vpp-dev] Core Load Calculation

2020-12-15 Thread Nick Zavaritsky
We’ve been using flamegraphs quite successfully to see how much leeway is there. Ex: https://gist.githack.com/mejedi/d5d094df63faba66d413a677fcef26e3/raw/95294d36c4b180ba6741d793bf345041b00af48e/g.svg On 15 Dec 2020, at 19:53, Ramkumar B via lists.fd.io wrote: Hello All, I'm trying to calcul

Re: [vpp-dev] Core Load Calculation

2020-12-15 Thread Dave Barach
In rough terms, you can model vector size as a function of offered load [and graph trajectory / configured features] with three linear segments. * Dead asleep – single-digit vector sizes * Keeping up – vector sizes up to the no-drop offered load * Hitting the wall – vector s