[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1271443994.16881.4249.camel@edumazet-laptop>
Date: Fri, 16 Apr 2010 20:53:13 +0200
From: Eric Dumazet <eric.dumazet@...il.com>
To: Tom Herbert <therbert@...gle.com>
Cc: David Miller <davem@...emloft.net>, netdev@...r.kernel.org
Subject: Re: [PATCH v5] rfs: Receive Flow Steering
Le vendredi 16 avril 2010 à 11:35 -0700, Tom Herbert a écrit :
> Results with "tbench 16" on an 8 core Intel machine.
>
> No RPS/RFS: 2155 MB/sec
> RPS (0ff mask): 1700 MB/sec
> RFS: 1097
>
> I am not particularly surprised by the results, using loopback
> interface already provides good parallelism and RPS/RFS really would
> only add overhead and more trips between CPUs (last part is why RPS <
> RFS I suspect)-- I guess this is why we've never enabled RPS on
> loopback :-)
>
> Eric, do you have a particular concern that this could affect a real workload?
>
I was expecting RFS to be better than RPS at least, for this particular
workload (tcp over loopback)
With RPS, the hash function of (127.0.0.1, port1, 127.0.0.1, port2)
is different than (127.0.0.1, port2, 127.0.0.1, port1), so basically we
force the server to run on different processor than client
However, I was expecting that with RFS, client and server would run on
same cpu.
Maybe we could change (for a test) hash function to use (sport ^ dport)
instead of (sport << 16) + dport
--
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