From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR02-VE1-obe.outbound.protection.outlook.com (mail-eopbgr20089.outbound.protection.outlook.com [40.107.2.89]) by dpdk.org (Postfix) with ESMTP id 9C3C07CFC for ; Wed, 6 Dec 2017 07:43:16 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=verint.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=EkNruT1gDO9i1bjJ3JAjYwn2Q5mQE8CR7VcPqenqDik=; b=E+CDQFgtP8exsU67j1x7ogwnmF4emiATt5f2ledZ3avr8Q02qh6kFC9ymg9vkrHDZluiEadiWdxmsUcPTnVFixVUBimm4+PpFSzRrwpXV13htMx0PJjU2fXjE+xyZgU4bNlT/c1UFb0yLzRs7j454CCyXG/ikJkE+BijO9Nzspc= Received: from HE1PR0102CA0026.eurprd01.prod.exchangelabs.com (2603:10a6:7:14::39) by VI1PR01MB1552.eurprd01.prod.exchangelabs.com (2a01:111:e400:5a07::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.282.5; Wed, 6 Dec 2017 06:43:14 +0000 Received: from VE1EUR01FT021.eop-EUR01.prod.protection.outlook.com (2a01:111:f400:7e01::204) by HE1PR0102CA0026.outlook.office365.com (2603:10a6:7:14::39) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.282.5 via Frontend Transport; Wed, 6 Dec 2017 06:43:13 +0000 Authentication-Results: spf=pass (sender IP is 193.27.93.16) smtp.mailfrom=verint.com; networkplumber.org; dkim=none (message not signed) header.d=none;networkplumber.org; dmarc=bestguesspass action=none header.from=verint.com; Received-SPF: Pass (protection.outlook.com: domain of verint.com designates 193.27.93.16 as permitted sender) receiver=protection.outlook.com; client-ip=193.27.93.16; helo=mail.verint.com; Received: from mail.verint.com (193.27.93.16) by VE1EUR01FT021.mail.protection.outlook.com (10.152.2.223) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.20.282.5 via Frontend Transport; Wed, 6 Dec 2017 06:43:13 +0000 Received: from TLVMBX1.Verint.Corp.Verintsystems.com ([169.254.2.245]) by TLVCAS1.verint.corp.verintsystems.com ([::1]) with mapi id 14.03.0319.002; Wed, 6 Dec 2017 08:43:02 +0200 From: "Dorsett, Michal" To: Stephen Hemminger CC: "users@dpdk.org" , "Maimon, Royi" , "Heijmans, Merav" Thread-Topic: [dpdk-users] Round-robin instead of RSS Thread-Index: AdNuDIDHMg2ZJ0tcS1edzH1JssI6av//9+aA//9YLhA= Date: Wed, 6 Dec 2017 06:43:02 +0000 Message-ID: References: <20171205143431.79d47d61@xeon-e3> In-Reply-To: <20171205143431.79d47d61@xeon-e3> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.61.241.157] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:193.27.93.16; IPV:CAL; SCL:-1; CTRY:IL; EFV:NLI; SFV:NSPM; SFS:(10009020)(376002)(346002)(39860400002)(2980300002)(438002)(199004)(189003)(13464003)(24454002)(81166006)(69596002)(53546010)(305945005)(46406003)(2920100001)(2900100001)(15974865002)(5660300001)(2906002)(316002)(54906003)(2950100002)(76176011)(6246003)(47776003)(106466001)(229853002)(7696005)(106002)(86362001)(4326008)(104016004)(50466002)(26826003)(9686003)(55846006)(72206003)(478600001)(6306002)(107886003)(7736002)(356003)(81156014)(8676002)(23726003)(6916009)(8746002)(6116002)(8936002)(33656002)(102836003)(3846002)(97756001); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR01MB1552; H:mail.verint.com; FPR:; SPF:Pass; PTR:bzq-193.27.93-16.bgp.bezeqint.net; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; VE1EUR01FT021; 1:wZw1PByiOOCSaj7Z/mL2kUtY/fr6AVbmNTAkYsHYhPZxJGhIZfo/CK28z81kdKWXZTwuhBCM4nlb9OX4DXm6euuJBvfB9hrFZ6su5XCq+7cOU2hXCOSy9oWYRWhJhEQg X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: d836b342-7199-4981-f494-08d53c749fd6 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(5600026)(4604075)(4608076)(2017052603286); SRVR:VI1PR01MB1552; X-Microsoft-Exchange-Diagnostics: 1; VI1PR01MB1552; 3:GGdaFU44Z8jHXVGn6KHOiKUna8VEtLtc+oGb44h4Ft5JE2FW55zDlrIdm0xpXdLo33LK2IBgYauYORpUTwMhiPqMYEzUmoW0l5K8nQZCxAsEff0ByC3KtDA8BqUo8RUIOks3RJNqGmSipnRlx3LXR9TXLlLwT25vhBuUlb6zTjDkcw/WK7+h3m6AGo0xZspf2tVLrsT44uQ8cK19SMzMHP1IiD0pVA4PXros5rB80yJ0yxb4wXJodZGG6WOQVlp4tD2H4faD1gJNoCaRxisF2GEkOE9+3SEbgRwprBSzVwW1hfHN8+68E1w1T1s9AFWdg5C56YXdUutJbheewojT9w==; 25:qw5JI2gVEsOr+yaxyQoeshavV1ON2OC1WgVHadid1mmAdMECDwWM47j4YDoalm8Au6+U2yn/0woYcylH9oMHWghK9xQmSX50i47s4Ss0tVmsf+KYgSxgjwQdUf3VlGdCAxStr3KEijHw975zdB3tpsWrgOre+sG4L7Nc6uzJeEl3mHiyIYXTWvf2cVo5CUqUVnb1Keane/Fib540arSwk0PuixYhuKSeccL0bHfjrhlbIGeGeuq7ZSdHh5QjZBAOwdsOYI6QZcD9mQ8/QxFvF6OPI8bemCGj1Sw2IUMe/RDziJciQPy8CUWaCO7mKDqxr+b1YJOaJJJAhYcsHJRgC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ms//F73CjC7gEv4PUju7/2dr9EG/0hd/d9Q6Cm+nNGHuGtwcBWkOPVQaWdQshKTo4ww+c X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(59506183516421); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040450)(2401047)(8121501046)(5005006)(10201501046)(3002001)(3231022)(93006095)(93004095)(6055026)(6041248)(20161123564025)(20161123562025)(20161123555025)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123558100)(6072148)(201708071742011); SRVR:VI1PR01MB1552; BCL:0; PCL:0; RULEID:(100000803101)(100110400095); SRVR:VI1PR01MB1552; X-Forefront-PRVS: 05134F8B4F X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; VI1PR01MB1552; 23:041a12uGuFWmoG18JFXcYbLjwrCaREwDedFDr/j9i?= =?us-ascii?Q?upy/3nuPrxsTfUogWhlcHZ0KrxYPPS42s6QemLujzSl7rDLUMR8ojvP+JYa7?= =?us-ascii?Q?HCrvAR7mOZSXYP8H7PMqWLa5IcxLjIbR4iuIa3ttmpIqV0CPeFtrmH3dVwb2?= =?us-ascii?Q?SauFOu+esCH+jGEFNZuGEkBlv942QkIMkO0TqNELQBx3Zp6IUDUBE750UahL?= =?us-ascii?Q?w8aHzKQ4ds+vkHuZAc1s/I0XasLQ5Ndw6YCsz+6kI2dTig6s34dJ9ghWhQn6?= =?us-ascii?Q?OIuaur61iI30sVUNF8zJyK34gYTOs7AZ1w8z7EJL6iAV+eJ66OwWqiNGrjma?= =?us-ascii?Q?EcoJBjNl8TqaVAA+F4gpvlP/2D32d7P4iTYfLwI9201V2/ru3P8MiRpENOHy?= =?us-ascii?Q?HwW+njMINf/lPD48ehu+UgBXWRAGHhkpEhX0WG/FKRyur188wEn4U6fQUUIH?= =?us-ascii?Q?D6hclC9Gw8QkGC5x3bT6BqpooMK70+YmxoORz+LbI5+DHi7WuzgIt5K/MQlq?= =?us-ascii?Q?yl7jtnin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NmBpJA4HEB6+IllRLry9HL15y7aI00nZZnuV0uScmO6XHMenHtEhwoP7OWsotJX2vfm7r2OwwNzChciXgknNhD0iICLlMK2EzAQnfmhTBqeKYS/zJaKGXfFu583NmhUJ9vvQIn2k0BFRwXCy2d4C5mWw5ftUMqNALX+xrqxWLUJbqVAiGx+9JE/Ihihwg1a7cIoUIzaqWqfwOMYQ=; 5:KI8KZqPPIg5BjycyFkk3RaCuiP4BMx9CE3ZZNyZl5rZxEqWNwvCN6Jr0oHv+3McgP6s0DDm7I8Zao+CEagwj249HxYHTTBly5JMk7VaiCICXYgJby1G5t/vnDkBbFpXN0FYvq52nOp7+0tdQKBgIMXFs4HNkOTBbE0PG+JcJegQ=; 24:wrDdrF+ZLcNf6hgoblZh+JeeA57YWe6rpY1pLam9jg5lmgJCF5pwGrcPyrH4K9YZZc5663aUGhZIVPv0b5l4K35dJMKcAfzz8BckHTSg/IM=; 7:UOqZl8zvDL0RHvmImmdBd0ngizpDn+KfWW8iZ9+U+GZUX4sH2/H5Gp3CtJWKZc8cMUdwHQg8xgBRNQQZL6KIqW/a0ANotEu/wZQSb6icwliI1AkUMCbkvvAsXOzEStEsvoX8558oOudCiuhG/9ucFVKlFErpWDmyPyY2XMTpmyEE9xbOoS7in4zTNCjKAFidP58ExeewLo8Wj4mBeHvQTVlXHhExamTlHbN6d0Bt+/w4h1ETWFHPk4/mEwdDYqoq SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: verint.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Dec 2017 06:43:13.4893 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: d836b342-7199-4981-f494-08d53c749fd6 X-MS-Exchange-CrossTenant-Id: bb2ed304-4099-49cf-b081-cbb7a3a580ca X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=bb2ed304-4099-49cf-b081-cbb7a3a580ca; Ip=[193.27.93.16]; Helo=[mail.verint.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR01MB1552 Subject: Re: [dpdk-users] Round-robin instead of RSS X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Dec 2017 06:43:16 -0000 I think my wording was not clear enough: Every packet that enters through the device will be delayed by our applicat= ion for 1 second. Given 10Gbps worth of traffic, for example, at an average packet size of 60= 0 bytes, this is roughly 2M packets per second. A 710-series NIC makes use of 1M mbufs in a queue at the very most. In orde= r for us to delay 2M packets, we need to create several queues per NIC. I understand RSS is in the hardware, but hardware can be programmed, too, a= nd hopefully turned off - and that's my question - whether, in addition to = the RSS there is a round-robin policy that can be configured. Thanks, Michal -----Original Message----- From: Stephen Hemminger [mailto:stephen@networkplumber.org] Sent: Wednesday, December 06, 2017 12:35 AM To: Dorsett, Michal Cc: users@dpdk.org; Maimon, Royi Subject: Re: [dpdk-users] Round-robin instead of RSS On Tue, 5 Dec 2017 21:23:23 +0000 "Dorsett, Michal" wrote: > We are using an XL710 nic 4x10Gbps. > Our application needs to delay all packets in the system for at least the= first second, and depending on the type of traffic mbufs may need to delay= packets even more. > > Since the XL710 makes use of, at most, 1M mbufs in a queue and not more -= we need to create several queues that provide enough mbufs for the nic not= to starve. > > Because we handle extremely varied traffic, we may not be able to statica= lly configure an RSS to load balance traffic evenly between the queues. > > Is it possible to set up a round-robin policy between the queues instead = of RSS? > I realize the drawbacks - un-orderliness, etc. - but please assume we hav= e our methods of handling those specific issues. > > Thanks, > > Michal Dorsett > Developer, Strategic IP Group > Desk: +972 962 4350 > Mobile: +972 50 771 6689 > Verint Cyber Intelligence > www.verint.com I don't work for Intel team and don't have XL710. But although XL710 may ha= ve limited hardware queue depth, there is no requirement that you give all = the mbuf's directly to XL710 at once. If you have to hold off traffic, then= just don't pass it to the device. RSS is built in the hardware. This electronic message may contain proprietary and confidential informatio= n of Verint Systems Inc., its affiliates and/or subsidiaries. The informati= on is intended to be for the use of the individual(s) or entity(ies) named = above. If you are not the intended recipient (or authorized to receive this= e-mail for the intended recipient), you may not use, copy, disclose or dis= tribute to anyone this message or any information contained in this message= . If you have received this electronic message in error, please notify us b= y replying to this e-mail.