From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-we0-f178.google.com (mail-we0-f178.google.com [74.125.82.178]) by dpdk.org (Postfix) with ESMTP id 1FA002E89 for ; Fri, 1 Aug 2014 18:25:32 +0200 (CEST) Received: by mail-we0-f178.google.com with SMTP id w61so4635764wes.37 for ; Fri, 01 Aug 2014 09:27:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=SWAbDYtq3Bq+MM7BNh39l2DQb1bzTH6LJEmCei1KNDY=; b=D5MiBRZ27y3mGbZyk0aVuVe7eeg9buP8Ee+XtQZyY9QCWFjuHlmcgSsDaKoB5RO51a 9aW3Nj/uPXSY54GfeJ8NAE3xGCuHuluoK7YX7LKuDNFGj2lj412TBzN0w42Zz3eG80Sa lnKnwxygG2iHYg6fWZEkbEYYAiL7I+wk1uh3KTXjWWNxUGw5XOfWHu2hZ6K9o14uLQ+1 v+i/UKXLj5XrCXvh6FCpqqfsw1yRHLzWrsMo1LOZnjpZmMpxVuaGDmXYCFrztBV78JLR kwsw2jihUdaINUTSLGZ1vaSsa9H6KPw7DkvivzzMEqFY68bPR7h1i0sd2BcXbu0s8ScV ztQw== X-Gm-Message-State: ALoCoQm2wEWvneG8nzAheHCLuGKRs1VaD0F+g8Mskva8GVNAij383Nf8X380uDkNcVclbMnN4zww X-Received: by 10.180.189.4 with SMTP id ge4mr8528876wic.25.1406910455077; Fri, 01 Aug 2014 09:27:35 -0700 (PDT) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by mx.google.com with ESMTPSA id gi15sm21968180wjc.20.2014.08.01.09.27.33 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 01 Aug 2014 09:27:34 -0700 (PDT) From: Thomas Monjalon To: Konstantin Ananyev Date: Fri, 01 Aug 2014 18:27:22 +0200 Message-ID: <1663592.FtpoT9rkYr@xps13> Organization: 6WIND User-Agent: KMail/4.13.3 (Linux/3.15.7-1-ARCH; KDE/4.13.3; x86_64; ; ) In-Reply-To: <1406045087-9625-1-git-send-email-konstantin.ananyev@intel.com> References: <1406045087-9625-1-git-send-email-konstantin.ananyev@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH] l3fwd improve grouping by destination port a bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Aug 2014 16:25:32 -0000 2014-07-22 17:04, Konstantin Ananyev: > Latest changes introduced a small degradation for the corner case > when each input packet is destined to the different port. > For the test-case when 1 core manages 4 ports and packet stream looks like: > IPV4_DSTPORT0, IPV4_DSTPORT1, IPV4_DSTPORT3, IPV4_DSTPORT4, IPV4_DSTPORT0, ... > non-optimised code path outperforms optimised one by 2-3%. > These changes supposed to close that gap. > From my testing: now for the case descirbed above optimised code path > produces same numbers as non-optimised one. > For other test-cases numbers remain about the same. > > Signed-off-by: Konstantin Ananyev There was no comment about this patch so it's now applied for version 1.7.1. Thanks -- Thomas