Re: Patch for tbench regression.
From: Herbert Xu <herbert@gondor.apana.org.au>
Date: 2008-09-29 03:12:54
On Mon, Sep 29, 2008 at 01:15:30AM +0400, Evgeniy Polyakov wrote:
Idea is rather trivial: disable TSO and GSO on loopback. The latter was
Weird. That's the very first thing I tried but for me it goes the other way. With TSO/GSO: Throughput 169.19 MB/sec 1 procs Without: Throughput 24.0079 MB/sec 1 procs Note that I only disabled TSO/GSO using ethtool: etch1:~# ethtool -k lo Offload parameters for lo: rx-checksumming: on tx-checksumming: on scatter-gather: on tcp segmentation offload: off udp fragmentation offload: off generic segmentation offload: off etch1:~# Can you see if reverting the patch but using ethtool gives you the same results? PS I'm using FV Xen. Thanks, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} [off-list ref] Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt