From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jesper Dangaard Brouer Subject: Re: [PATCH v4 net-next 00/19] inet: frags: bring rhashtables to IP defrag Date: Wed, 30 May 2018 11:20:22 +0200 Message-ID: <20180530112022.2b793051@redhat.com> References: <20180331195900.183604-1-edumazet@google.com> <20180331.232558.823542518953124984.davem@davemloft.net> <9329021e-2d77-7e90-b0e2-8b391508f6cb@mellanox.com> <20180528145224.3ih6urfixwv4fwkf@x220t> <13bf3889-4426-b17a-d8d7-e843038a2a82@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Alexander Aring , Tariq Toukan , David Miller , edumazet@google.com, netdev@vger.kernel.org, fw@strlen.de, herbert@gondor.apana.org.au, tgraf@suug.ch, alex.aring@gmail.com, stefan@osg.samsung.com, ktkhai@virtuozzo.com, Moshe Shemesh , Eran Ben Elisha , brouer@redhat.com, Rick Jones To: Eric Dumazet Return-path: Received: from mx3-rdu2.redhat.com ([66.187.233.73]:46778 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S965167AbeE3JU3 (ORCPT ); Wed, 30 May 2018 05:20:29 -0400 In-Reply-To: <13bf3889-4426-b17a-d8d7-e843038a2a82@gmail.com> Sender: netdev-owner@vger.kernel.org List-ID: On Mon, 28 May 2018 09:09:17 -0700 Eric Dumazet wrote: > Tariq, here are my test results : No drops for me. > > # ./netperf -H 2607:f8b0:8099:e18:: -t UDP_STREAM > MIGRATED UDP STREAM TEST from ::0 (::) port 0 AF_INET6 to 2607:f8b0:8099:e18:: () port 0 AF_INET6 > Socket Message Elapsed Messages > Size Size Time Okay Errors Throughput > bytes bytes secs # # 10^6bits/sec > > 212992 65507 10.00 202117 0 10592.00 > 212992 10.00 0 0.00 Hmm... Eric the above result show that ALL your UDP packets were dropped! You have 0 okay messages and 0.00 Mbit/s throughput. It needs to look like below (test on i40e NIC): $ netperf -t UDP_STREAM -H fee0:cafe::1 MIGRATED UDP STREAM TEST from ::0 (::) port 0 AF_INET6 to fee0:cafe::1 () port 0 AF_INET6 : histogram : demo Socket Message Elapsed Messages Size Size Time Okay Errors Throughput bytes bytes secs # # 10^6bits/sec 212992 65507 10.00 186385 0 9767.08 212992 10.00 186385 9767.08 If I manually instruct ip6tables to drop all UDP packets, then I get what you see... so, something on your test system are likely dropping your UDP packets, but letting regular netperf (TCP) control communication through. # ip6tables -I INPUT -p udp -j DROP $ netperf -t UDP_STREAM -H fee0:cafe::1 MIGRATED UDP STREAM TEST from ::0 (::) port 0 AF_INET6 to fee0:cafe::1 () port 0 AF_INET6 : histogram : demo Socket Message Elapsed Messages Size Size Time Okay Errors Throughput bytes bytes secs # # 10^6bits/sec 212992 65507 10.00 182095 0 9542.41 212992 10.00 0 0.00 -- Best regards, Jesper Dangaard Brouer MSc.CS, Principal Kernel Engineer at Red Hat LinkedIn: http://www.linkedin.com/in/brouer