[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1341988323.3265.6968.camel@edumazet-glaptop>
Date: Wed, 11 Jul 2012 08:32:03 +0200
From: Eric Dumazet <eric.dumazet@...il.com>
To: Li Yu <raise.sail@...il.com>
Cc: Linux Netdev List <netdev@...r.kernel.org>
Subject: Re: [RFC][PATCH 1/4] skbtrace: core feature
On Wed, 2012-07-11 at 14:15 +0800, Li Yu wrote:
> 于 2012年07月11日 12:03, Eric Dumazet 写道:
> > You said that some 'buggy' drivers set rxhash to zero, but its a valid
> > operation.
> >
> > You said 'it seems that RPS hashing can not work well for some corner
> > cases', but its a known fact.
> >
>
> Em, we really are able to verify RPS imbalance by checking the last
> column of /proc/net/softnet_stat, but skbtrace can give us more details
> of RSS/RPS hashing. For improper RPS hashing case, it can provide more
> details of what really happen in real time.
A hash is a hash. Its rarely perfect.
RPS is a best effort, and not suitable for all needs.
If you follow netdev, maybe you saw that I suggested to use a BPF to
compute the hash, for specialized needs.
Of course, RFS can also help right now.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists