From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nikolay Aleksandrov Subject: [PATCH net-next 0/4] inet: frags: cleanup and kmem_cache use Date: Thu, 31 Jul 2014 17:11:35 +0200 Message-ID: <1406819499-11198-1-git-send-email-nikolay@redhat.com> Cc: Florian Westphal , Nikolay Aleksandrov , "David S. Miller" , Alexey Kuznetsov , James Morris , Hideaki YOSHIFUJI , Patrick McHardy , Alexander Aring , Eric Dumazet To: netdev@vger.kernel.org Return-path: Received: from mx1.redhat.com ([209.132.183.28]:43712 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751620AbaGaPOt (ORCPT ); Thu, 31 Jul 2014 11:14:49 -0400 Sender: netdev-owner@vger.kernel.org List-ID: Hello, This patchset does a couple of small cleanups in patches 1-3 and then in patch 04 it introduces the use of kmem_cache for allocation/freeing of inet_frag_queue+header objects. Here are the results of a couple of netperf runs: netperf options: -l 30 -I95,5 -i 15,10 -m 64k - 10 gig before the patchset MIGRATED UDP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 192.168.155.1 () port 0 AF_INET : +/-2.500% @ 95% conf. Socket Message Elapsed Messages Size Size Time Okay Errors Throughput bytes bytes secs # # 10^6bits/sec 212992 64000 30.00 442466 0 7551.39 212992 30.00 439130 7494.45 - 10 gig after the patchset MIGRATED UDP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 192.168.155.1 () port 0 AF_INET : +/-2.500% @ 95% conf. Socket Message Elapsed Messages Size Size Time Okay Errors Throughput bytes bytes secs # # 10^6bits/sec 212992 64000 30.00 458846 0 7830.94 212992 30.00 457575 7809.25 - Virtio before the patchset MIGRATED UDP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 192.168.144.1 () port 0 AF_INET : +/-2.500% @ 95% conf. Socket Message Elapsed Messages Size Size Time Okay Errors Throughput bytes bytes secs # # 10^6bits/sec 212992 64000 30.00 735000 0 12543.96 212992 30.00 560322 9562.79 - Virtio after the patchset MIGRATED UDP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 192.168.144.1 () port 0 AF_INET : +/-2.500% @ 95% conf. Socket Message Elapsed Messages Size Size Time Okay Errors Throughput bytes bytes secs # # 10^6bits/sec 212992 64000 30.00 731729 0 12488.14 212992 30.00 647241 11046.21 CC: Florian Westphal CC: David S. Miller CC: Alexey Kuznetsov CC: James Morris CC: Hideaki YOSHIFUJI CC: Patrick McHardy CC: Alexander Aring CC: Eric Dumazet Best regards, Nikolay Aleksandrov Nikolay Aleksandrov (4): inet: frags: use INC_STATS_BH in the ipv6 reassembly code inet: frags: rename last_in to flags, enum the definitions and add comments inet: frags: use INET_FRAG_EVICTED to prevent icmp messages inet: frags: use kmem_cache for inet_frag_queue include/net/inet_frag.h | 50 +++++++++++++++++++++++++-------- net/ieee802154/reassembly.c | 21 ++++++++------ net/ipv4/inet_fragment.c | 38 ++++++++++++++----------- net/ipv4/ip_fragment.c | 35 ++++++++++++----------- net/ipv6/netfilter/nf_conntrack_reasm.c | 20 +++++++------ net/ipv6/reassembly.c | 45 ++++++++++++++++------------- 6 files changed, 130 insertions(+), 79 deletions(-) -- 1.9.3