public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
From: "Kristian Evensen" <kristrev@simula.no>
To: <netdev@vger.kernel.org>, <linux-ppp@vger.kernel.org>
Subject: Performance hit with IP-tunnels
Date: Mon, 22 Mar 2010 11:17:17 +0100	[thread overview]
Message-ID: <000301cac9a8$dcd53750$967fa5f0$@no> (raw)

Hello,

I am currently comparing different IP-tunneling protocols/implementations,
and have stumbled upon something I am not able to explain. Regardless of
which tunneling technology I use, the latency increases with a couple of 10s
of ms and I see a significant degradation of throughput (compared to when no
tunnels are used). The only exception is IP-in-IP, where I get similar
performance with and without tunnels, but it does unfortunately not work in
my scenario.

First, I thought this was caused by the different tunneling software, but
after measuring the processing time of the applications (xl2tp and
pptp-client) and when the packets are seen by the different iptables chains
(using LOG), these delays seem to be acceptable. However, one delay sticks
out. After the packet has been decapsulated and fed to PPP, it takes a
"long" time before it is seen again. My question is, can PPP be the cause of
the higher latency and lower throughput? 

Similar observations are made at both ends of the tunnel.

Thanks in advance for any help,
Kristian


             reply	other threads:[~2010-03-22 10:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-22 10:17 Kristian Evensen [this message]
2010-03-22 11:06 ` Performance hit with IP-tunnels Eric Dumazet

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='000301cac9a8$dcd53750$967fa5f0$@no' \
    --to=kristrev@simula.no \
    --cc=linux-ppp@vger.kernel.org \
    --cc=netdev@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox