Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1390493

Re: [PATCH net-next V2] tuntap: calculate rps hash only when needed

From David Miller <davem@davemloft.net>
Newsgroups linux.kernel
Subject Re: [PATCH net-next V2] tuntap: calculate rps hash only when needed
Date 2016-04-28 22:40 +0200
Message-ID <rt0T8-1Qs-3@gated-at.bofh.it> (permalink)
References <rs1Hz-qy-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Jason Wang <jasowang@redhat.com>
Date: Mon, 25 Apr 2016 23:13:42 -0400

> There's no need to calculate rps hash if it was not enabled. So this
> patch export rps_needed and check it before trying to get rps
> hash. Tests (using pktgen to inject packets to guest) shows this can
> improve pps about 13% (when rps is disabled).
> 
> Before:
> ~1150000 pps
> After:
> ~1300000 pps
> 
> Cc: Michael S. Tsirkin <mst@redhat.com>
> Signed-off-by: Jason Wang <jasowang@redhat.com>

Applied, thanks Jason.

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH net-next V2] tuntap: calculate rps hash only when needed Jason Wang <jasowang@redhat.com> - 2016-04-26 05:20 +0200
  Re: [PATCH net-next V2] tuntap: calculate rps hash only when needed David Miller <davem@davemloft.net> - 2016-04-28 22:40 +0200

csiph-web