From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 4F5C7A0351; Wed, 19 Jan 2022 22:12:39 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3F41E411ED; Wed, 19 Jan 2022 22:12:39 +0100 (CET) Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2054.outbound.protection.outlook.com [40.107.220.54]) by mails.dpdk.org (Postfix) with ESMTP id BDD72411FE for ; Wed, 19 Jan 2022 22:12:37 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=c95DHWOx9vCy9hIHi7aY6WNeFPN0m/w/1tzMmbfJVnvuXPVl3UfUVMzQeO/RctHaGVjDuz1ehH1SiQinhXlqSDfm3ZafN4IO7PXN4AHjMVALeaxQa2rgCl/6LK9dSBmAgJRWXqa5CH31yiKkV8+50YFTQxGHJK968qORk4bqnrjQ3pw5vwXoWtU+1HDAaNnnpZk167C/zW6YUZ0jl8zQc91fTqYRH0u4zlu1iGUOJN9Gl7u+AgVmvlnU6Vh59+4ch/fHDg0Pkd+eg9bwEUfbnMA7JNfxJCql+WCeCnJ8FJ85dup3WNfWSnygMshFcaGBqgxw/nK8rzBoWijCsUa+GA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=gwXGeIUhLr7UlknGfvpxD1kwe1aCbdSQhzEqrymfEBM=; b=NSNZBFZOxDnSF42Vh/kCaBejlq5NjOX+OqSoDaJUwZZ0ahI/3nPDigqsTxLGoardZI+ld45HxqNhToH4gi30LedadlGr6jsf8Bix8P6h4gjwiwmBrx/Rcajkx2VhT+pXaJcfsNxh67+W/wWtMkbhyivu6uejx28FLPWnSxbrGMeQ6h//5JCl5XMeKkAaMOxtcUTseWGBsHmpkca15V9oS07dxVrgWkj7lvnv4z+xWit/ddOVBFjPpriUXGNRFaFcn3iBXezGiqawPUG8quo6vFfs1WRLXLFvUcuImGBTSlj7eC2Vb4cfkKyVI/UgToQ96YTLubyYosge2lE+hmgxsA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=gwXGeIUhLr7UlknGfvpxD1kwe1aCbdSQhzEqrymfEBM=; b=ciRydvZeaX5WvkdckZTPICqDtV66iX4UI7vZ8VUx8H5HW1h93o2vMO1f5c0G8XQu7CULWKLbYecoUQGtpvQc52JkXPKG+3ZV589+SRY4inC1cEAdG5XGREtBmpsZDLmPWZyRg9DeMEwscENLXAGYmmE+3zP+sSrWJxDkFAKx55zDywPyVVNhMsZLhJBfKIcet9LT8rK6iuvXEF/s9wv4YmPKTgyitOHIrZ65CrdWzzswvRyGjmIGRXWV11GPd52tK0k5zEKXTIEdDzoSchXklt3OV5/QEce6kIuFuqWMzVzEFM3yCw65NkAiMw13G7ZaWbuTwjr6gAiTAWN3eZOB9Q== Received: from BN8PR12MB2899.namprd12.prod.outlook.com (2603:10b6:408:6b::20) by CH2PR12MB4309.namprd12.prod.outlook.com (2603:10b6:610:a4::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4909.8; Wed, 19 Jan 2022 21:12:36 +0000 Received: from BN8PR12MB2899.namprd12.prod.outlook.com ([fe80::6447:52d7:9c7b:8e1a]) by BN8PR12MB2899.namprd12.prod.outlook.com ([fe80::6447:52d7:9c7b:8e1a%6]) with mapi id 15.20.4888.014; Wed, 19 Jan 2022 21:12:36 +0000 From: Dmitry Kozlyuk To: Bruce Richardson CC: "dev@dpdk.org" , Aaron Conole , Slava Ovsiienko Subject: RE: [PATCH v1 2/6] app/test: add allocator performance benchmark Thread-Topic: [PATCH v1 2/6] app/test: add allocator performance benchmark Thread-Index: AQHYC3l0SugXQCQO10ytRMitUicINaxnXCuAgAAA/YCAAVfFIA== Date: Wed, 19 Jan 2022 21:12:35 +0000 Message-ID: References: <20211230143744.3550098-1-dkozlyuk@nvidia.com> <20220117080801.481568-1-dkozlyuk@nvidia.com> <20220117080801.481568-3-dkozlyuk@nvidia.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nvidia.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 54731ac0-29a4-47ff-1f19-08d9db906a9e x-ms-traffictypediagnostic: CH2PR12MB4309:EE_ x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6790; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: wI5SJ8vIMhxVmG7oDEWvBLH8UCRFLXiFMPRwjszgL9cmCQFvBU6ZUPWOn+eWuU7hXEQcCXu7R8cHbE+BzQJyU9yrLMx+BjhuxL41bxIKLG8JYJeMTJgA1qpHgiH2Gce3e+LyftuNJWsAivVfO1yL6eGh4Z6HCD4j2dyeBJ7gOZ/U3D7I8qZSwWwDFk2yDaNh6WYJupdmFwsSlIwoEcljo9o/NZepPRJcjxziWXjj1EzenhgopTpkd682DGmty8gNdUXO3jYU4gjXwBLxLFOT4Q+Dq4yi+qIOcSGCBGJc7B2367oBFCr0YqzNpVv/jEITgrTLxJUgVGqa+tobCVAoZUPgTSgOdt6zPpWX/BeB8jj79AXxOLx1dly59WNMaQu/KmEkWZa8kBHLAta92dcOJuc4rwderW9O70m6alp4amgG4npbo024zb8DESlxQCkbnVn6Q4KCXZdbHjFu7tnEL7u8NbRxRsYHGRLTbYPRwfF8WO4sRAu2y4rECSCXCcaMFU3As+PKKysO5fHhBKIGcCIX01srDxhenmZ171Yjat54zS1NG//1NCo++vU7fXTbGISPtUnNdj0rsGRnfcgN+Y7Bz7h6KUvUF1znDrsYAbvWlgNWs/mieXVuTtIAsiyWRQsHxiDH8mPwN2RkO0i84937Cla9Hvafwxpljv9HSvqVYfJ1GciC8+dM2e8Ky4kchEsUXKLdDW2L5u8jX/olww== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BN8PR12MB2899.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(6506007)(33656002)(7696005)(4326008)(86362001)(9686003)(6916009)(38100700002)(2906002)(54906003)(71200400001)(316002)(8936002)(107886003)(66556008)(66946007)(122000001)(66476007)(64756008)(76116006)(66446008)(38070700005)(508600001)(8676002)(26005)(52536014)(5660300002)(186003)(55016003); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?HMwoAO52xBo90zrwknXuRkhAjYCno4VDNMgeUU0gFVyYq2xZPYO2Hi/65too?= =?us-ascii?Q?zPDjBNlCPMibxXnZ7oC4iLtvkkNg0T9jso0w0CSYXtt9PFEowkAKSaPD/rgu?= =?us-ascii?Q?B008X6LI8jlH+RvX6qbqCi6KAKTKlvAqj2BWAAPuY2OQidONDh6TYFbWKl4N?= =?us-ascii?Q?WLaEPYLbQfd50cQ99bEktGLpENV9wtusWG2gbAvzgMjNsvpm6BdDLC3xI8pF?= =?us-ascii?Q?Q67DV564xrooBwZfImASV5zs4FZyyJG5THE6lXyKOvcvPA/NOGeQteJAjzKF?= =?us-ascii?Q?VTHp8moaQLXKpI4f02fal6FVn5gB9chhC5AaOnxuEbqWZZdVMvIffdaa4HXL?= =?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5pohF9uTLi/3EmAozJnqD?= =?us-ascii?Q?astgFMrEkoFx/i1gK1eFFI5yw8fjVqDmQH6p5uLqxILpvmzv90tC5d0Nsr6u?= =?us-ascii?Q?qjJWMCU+vLbF+rTYomlmnP5F+LECk351CqPUdta7mcD+nRdD3ik3+kVmCNYF?= =?us-ascii?Q?rxFfyfrqMABcCzxk+pq5R/Z1Z0GERWmv4Zt9/w3n7JNaNEMa3cgK5+CD8BAi?= =?us-ascii?Q?dZgoUiem5uqIotTowdZzFOxMzXfvaJoRJ1Bh1O5U2WgKpplRcQmTsfeznxYS?= =?us-ascii?Q?ANLPb+j5U00scAjOi/MmKu1oigkQNZrIwcM+05KmETgB8ZpIWGcnB7vunsCF?= =?us-ascii?Q?+hYDE3CSHwOU0g4TSP+2UTuKiSE2PmTJYgDUkCZ87Ybkm1lyqArrgtBwsB0T?= =?us-ascii?Q?Ew=3D=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BN8PR12MB2899.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 54731ac0-29a4-47ff-1f19-08d9db906a9e X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Jan 2022 21:12:35.9063 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: pU2sa9Rh7+kbThoWICQATnN8gHQf/u4nUEihRakeMR6vRZstgomE0mow/MonARxLUnneJxRdT/FpPre54YlY4w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH2PR12MB4309 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org > From: Bruce Richardson > [...] > > What is the expected running time of this test? When I tried it out > on my > > machine it appears to hang after the following output: > > [...] It always runs within 50 seconds on my machine (E5-1650 v3 @ 3.50GHz). Judging by the output, it runs faster than yours (203 vs 811 total microseconds in 1M allocation case): USER1: Reference: memset USER1: Result: 14.557848.3 GiB/s <=3D> 67.08 us/MiB USER1:=20 USER1: Performance: rte_malloc USER1: Size (B) Runs Alloc (us) Free (us) Total (us) memset= (us) USER1: 64 10000 0.09 0.04 0.13 = 0.01 USER1: 128 10000 0.09 0.04 0.13 = 0.01 USER1: 1024 10000 0.12 0.09 0.21 = 0.11 USER1: 4096 10000 0.15 0.40 0.55 = 0.27 USER1: 65536 10000 0.16 4.37 4.53 = 4.25 USER1: 1048576 10000 73.85 129.23 203.07 = 67.26 USER1: 2097152 7154 148.98 259.42 408.39 1= 34.34 USER1: 4194304 3570 298.28 519.76 818.04 2= 68.65 USER1: 16777216 882 1206.85 2093.46 3300.30 10= 74.25 USER1: 1073741824 6 188765.01 206544.04 395309.06 687= 39.83 [...] Note that to see --huge-unlink effect you must run it twice: the first run creates and leaves the files, the second reuses them.