On 4/3/19, 11:34 AM, "Mattias Rönnblom" <mattias.ronnb...@ericsson.com> wrote:

    On 2019-04-03 20:17, Venky Venkatesh wrote:
    > Hi,
    > I am using the DSW code from 18.11 with the default settings for all the 
#defines. Here are some more details:
    > I have an 8 port system with 1 queue.
    > All ports can inject events. Port 0 and 7 inject events rarely.
    > Ports 1-6 are linked to the queue and hence dequeue events.
    > 
    > I see that in steady state the total number enqueues into the system is 
much greater than the total number of dequeues.
    > eventdev deq#: 1948491 enq#: 1949007
    > 
    
    If you have more enqueues than dequeues, it means there are events in 
    flight in the scheduler. In the above case, it's roughly 516 events, 
    which sounds perfectly healthy and normal. I say roughly, because 
    there's no way to take a consistent, global snapshot of all xstats counters.

[VV]: This is in steady state i.e. there are no more events being injected into 
the system. So shouldn’t everything get drained out at some point?
    
    You will see a higher value than this on dev_credits_on_loan, because 
    the ports will borrow (and return) credits in chunks of 64 to the shared 
    pool, for efficiently reasons.
 

   
    > However when I dump some of the data structure counters it doesn’t appear 
to be stuck. What may be going on?
    
    I'm guessing it doesn't appear stuck because it's not stuck.
    
    /M
    

Reply via email to