From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 87B9AA04C2; Wed, 12 Aug 2020 13:40:07 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A2A7D1C194; Wed, 12 Aug 2020 13:40:06 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 7AB5C1C192 for ; Wed, 12 Aug 2020 13:40:04 +0200 (CEST) IronPort-SDR: mGeX3u2vmDLWsmhTjLZyhFW294PU0uT9H3o7OkEegHsYKAQphwYbfSEwAmDGjj7HrjzoEzzuG3 AchK8Vmuq8vQ== X-IronPort-AV: E=McAfee;i="6000,8403,9710"; a="153902466" X-IronPort-AV: E=Sophos;i="5.76,304,1592895600"; d="scan'208";a="153902466" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Aug 2020 04:40:03 -0700 IronPort-SDR: iuzXy94kPw7OfplQaSYLcOaTyWyQ5ZkgBQG1YOe0CzJjvYmwFj88OLPtvlAWTQz16ZX36rtnCF 0QSEuz67jjiQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,304,1592895600"; d="scan'208";a="495486618" Received: from unknown (HELO fmsmsx604.amr.corp.intel.com) ([10.18.84.214]) by fmsmga005.fm.intel.com with ESMTP; 12 Aug 2020 04:40:03 -0700 Received: from fmsmsx612.amr.corp.intel.com (10.18.126.92) by fmsmsx604.amr.corp.intel.com (10.18.126.84) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Wed, 12 Aug 2020 04:40:02 -0700 Received: from fmsmsx601.amr.corp.intel.com (10.18.126.81) by fmsmsx612.amr.corp.intel.com (10.18.126.92) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Wed, 12 Aug 2020 04:40:01 -0700 Received: from FMSEDG001.ED.cps.intel.com (10.1.192.133) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Wed, 12 Aug 2020 04:40:01 -0700 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (104.47.70.104) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 12 Aug 2020 04:40:01 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=b7oCNyy9oGPw/AdX8KpFz3XpgmIT24XbjQuXHRarRLj0lAz2LdaMllHHwIlXwhogr6v2Hq6p/TMQtevmizC7NXWxM67q224rWE7YUuiCkAmZCj2wUkLfdcPhfsVTTZtk3JWlHWuxz56f7vPi9O6xH8IbOKQhL7cm6TLqU38oQGeOhGPWpf297dI+kwDYwWxu7e4VVXic28WCRC5iARXEuGUpn+nsihBWE0IHNfeskkmV4OvIsNx7alij0T15g4WK4P7jYuKFQR+bn6SjZjWHrPu/Q0NvVN06BbQJOx497QCFNtiWNf1UtZ7G+TarmRMefeYtsKEZS4aZV6qGVeqLIg== 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-SenderADCheck; bh=1C6BbhONKvkctYhZuHbeYU+IiqyO4Sui8pUsU2/DHh4=; b=ACbhPEKSgCRbDbT8sMdz4Mj8IdLxJCVUI5jkggWDbVJWPv+Lze2bOO1SuGc6lHBJAMHrBG/ydjvdv3vn/MPWPuwBwUfun0TpH0JxBfnHkhzkHD1R+HioHfYATwGAjRJI7s3IlGkcZIa7a8Ynup/sa7o2CoUwWW056Ia7pBYpu8ekBGYtNbZqcn3icfBnOk7+tJkHhr+jNDa1Kt4j4/mquIV3RthblgEnl/8AX2itCb4qeV5zDouxj0dNJRA+VKzMCRy/1MnocNn+l2DLAAdJYNYMOXM110c/ATbgUI13lgktZKpJ9Sz9ZHgXGjUEZk1TUMfP2Eavj41ur3Sn6B2TKQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=1C6BbhONKvkctYhZuHbeYU+IiqyO4Sui8pUsU2/DHh4=; b=zMteuunkoYav24fsZlUyKtXxMtIcHDux9IzyKxdpI02sKemIb1lSjBr4X/7GgbM5n7tw//9QKZlT3Oh2hl1tFNh/w1bzzU5Osfezp0HLwptJjZ2PCior+Wh7LohLNiFMDjPwIVqhnsi/KjHZMMZ4DPsva0DhZI/O7VZEYwLKT/o= Received: from BN7PR11MB2548.namprd11.prod.outlook.com (2603:10b6:406:b3::19) by BN7PR11MB2546.namprd11.prod.outlook.com (2603:10b6:406:ad::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3283.15; Wed, 12 Aug 2020 11:39:59 +0000 Received: from BN7PR11MB2548.namprd11.prod.outlook.com ([fe80::98a5:2ddd:172c:d62f]) by BN7PR11MB2548.namprd11.prod.outlook.com ([fe80::98a5:2ddd:172c:d62f%3]) with mapi id 15.20.3261.024; Wed, 12 Aug 2020 11:39:59 +0000 From: "Power, Ciara" To: Honnappa Nagarahalli , "dev@dpdk.org" CC: "Richardson, Bruce" , nd , nd Thread-Topic: [dpdk-dev] [PATCH 20.11 00/12] add max SIMD bitwidth to EAL Thread-Index: AQHWbNTA7L+FoZ4LaEaCSQ/EdKeSM6kyaS0AgAH1DJA= Date: Wed, 12 Aug 2020 11:39:58 +0000 Message-ID: References: <20200807155859.63888-1-ciara.power@intel.com> In-Reply-To: Accept-Language: en-IE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.5.1.3 dlp-product: dlpe-windows dlp-reaction: no-action authentication-results: arm.com; dkim=none (message not signed) header.d=none;arm.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [37.228.239.229] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: e2545e72-3254-4bf0-28d8-08d83eb4719a x-ms-traffictypediagnostic: BN7PR11MB2546: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8882; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: IBm1VATs7LSEVs6qghFdUqKsNJgW5mMXdXYzcqSs0wvY/aq0ql3X2zR3bdrEd4+7sHnuO3wgaFafhuHqyEVdfYbPg7ckQOuJQmoAZ2CQ+b7+N/52Y3JLcJg85YLAbJWrSwzGCJDA/sr+lEKS3vUeumXblyXmpfmkKgNzN9Ss/eJhTYEPCf/9Gk9G0A5g7O0Mi/CG5AlMhuT6RG1011ODfJsFBBBYQREQPc9CXrphJSzgChyqqWpm5DkxnqZAgZKxH8kkqsaM467Pukge5yKUyHlekV5/f18k1rFsSODyaJFMo3TakqziNO5+QMpKApyLZjBXTo7vmOHgYrfokTUOag== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BN7PR11MB2548.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(346002)(136003)(366004)(396003)(376002)(39860400002)(186003)(478600001)(6506007)(86362001)(316002)(66556008)(2906002)(54906003)(8936002)(76116006)(64756008)(8676002)(66476007)(110136005)(66946007)(55016002)(9686003)(53546011)(26005)(71200400001)(66446008)(83380400001)(33656002)(4326008)(7696005)(5660300002)(52536014); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: pdmyt+97jCJjmzgPWx4mmAUtxzPsIUaWk69lDPe/Qdy+lg/Mr0K3G7msUARDTbZvT/z1R/mXJSAj9PtXjl520CDPovGWOlAbbbL3qPj0kPf+LhmYH1p8LxarsFQRUFsmdhLn5iceR7w58UwcPCa1QHXGnBuHFzyPHCAiXIYqElpp2ALtiXfoSzhDuPFciEAFgj68nXcLhAQabtn4Oey5qO9OykKM8scbxKpRQFY68wxR/NKOR/KxsCfOPeWVEnWBh89KhZeFJ1ZjzWiFkiqFCwc+dM2TV4oS3/BbaSD0E1mOGyZb3K+Az8lG6b3TszKttMkqSPUZr/adPPGpaEtZLjRFPF5M4NdiCK10TZzyJWz70Y/CiRgbLd5vlzTQ3S5aUjYVAQ5hNeT733sbcuPVngByYprv7Pk10rrk44UTNuch/jsHJszsEVjghc541uB/cHBz0c+B56O2rtivQUh7OaRUwBug9SgbnQuG3UN55FNLxjBRq5CAAN3poJChinTfwm91BHLbtYbc4DPDNRRekrZ8G80XqwNDazYEjp4GvkRIW7T3Gl2fiMecWdaRq5NnEDZExv0TCab+MYeKJzFhnYTTbL5YVyNUpcb8E8L5Sd8e6khdniPnzeX+kttGtKO83Bx42oeWpvhNSXHA2zzknQ== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BN7PR11MB2548.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: e2545e72-3254-4bf0-28d8-08d83eb4719a X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Aug 2020 11:39:58.9531 (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: TFCjrLryfNpkcI3UiifLSvhyyrvGplE6dgDZlE4+smaQYu40xLIFLTqYfqmnRCxBMC+HNI/X8brQWp4IC39Vbw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN7PR11MB2546 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH 20.11 00/12] add max SIMD bitwidth to EAL 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Hi Honnappa, =20 >-----Original Message----- >From: Honnappa Nagarahalli >Sent: Tuesday 11 August 2020 06:37 >To: Power, Ciara ; dev@dpdk.org >Cc: Richardson, Bruce ; nd ; >Honnappa Nagarahalli ; nd > >Subject: RE: [dpdk-dev] [PATCH 20.11 00/12] add max SIMD bitwidth to EAL > >Hi Ciara, > I have not reviewed other patches in this series yet. Few questions >inline. > >> -----Original Message----- >> From: dev On Behalf Of Ciara Power >> Sent: Friday, August 7, 2020 10:59 AM >> To: dev@dpdk.org >> Cc: bruce.richardson@intel.com; Ciara Power >> Subject: [dpdk-dev] [PATCH 20.11 00/12] add max SIMD bitwidth to EAL >> >> A number of components in DPDK have optional AVX-512 or other vector >> code paths which can be selected at runtime. Rather than having each >> component provide its own mechanism to select a code path, this >> patchset adds support for a single setting to control what code paths ar= e >used. >Do you mean that all the components will have to use AVX-512? >IMO, different libraries might behave differently to the use of different = vector >sizes. Are we taking away the ability to use different vector sizes for di= fferent >components. > No, this setting is a max bitwidth which can be set by apps using the EAL A= PI=20 based on what is best for the usage in their apps, or by the user with an E= AL flag, but each library is still free to choose it's own best path, subject to it = not being longer than the specified max.=20 For example, if the max bitwidth is set to 512, a library can still choose = to use a 256-bit path over a 512 one if its advantageous. >> This can be used to enable some non-default code paths e.g. ones using >> AVX- 512, but also to limit the code paths to certain vector widths, >> or to scalar code only, which is useful for testing. >> >> The max SIMD bitwidth setting can be set by the app itself through use >> of the available API, or can be overriden by a commandline argument >> passed by the user. >Arm platforms support SVE (scalable vector extensions) feature. With this >feature, the code is agnostic to the vector size. i.e. same code can run o= n >various vector sizes. There is no code yet in DPDK with this feature. But,= it will >be added in the near future. It would be good to handle this now so that w= e >do not have issues in the future.. Do you have any suggestions how this could be handled? Thanks, Ciara