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 8053541CC1; Fri, 17 Feb 2023 17:19:52 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6B1B44161A; Fri, 17 Feb 2023 17:19:52 +0100 (CET) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mails.dpdk.org (Postfix) with ESMTP id 586064161A for ; Fri, 17 Feb 2023 17:19:51 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1676650791; x=1708186791; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=Jy6bP8IeixoNhD+l3CnH35koXPi0XJQarTwZZB9HYnI=; b=W4UF8fl/v0FFHNXfqg9DzSJLhfESkS+GjeYqdwmM3b8ZmR1gQXcgUqcw dcsYeq9tAH6QcsXNOUAO+Xe/dw9MVIP6fBHaB87zI/IJ/+9RfIfWTvJWY hj5lqtjlZ7MVdPDs5JLnyon/46GmZ58iA9JcJNdCT3PiWOnY8Ylgshj4X VDrQ2gsPL38cpmat/Otx3YCKXXAI/9Wr/ZhhJvttkCm5dFLElzwu3f6Cm TazF74wj8YpRbi+9MHKI+NB6hzOmd/g7REnme77AtC/qQmYD/HQZdjojE UqSK9U2bzuV0eQGrRJUq8xvJrPNBmltNVGmimh2blbIUWHuNDcOpxKVg/ w==; X-IronPort-AV: E=McAfee;i="6500,9779,10624"; a="396697843" X-IronPort-AV: E=Sophos;i="5.97,306,1669104000"; d="scan'208";a="396697843" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Feb 2023 08:19:46 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10624"; a="779836700" X-IronPort-AV: E=Sophos;i="5.97,306,1669104000"; d="scan'208";a="779836700" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by fmsmga002.fm.intel.com with ESMTP; 17 Feb 2023 08:19:45 -0800 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16; Fri, 17 Feb 2023 08:19:45 -0800 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16 via Frontend Transport; Fri, 17 Feb 2023 08:19:45 -0800 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (104.47.56.168) 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.2507.16; Fri, 17 Feb 2023 08:19:44 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dnNJGa6wIRFM1ODn2PqYbdC3kc0S3aAyklFemhH9ieQYZxoFdJ9uO+A4W8czHZ1H6uGgCBb7nG2tanNvmBi+WMa4xvbOFZVEsY50OejpXYqA3Nfvyz5WvqXh1FG9brzt9fqZaq2KDQW5KETgpaRjM7FMPeZQCaZWtHLEFA4aSbnHmdDFFZjbnvd6qt/oI7lhXw60gnWbeVWVrpXKKknw9EogCvK2KrdZQqV86aez5thPOaSI930/frvkpbOkj1XwHmu1aCKH1yhmkkbqaL/+UrJ8RlBNi1aiZMNXARlMq6D2r/be28mg7+PajSkW1BKooDgqtEEWOOah5Hp05h6Q9w== 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=JOtm+smXLCDCfVmOK/VIO32CPd8jsDyRBU7yNUDSxg0=; b=eu1ej7OYXEubfImfiqmKCZ/jyRWAmQUID2meBppIP0+stHbj8ABWECQLU3vqCi1p6y9/9MLnTpzZxhIuKiPV4TlMBVJS/kV4zp2VWYcSU1RWfX2D+LFKWVolWEPclHI65iAzbH6uLpUZ3PgN+vMNfsESSR9hoWLH/Lr3BOxM2FWDXNS1tSl0tmAkGPLaJRS5cGtWA3pvENyJzJY7L2uyZDFH64E7VmYwDFAR14A7n8esTyb36GrhTfSisDanAcst87QWPy1mZ4JVGJH5UwyDuJcztxHh9JcLlIqTJkDoQQXlhuCx4b6BUve7cW1GfjLFOSbLpNtZoEKwX95vlb9PWg== 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 Received: from CH0PR11MB5724.namprd11.prod.outlook.com (2603:10b6:610:101::22) by DM4PR11MB8178.namprd11.prod.outlook.com (2603:10b6:8:18f::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6086.24; Fri, 17 Feb 2023 16:19:42 +0000 Received: from CH0PR11MB5724.namprd11.prod.outlook.com ([fe80::81e6:4df3:9629:7ed4]) by CH0PR11MB5724.namprd11.prod.outlook.com ([fe80::81e6:4df3:9629:7ed4%5]) with mapi id 15.20.6111.013; Fri, 17 Feb 2023 16:19:42 +0000 From: "Dumitrescu, Cristian" To: "Richardson, Bruce" , "dev@dpdk.org" CC: "Singh, Jasvinder" Subject: RE: [PATCH 2/4] examples/qos_sched: remove TX buffering Thread-Topic: [PATCH 2/4] examples/qos_sched: remove TX buffering Thread-Index: AQHZN7chnAY9i8j8Kky2DGJm9g6xhq7TZ85Q Date: Fri, 17 Feb 2023 16:19:42 +0000 Message-ID: References: <20230203100533.10377-1-bruce.richardson@intel.com> <20230203100533.10377-3-bruce.richardson@intel.com> In-Reply-To: <20230203100533.10377-3-bruce.richardson@intel.com> 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=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: CH0PR11MB5724:EE_|DM4PR11MB8178:EE_ x-ms-office365-filtering-correlation-id: edf6d43e-6f47-4727-5eb0-08db1102c6eb x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: K15PlJ2ctw+jTutLLhM03QjkXrJhUqbu8bMybpMAUMkDB4WydjuSM6Fpt54j5HPUgHki3Gg90IykAN+gs6z0VIEVmPjE0TevrlDdfcHMWZtuX2D/Jk8VTV/QRsFU/T3mZ2xxGy/c23BhwEC7gXnn7plfTvfo0I6ifUQswJZwS/lvxHW3ZQ1iSi7cmyP57Zmxg4kJML7SM3KYPQsXQxy35/3S+TsRR/oaGuTAJmFjO5gubBd+Glw2I6uR/rGd5iPejQwOwMih/XC7GW7JAS4FVntFPfbi+FCuis7qo/GZKXLaMo8gGiYdlBEzsiqHKj3JxfpNuvP/aDhQ4r8SCOQReOg7tXA6WUgCCiwkVbjE/RH3D3b1tKe1rBcQ9+neCd97DJLtzEgqx9p6SjGDpzRZipIBVk3eXiUEIhXSGbVXr6GhjNofVXDFmc3PqQQ+QeNFv9gtFFR+1FwhLLxTW2230NRWHnTzecPVvySrt7NxybV4SKTzfAj6SD6UYDLB+w9HkP8H/vq4ib1UrhSrK276wfvh8bUd2qtW8hJkYy/x1/a2jt/ZwFg/NfQFUDMd2jQF5LuwVKaYwz7NIeIR9jDQS+az7IeB8jTLOc6u0fr4UT/KegtrcgIzyLNqPVkmayo6eS0bJO/0j002ERAaAEBxOW+2OEtHcr6bbmL3OaK9XWKKGQP49xiwzu2e032PeASz x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CH0PR11MB5724.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230025)(39860400002)(366004)(346002)(396003)(136003)(376002)(451199018)(110136005)(5660300002)(26005)(4744005)(38070700005)(55016003)(6506007)(83380400001)(2906002)(186003)(7696005)(52536014)(71200400001)(107886003)(33656002)(478600001)(9686003)(53546011)(41300700001)(38100700002)(66476007)(8676002)(66556008)(64756008)(66446008)(86362001)(66946007)(316002)(4326008)(76116006)(122000001)(82960400001)(8936002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?QOkTC8pljJs+7KLZNyvov0+z8zeeDeaX0V5/gldk9xygcfbze0a6Z9QmnlV1?= =?us-ascii?Q?yYiQwCx9zU3gOllxlKcteVr19G5ajJ+eEdDZxTjLDfzy+myo3gTIuYfMMWY/?= =?us-ascii?Q?kja4/cYQrt9oVhvNd1XAiffYKeHc/8AdCBlDv8Zt7R3uVosUE2sfTP8mTiSe?= =?us-ascii?Q?Uol67PUH3/zFSyOsWlsK6lpgrHuzUkXigkHJjcfLQp33dScZ8wWgCjK6DcAN?= =?us-ascii?Q?NXTsBlkLiqb1udFrVoI7wXmZiTP1gQS0gS2Kn/GsxMgzVCN4IDxjIARTpvQ8?= =?us-ascii?Q?NMQXDLeudEgIw7nZO8xuInAlIoVDrIm1ADwVB6h2pTObXiWSDJfdYKDeGOkA?= =?us-ascii?Q?qij1cJd++PKJzLCOOu/vxDpYk/Em/ucAzN7g4+dAhwq00rbJ1K3x4XP+funW?= =?us-ascii?Q?dVT7YoKkQ2jzPPY+dGtg2thVv0r0kJV5DaohcLtN8T5PrY6MmGL0N/Myoomj?= =?us-ascii?Q?3qtoIZO/02/u4i0dmJXLxcWM3DuLjk32JCYgkB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Y8Ktc6TfARGEQdX0dKK02Rry5y7mWdtootkAhcCzYCrVQWhbEW2bj5Xb?= =?us-ascii?Q?kNLSPeZ5eef6JY+Kc/4nRaOTY6xiLlsyvnujbtkj/AcxigEv41cE7bcuCHYh?= =?us-ascii?Q?U/s3sjTmn4+2kK3GK20cVti/3kwxv2WprjMIbdRMA3uHiIfRoyGCODs45uXs?= =?us-ascii?Q?v6sB0uXVH7EQsNeCH42VdfwBDXU0wMovS+1WrL7qoPe58+yWFj3W0m+Atz6f?= =?us-ascii?Q?kA=3D=3D?= 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: CH0PR11MB5724.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: edf6d43e-6f47-4727-5eb0-08db1102c6eb X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Feb 2023 16:19:42.7509 (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: Na3U0gaReCK6mbaOS5gA/CYKcT+u4c8RBgv2sBgM9HaO8112UNtslHzUxfjR7ab4RJcAkbrZTz+tXk9d5ba3QsOvOBsS8jcY193vfEt2Yk4= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR11MB8178 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 > -----Original Message----- > From: Richardson, Bruce > Sent: Friday, February 3, 2023 10:06 AM > To: dev@dpdk.org > Cc: Singh, Jasvinder ; Richardson, Bruce > ; Dumitrescu, Cristian > > Subject: [PATCH 2/4] examples/qos_sched: remove TX buffering >=20 > Since the qos_sched app does batch dequeues from the QoS block, there is > little point in trying to batch further in the app - just send out the > full burst of packets that were received from the QoS block. With modern > CPUs and write-combining doorbells, the cost of doing smaller TX's is > reduced anyway for the worst case. >=20 > Signed-off-by: Bruce Richardson > --- > examples/qos_sched/app_thread.c | 94 ++++----------------------------- Acked-by: Cristian Dumitrescu