All of lore.kernel.org
 help / color / mirror / Atom feed
From: Evgeniy Polyakov <johnpol@2ka.mipt.ru>
To: Denys Fedoryshchenko <denys@visp.net.lb>
Cc: netdev@vger.kernel.org, netfilter-devel@vger.kernel.org,
	David Miller <davem@davemloft.net>,
	Eric Dumazet <dada1@cosmosbay.com>
Subject: Re: REDIRECT in nat OUTPUT
Date: Sun, 13 Jul 2008 18:09:30 +0400	[thread overview]
Message-ID: <20080713140930.GA23238@2ka.mipt.ru> (raw)
In-Reply-To: <200807121740.25789.denys@visp.net.lb>

On Sat, Jul 12, 2008 at 05:40:25PM +0300, Denys Fedoryshchenko (denys@visp.net.lb) wrote:
> Seems i found something. After issuing ethtool -K lo tso on i got significant performance improvement.
> Why it is not on by default?
> Without it performance is VERY poor.

TSO over loopback turns to be GSO, which allows to aggregate multiple
packets into single frame. If system is not CPU bound, then it is likely
REDIRECT problem. If I understood you corerctly, loopback performance is
always good without REDIRECT, but fails to miserable level when
apprpriate rule is used?

-- 
	Evgeniy Polyakov

  reply	other threads:[~2008-07-13 14:09 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-12  1:24 REDIRECT in nat OUTPUT Denys Fedoryshchenko
2008-07-12  6:28 ` Evgeniy Polyakov
2008-07-12 13:55   ` Denys Fedoryshchenko
2008-07-12 14:40     ` Denys Fedoryshchenko
2008-07-13 14:09       ` Evgeniy Polyakov [this message]
2008-07-13 14:19         ` Denys Fedoryshchenko
2008-07-13 14:59           ` Krzysztof Oledzki
2008-07-13 15:12             ` Denys Fedoryshchenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080713140930.GA23238@2ka.mipt.ru \
    --to=johnpol@2ka.mipt.ru \
    --cc=dada1@cosmosbay.com \
    --cc=davem@davemloft.net \
    --cc=denys@visp.net.lb \
    --cc=netdev@vger.kernel.org \
    --cc=netfilter-devel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.