Netdev List
 help / color / mirror / Atom feed
From: "Алексей Болдырев" <ne-vlezay80@yandex.ru>
To: netdev <netdev@vger.kernel.org>
Subject: veth: проблемы со скоростью
Date: Sat, 10 Jun 2017 14:33:38 +0300	[thread overview]
Message-ID: <952771497094418@web20m.yandex.ru> (raw)

Короче, имеем ядро 4.11.4. При передаче данных через veth, мы получаем скорость примерно такую:
root@containers:~# iperf3 -c 10.194.1.3
Connecting to host 10.194.1.3, port 5201
[  4] local 10.194.1.2 port 55640 connected to 10.194.1.3 port 5201
[ ID] Interval           Transfer     Bandwidth       Retr  Cwnd
[  4]   0.00-1.00   sec   678 MBytes  5.68 Gbits/sec    0   1.10 MBytes       
[  4]   1.00-2.00   sec   684 MBytes  5.73 Gbits/sec    0   1.60 MBytes       
[  4]   2.00-3.00   sec   684 MBytes  5.74 Gbits/sec    0   1.60 MBytes       
[  4]   3.00-4.00   sec   686 MBytes  5.75 Gbits/sec    0   1.60 MBytes       
[  4]   4.00-5.00   sec   685 MBytes  5.75 Gbits/sec    0   1.60 MBytes       
[  4]   5.00-6.00   sec   684 MBytes  5.73 Gbits/sec    0   1.60 MBytes       
[  4]   6.00-7.00   sec   684 MBytes  5.74 Gbits/sec    0   1.60 MBytes       
[  4]   7.00-8.00   sec   684 MBytes  5.74 Gbits/sec    0   1.60 MBytes       
[  4]   8.00-9.00   sec   686 MBytes  5.75 Gbits/sec    0   1.60 MBytes       
[  4]   9.00-10.00  sec   685 MBytes  5.75 Gbits/sec    0   1.60 MBytes       
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth       Retr
[  4]   0.00-10.00  sec  6.68 GBytes  5.74 Gbits/sec    0             sender
[  4]   0.00-10.00  sec  6.68 GBytes  5.74 Gbits/sec                  receiver

iperf Done.

Собственно, в чём вопрос:
Какие изменения были внесины в драйвер veth? На сколько я понимаю, маленькая скорость возникает потому, что включенна проверка от плохих пакетов, которые были в этом баге: https://github.com/kubernetes/kubernetes/issues/18898

Дело в том, что veth используется также для создания псевдо туннелей, например если надо покключить в l2 режиме устройства которые не поддерживают больших пакетов к сети, в которой есть jumbo frame. 

Дело в том, что эту проверку невозможно отключить.

                 reply	other threads:[~2017-06-10 11:41 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=952771497094418@web20m.yandex.ru \
    --to=ne-vlezay80@yandex.ru \
    --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