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 93CA2A0352; Tue, 8 Feb 2022 17:20:26 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 21AB04111B; Tue, 8 Feb 2022 17:20:26 +0100 (CET) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id 0FCE5410FD for ; Tue, 8 Feb 2022 17:20:23 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1644337224; x=1675873224; h=message-id:date:subject:to:cc:references:from: in-reply-to:content-transfer-encoding:mime-version; bh=KRmHBSjX1wXJfKFwz5hTSW7d+qEiKKCh2+QOnqESkCM=; b=Tm1CUvevNZk1xxXVPbU8u25VIoVq46+9ro4/0LRlXm8KRwULb08i7O9k eJF8w4cJUBKszSYb9MqSIP9UG0L/voLyWGdPNAAfd9zlgxTt7LrJH+ZWG rdHOs2Q51Ss/6bviH1TY65PbCto5/0hM+te/nULpZM4Uxu1P83CWCKkn+ CcaIns05KEfEM5ZMCtR1HHJtfK8E/bkVYkxDpljwK7F/PZas9bpWBX2pW 3AOdFLfXDuOZ+HpJoIQt9rRVxg4sg6m5sNc6iPlkaEKvTBehZL7tTJmZ5 ANI46y+jiinYHbNxmGuH3n2FMdfm8zTXvviQjECFEnnZq9h+oeOZOhLY+ g==; X-IronPort-AV: E=McAfee;i="6200,9189,10252"; a="248930030" X-IronPort-AV: E=Sophos;i="5.88,353,1635231600"; d="scan'208";a="248930030" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Feb 2022 08:20:22 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,353,1635231600"; d="scan'208";a="628937169" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by fmsmga002.fm.intel.com with ESMTP; 08 Feb 2022 08:20:22 -0800 Received: from fmsmsx609.amr.corp.intel.com (10.18.126.89) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Tue, 8 Feb 2022 08:20:22 -0800 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) by fmsmsx609.amr.corp.intel.com (10.18.126.89) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Tue, 8 Feb 2022 08:20:21 -0800 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx611.amr.corp.intel.com (10.18.126.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20 via Frontend Transport; Tue, 8 Feb 2022 08:20:21 -0800 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (104.47.58.101) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.20; Tue, 8 Feb 2022 08:20:21 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OKJk1lErUPiv3bBrhd6RLlz3q0DvASVBab8TuxAmtRIbKKAHpgFFsgE5iTNPEdv+NH7KmsNEYcxX9OHAdADBFMlSYgoZ0WpBb9D4wmUn12jx8wKE1JuC2IrbzTJIZOzW4QCx41nElx37AhNAMJ5fucLC7GWxumy8veLin+andYLqlQKB1mCj3BNTu17n+jY3s4VCgMz1J941rMb5vA94j4mWXu5WXr5dy5KKaQ08tlY/uv7Pxko7Qt7dSrYT8C4HXUJEoYTxkULu4hJr2JPBngyn4LdwqgOcxNDrTqbwoSu9cgHgHYV4IAhQnkmw9h0DYdKtd8gClUEhibjknZzoSw== 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=cFHM7orcJEifpzG3RHyoMFNI4/XS5g2EFHbw+nYFwq4=; b=MbT3Hbq7Rc1/k5YEEKflMBoPsg05k1X0iPeghL72dI0JGeRLuOof/6XNworQ62UtY8mHa65j9nJH4vFKReemKC59/x+LBX4ByKqtbdQXzLxMHv46iMWJvxn5+kPHLAD1mPYpY6RDQwAkWdehWEvc+NPx6hI3cLjrUrq1w5o4noAWpiGbPlrvpRjP/2RL7hQq1KpNgR5NileLl6Ex1lu/dhzpn6J5Le/iizWTJDGK+47zuC3ejon0lp1mBXURYCLsxjc6JucevWMFQujNLf8EkmeegAIQEwG2OuaNvpeE1c0F7OYgfDSyUV844qhkGEkYqCglVVn1LgkK2eNkiVm6FA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from PH0PR11MB5093.namprd11.prod.outlook.com (2603:10b6:510:3e::23) by DM5PR11MB1851.namprd11.prod.outlook.com (2603:10b6:3:114::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4951.16; Tue, 8 Feb 2022 16:20:20 +0000 Received: from PH0PR11MB5093.namprd11.prod.outlook.com ([fe80::ad52:b9b6:8147:b4d5]) by PH0PR11MB5093.namprd11.prod.outlook.com ([fe80::ad52:b9b6:8147:b4d5%4]) with mapi id 15.20.4951.019; Tue, 8 Feb 2022 16:20:20 +0000 Message-ID: Date: Tue, 8 Feb 2022 16:20:14 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Firefox/91.0 Thunderbird/91.5.1 Subject: Re: [PATCH v3 2/6] app/test: add allocator performance benchmark Content-Language: en-US To: Dmitry Kozlyuk , CC: Viacheslav Ovsiienko , Aaron Conole References: <20220119210917.765505-1-dkozlyuk@nvidia.com> <20220203181337.759161-1-dkozlyuk@nvidia.com> <20220203181337.759161-3-dkozlyuk@nvidia.com> From: "Burakov, Anatoly" In-Reply-To: <20220203181337.759161-3-dkozlyuk@nvidia.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO4P123CA0056.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:153::7) To PH0PR11MB5093.namprd11.prod.outlook.com (2603:10b6:510:3e::23) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 8efcd0ef-7177-4870-be5f-08d9eb1ee63a X-MS-TrafficTypeDiagnostic: DM5PR11MB1851:EE_ X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:8273; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 7XIGaV7vE4Wdpw9zOiXYcdafWiG35+VQphdEEg3U+Vc/XaR5daSaRb3DO/TZGSneoFlcWAL5V8x+oGMokDaSBC2px7MCja20srGTN4ffFnDVmyiZoNh7k1mfToHfFcERSfxaVFiT1JaCn4jo6xJBBsEYzN5KLnC8ys8g7xUA4ICLFiBjQWKDZdxmxXi6Fw2qAFzoLg3Ayqv4NiMLU2JToyjrMWatJZbHOgn5T+VKyBTtaPSwRxIQO3AYKAwqNVVxjvpXGdGKzujmFcPIQFmYKpIUmXbuQqzA+Jn94/wzepp1lWuSa2I2YAKZFM6HiJC51nm55KI9N2ZNHEhsa09sXFrT3ZJJN3DAeL8+Ibt/kCkwGqyWpb3774oQj05jIt1ax87Pyf+bIQAuVGMljf/wmEV2Ozk47goNSGiXhW6jjSIEPVuiNHfLjWoTzTMEfuK8lkSdOMeB7JRJ0BJKbit8jBb8kERi+yqMwzES0aOTAqft8V7nijTPjjOqw6DXUUuZJB1FQfFjoVz5V9nxoTx7DnOwOI4S/brv4f4Sz0GtG5r9vPS5PtFPhVkPrPVD0+QceGvtcQ159mJw6a5s/8EnUM7yZggTbHJ8vneGK8Q1ELZa8EE9f542kKqRkpOrmjSkj7TmrUMnATiTMwY6SzK1J+7iC51+XtKvyxSH4rUQTu81KAoE99PmnCMFHI1eigZdsfcPqxmP3q3r9sKMGqVce0VtzJNI0hVMz17nm54fRFM= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR11MB5093.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(366004)(38100700002)(66476007)(4326008)(5660300002)(82960400001)(31696002)(54906003)(31686004)(26005)(2616005)(8676002)(8936002)(2906002)(66556008)(66946007)(36756003)(316002)(6506007)(6512007)(53546011)(6666004)(508600001)(6486002)(186003)(86362001)(45980500001)(43740500002); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?eTNwclo2K1QrTnJpVHY5Z0tFTjV5SmQrUlZZSTRpZnNpYVA3MDl6aTVFKytD?= =?utf-8?B?Zkx2bkwrMHhGWFVBeXRiczIvemdPTDEydUlPdUlWajFJRmtYRVd1ZTQ5bzJo?= =?utf-8?B?a09aUWoxZ2ova041QjNHa3dRcVY4d01EOTBQWHVVWTFqdjdYOEl5Z2xhMUYy?= =?utf-8?B?cW5aMEVhcUZZSFNYV2JOalVORGsybml3eUtiNWZ6SFVIR2JWWGVaY1J3SzU4?= =?utf-8?B?dm41citnUUk1dXBCR0hGYTFoZXlzdEdwS2xQRlg5RHBCbm8yTFNCWUJW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XljWGdQVnAvbHR6SXlNSzlKRmI5U1pqSnNO?= =?utf-8?B?MVFnTGFZUElHT1RZQThWazJuUXFLK09aY0RhNTFHYkh2SXZNYS9CRWQ2b2pv?= =?utf-8?B?NGh6UGtIZmhZNzlMNUhhd3B1VzlqOStqYlE3WWZMSFVvUm9UOVZ4TjJBZit6?= =?utf-8?B?QXdpKzAwaTJsQlBJTDV0MkwwV1JBPT0=?= X-MS-Exchange-CrossTenant-Network-Message-Id: 8efcd0ef-7177-4870-be5f-08d9eb1ee63a X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5093.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Feb 2022 16:20:20.1149 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: +NPV3q/pT6kTkp6Bw3S73ZMGUwZFiQyiki3OfizEtvtKowWP2PP1T4sszPkWx72BOXgdWGPkzETVRUF5MUWAeeVpyIuJz2CljX+IEMUgdSw= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR11MB1851 X-OriginatorOrg: intel.com 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 On 03-Feb-22 6:13 PM, Dmitry Kozlyuk wrote: > Memory allocator performance is crucial to applications that deal > with large amount of memory or allocate frequently. DPDK allocator > performance is affected by EAL options, API used and, at least, > allocation size. New autotest is intended to be run with different > EAL options. It measures performance with a range of sizes > for dirrerent APIs: rte_malloc, rte_zmalloc, and rte_memzone_reserve. > > Work distribution between allocation and deallocation depends on EAL > options. The test prints both times and total time to ease comparison. > > Memory can be filled with zeroes at different points of allocation path, > but it always takes considerable fraction of overall timing. This is why > the test measures filling speed and prints how long clearing takes > for each size as a reference (for rte_memzone_reserve estimations > are printed). > > Signed-off-by: Dmitry Kozlyuk > Reviewed-by: Viacheslav Ovsiienko > Acked-by: Aaron Conole > --- Acked-by: Anatoly Burakov -- Thanks, Anatoly