netdev
[Top] [All Lists]

Re: RFC: NAPI packet weighting patch

To: greearb@xxxxxxxxxxxxxxx
Subject: Re: RFC: NAPI packet weighting patch
From: "David S. Miller" <davem@xxxxxxxxxxxxx>
Date: Fri, 03 Jun 2005 12:02:57 -0700 (PDT)
Cc: john.ronciak@xxxxxxxxx, Robert.Olsson@xxxxxxxxxxx, jdmason@xxxxxxxxxx, shemminger@xxxxxxxx, hadi@xxxxxxxxxx, mitch.a.williams@xxxxxxxxx, netdev@xxxxxxxxxxx, ganesh.venkatesan@xxxxxxxxx, jesse.brandeburg@xxxxxxxxx
In-reply-to: <42A0A897.5080006@xxxxxxxxxxxxxxx>
References: <42A0A25C.8000503@xxxxxxxxxxxxxxx> <20050603.114950.119242486.davem@xxxxxxxxxxxxx> <42A0A897.5080006@xxxxxxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
From: Ben Greear <greearb@xxxxxxxxxxxxxxx>
Date: Fri, 03 Jun 2005 11:59:35 -0700

> David S. Miller wrote:
> > In a reply I just sent out to this thread, I postulate that the
> > jiffies check is hitting earlier with a lower weight value, a quick
> > look at /proc/net/softnet_stat during their testing will confirm or
> > deny this theory.
> 
> That would basically just decrease the work done in the NAPI poll though,
> so I don't see how that could be the problem, since the 'solution' was to
> force less work to be done.

It allows his application to get onto the CPU faster.

<Prev in Thread] Current Thread [Next in Thread>