From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-CO1-obe.outbound.protection.outlook.com (mail-co1nam03on0064.outbound.protection.outlook.com [104.47.40.64]) by dpdk.org (Postfix) with ESMTP id 7C27432A5 for ; Tue, 6 Dec 2016 22:18:09 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=JEk+1gbxipNjVBm+PwLx05EpXM0wFoOzEQd8OiAuYNc=; b=JJp+IXYglrMOcx8HOslTW/R2YlBshPi6a6i1wBvIgp8e/m34lDTQAKe/vBn1PZiHhnLqiGzYnx3nmQt+7gBGhERaXXSTVMOZN81uStkvzCSWYei2iCsjcaaEGTlqpEvmrpad+JKg63eqiD+8Dmwyr0V1s5ftIKBOUD7S+cqKERA= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.Jacob@cavium.com; Received: from localhost.localdomain (50.233.148.156) by BLUPR0701MB1713.namprd07.prod.outlook.com (10.163.85.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.707.6; Tue, 6 Dec 2016 21:18:06 +0000 Date: Wed, 7 Dec 2016 02:48:02 +0530 From: Jerin Jacob To: Thomas Monjalon CC: , , , Emery Davis Message-ID: <20161206211802.GA18108@localhost.localdomain> References: <1480851219-45071-1-git-send-email-zbigniew.bodek@caviumnetworks.com> <1481077985-4224-1-git-send-email-zbigniew.bodek@caviumnetworks.com> <1481077985-4224-4-git-send-email-zbigniew.bodek@caviumnetworks.com> <370264788.TNfU8e7VBG@xps13> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <370264788.TNfU8e7VBG@xps13> User-Agent: Mutt/1.7.1 (2016-10-04) X-Originating-IP: [50.233.148.156] X-ClientProxiedBy: CY1PR20CA0088.namprd20.prod.outlook.com (10.164.213.142) To BLUPR0701MB1713.namprd07.prod.outlook.com (10.163.85.14) X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1713; 2:vgjWqRAO7Jb1pMyHIkb5HaMeP4NaswnGksi+TmuliqMKM/tHfKl7RhI2pyd/cWLr7lkyJdOcmG59CNGa7RhsAQ6R8FBfIRgQJOfbhrCAThV6vNz26XltQdcGXh/oDCD8A4kobktkGw/YvbxH0gc9umZb1vSdaTOJqF/eux2CU/Q=; 3:INWh/syQBWudh3014lXrF+MC6ZSamCpbzQpFy6mIoxOo77qYx2WgO/VhQZVMrP/jLbEgYKXrTpJm3yZLjaVlDr65uCLAXppecAEr9F0w7bd1HuApwMTqlT9vnLF4ipZrc3FF+p4ayT4SdW63PCglQs6PXgagL5cd7V3mj4X13z4= X-MS-Office365-Filtering-Correlation-Id: a927669d-9a3a-4336-96cc-08d41e1d5fc1 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:BLUPR0701MB1713; X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1713; 25:z38rP0Z3Dx7rAJsvkFVqgpbmb9bEGDU5k4ZFsKjCpMPLSXL8BgneAvPHfFCjEe/IGiyceIy9TGn6TFm7Le0xGfL9s6B39QD078opFX+GQwQh5D/LymvpxO572Q02qlj590HUDMja5S8I9bkz9Rz4ja7exXkRG6c5KyeRZjojjAczJuRe0JCLk+9YiO4kruowUSV9H54CRHhFKok0UuBd+1kL1vO1ShaQ0T41HMylhmzTKgb7C+4hBvO8gYeUl0dzxz5YvhQiohMezGFSukC0yt24sZJ73bBiLsEFeyGrAQ891B/6KNw5RMAyXUv5T1NnIlttgqAx+hku4GjoSNE+bYgKrMJfESBT3g0+E8Lzq97+53TiGOfMKkVqmq1V0Y48u049juCVGf1cLtMfMMaMqY9sBl3A+IlZ5sCes0ZpBburqFWVSlWwUy83I4pp7c3VbhUR6Gqlh+sHTaBEDadgnRoxObWsfERnPHOAAY/Q0/icDizxJ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8+E5B4aWyh6odpYwxiCg/SYB2fBdEXIIyNLCmg3pqYIeA5j+F6GETNPtrom5wtKHHBb3zZWhrOUse5/OTNDzn745ppUiU/65ADmKj14jvjvwa12sA+SfrEs12bwho2ENcGMiah3sqWs20wYaFw5RHyc= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(5005006)(8121501046)(10201501046)(3002001)(6041248)(20161123562025)(20161123560025)(20161123558021)(20161123555025)(20161123564025)(6072148); SRVR:BLUPR0701MB1713; BCL:0; PCL:0; RULEID:; SRVR:BLUPR0701MB1713; X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1713; 4:iVu8aBq6ch9kgbBLQ6HtBgTR7hhSvAcmaAJNYjBB0+YEdnQFPgGUy2Te5xTsr/6u67YbIE/TBz3n2GF95TYA6+NcHqIQ06u1KFvxqRFaa8Ht0OysUfpWoJiRbZHp2KXXRaw+xHCGnzDYqY8ZzKkgkBN6iznTTCSCZezOhkt3MZsGgH8TSf0rLfeQn8nqRtScvtZciL9qcP6YrScTO57gMyzf1jGirXsVoaQjKCZ1lRko4YZLFbx7tcodzFOl6q8N1sMF57QhIhBgWrj+XXIjMepPgFK2FplsAjr5Gfs7EdI5QnFnQs4g1vQQ6MBbZyyuQeIKnKBIj1p8V+ybWEEIUeyRAelmsECDa/K1gJuYhsZ0yQFIFtEl4hH2LCbgQQWQoO8Zd9YRfbkDquknexeLHCxUvJK5byZuGcMM4OLMi9/5D6QHC2tcgQd4oXN+1IdgkN2QbJOAF8Obe1oOKRckjV1yGlzIV7r9wymT3Z8HkHKXLxlt22G/Mrb1dPR0b7hlm+z0+Q9KYQ2M0HYVh1vEHFZdfzbftJ2W/rOTnczRFMqDRtym1ZjPe12WyImrqD2Yfc+DlaPaJ2yKLNL0kYQqpLX1WfO9jN1AePsyel2u00g= X-Forefront-PRVS: 01480965DA X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(6069001)(7916002)(199003)(377424004)(189002)(24454002)(6666003)(4001350100001)(33656002)(42882006)(105586002)(1076002)(23726003)(93886004)(6116002)(3846002)(50986999)(106356001)(76176999)(50466002)(68736007)(4001430100002)(42186005)(101416001)(2950100002)(7736002)(39850400001)(97756001)(81166006)(8676002)(9686002)(83506001)(2906002)(229853002)(6506006)(107886002)(38730400001)(47776003)(39450400002)(110136003)(7846002)(92566002)(5660300001)(46406003)(54356999)(6916009)(66066001)(733004)(61506002)(305945005)(39410400001)(4326007)(39840400001)(81156014)(97736004)(189998001)(18370500001); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR0701MB1713; H:localhost.localdomain; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BLUPR0701MB1713; 23:ZXmGA8ZLVIFlzK4gNxXw1obEzLWv16N+k0AZTDQ?= =?us-ascii?Q?sSRfK5r4FjJYqqTAY1MY43t9QmaxV/638o7TMv/jHw4kWaBiHstZ61iG8uTH?= =?us-ascii?Q?um6/H9kS0qIGcwYJ8AvlpJLiz0knpb/yVEBtmbCki9LNpmrT18cvXYA8krWn?= =?us-ascii?Q?Tr4G8pOAR1/lnRq8Uw/w9UUoO70JOXeh1E0R9fnIU8e/H2ydR/CVbdXHhnez?= =?us-ascii?Q?un+oD6sYf6p51zNekhkKhg4Y1+h913QKLmwjlCzuBZqu7BnhWXM3zJIVhI8+?= =?us-ascii?Q?sKbbS2ig8bMvERzHVxx5rpNBlp6cNKY0YPILuGBEqcmXQYyOCw0iPTsXwGIy?= =?us-ascii?Q?EIPXsmQasXRYGKaOYAtZLHRjE+0IpEdAtnhIaQ9Jz+cDLNWhrmCbWtZRYNFd?= =?us-ascii?Q?mvTkQis47vkYaJk2eFGltmAJq0uJdGzq9OMPszu2pTLA24KJ0Y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Aism4xK2ShSfsEeBbOqSK/5HIsBjj7bxsAuundK?= =?us-ascii?Q?L6w0/5pr8puaq6eTuAHFA7/ODGgPKFM71vKiAKYXpwUnV3+Y2zbZZ1ucqSmx?= =?us-ascii?Q?qIzEAyg1ou9UwFb//YwfZzH90VjvEbI1OIQnBTiaMttNuhn9RP4VX?= X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1713; 6:92kxTHT1Y2zOGpP916/PgnSOIXgJWWWlcoevrBM6NccpXOQwEDLnXRAK5lL5GYAQAZtBPBtUC14huecaKaFiEsyjzqcEi0AiIL5GWahkCGb7Lmdyo+3lhPkTat2+bccmAQz8OazUQuDOee2ErzpBXmBCDK02JfJs695AUgVUr5llIQoWUuaoxSNhViFX3gffw/h68nWk0W40IaOTxCbxCg0GuN4WSBiL0Qt+bdbmw1jpeZpkq/rJ5DE3OIg4+wJIz5mu1JM431B0XWYyBQghom4WI8ZySdSAvfYW0z+YWlwjf4Q2CMYrH7PsnsNUlukavjKCfmiHVUDaYvyf2n6gzspLRqfZDpju/WoTfkq8bF8=; 5:QluJseu1HWW4hty1W+0FvdVQfGgVjuwy1a7Qd0in04Be2NIcAisq3DsU4FCiy6gsq/QJNNtj9NKpfF3+V3B4IfK02Dpu1/3ne85RnAp2CZKBhtK04ZjRaQtsERWxX6O4WlHe33RS4x+uP3MfCW2FlA==; 24:QWVtvnHEQqre66+4f7b9DOUctup0quq9OPvoecUB91QS8A4KPFFO7o18IkkvF0Db81rUBntPxDdKARld7siH4S13ADRsZdHYqeBqY+P8bO4= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1713; 7:VqIjWz6IB8NXr41x1fPERIolWAJUA6szrEFIGp4qSbo4qSxjQZ5LZGiiWclysCYTiOpk82eFTvODSK/fJF61aa7Gw3xKkDFN+2KhOG6DU0hdtFOqFTnxCYFPGgWD230KlnyxFwH+lxvaLz5evzey1GL2bnqlBu9bFEzPh0xLCr96CGbiOHi/+Pusgc9UpZAB2+2pIKlh37/GSTTQ1G4fDFEmpSNu3/lPwv+OcrW8pMmtQVx5eQKFiAWjEJ96G/pc8sWDk6sltOksbUtN5yS6lUDieYoosIUpKuP6Za5dL0LwU/X/GgVgOpRiF80PmvQ27Td1s7mY0lBuc7z6KRYYTqdL7z9fcNTeXPKxizIaB0A= X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Dec 2016 21:18:06.9614 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR0701MB1713 Subject: Re: [dpdk-dev] [PATCH v2 03/12] crypto/armv8: Add core crypto operations for ARMv8 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Dec 2016 21:18:10 -0000 On Tue, Dec 06, 2016 at 09:29:25PM +0100, Thomas Monjalon wrote: > 2016-12-06 18:32, zbigniew.bodek@caviumnetworks.com: > > From: Zbigniew Bodek > > > > This patch adds core low-level crypto operations > > for ARMv8 processors. The assembly code is a base > > for an optimized PMD and is currently excluded > > from the build. > > It's a bit sad that you cannot achieve the same performance with > C code and a good compiler. > Have you tried it? How much is the difference? Like AES-NI on IA side(exposed as separate PMD in dpdk), armv8 has special dedicated instructions for crypto operation using SIMD. This patch is using the "dedicated" armv8 crypto instructions and SIMD operation to achieve better performance. We had compared with openssl implementation.Here is the performance improvement for chained crypto operations case WRT openssl pmd Buffer Size(B) OPS(M) Throughput(Gbps) 64 729 % 742 % 128 577 % 592 % 256 483 % 476 % 512 336 % 351 % 768 300 % 286 % 1024 263 % 250 % 1280 225 % 229 % 1536 214 % 213 % 1792 186 % 203 % 2048 200 % 193 %