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 3177DA0C52; Wed, 24 Nov 2021 18:10:36 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1B8EF40DF5; Wed, 24 Nov 2021 18:10:36 +0100 (CET) Received: from mail-ed1-f53.google.com (mail-ed1-f53.google.com [209.85.208.53]) by mails.dpdk.org (Postfix) with ESMTP id E266B40688 for ; Wed, 24 Nov 2021 18:10:34 +0100 (CET) Received: by mail-ed1-f53.google.com with SMTP id e3so13602294edu.4 for ; Wed, 24 Nov 2021 09:10:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ZFRYrlLEab0AZOmkLq9oLlJYcdCR0c/dYZfffbiWY9E=; b=Js6IQLPaTzCKFXlQ/rYZ9ja+rNR+UMLvOcyLzrxpSZKFrhYuZGuZa0/H3Q68FtWBZW iox2KWIKJqi3KVf/AixIB8GDNHvBdPhae+0OetcjGG2yscwP0ypKlCUwQqynLfi7omBU 29tTA6JXSb5Uj4Yh+vW7pIx1JQjziIOS823CRuiEKpRlyxuSSQ9T8VQg9A4M7i5Wm0qW QbmNy7ikkpuo0/Y1eHmTAlvfNAh8aObEoD2qDUD9oSeZ9KXJQFYA/ryDHAfhBDNNi4If xfrxUHyAw2EoGbiNvzEBHCvi2tUsCXAWunqNLFGiNCn3BGDwxlr7ALM3PRqwKMq+qp0H tNTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ZFRYrlLEab0AZOmkLq9oLlJYcdCR0c/dYZfffbiWY9E=; b=tU4iPMNZk0AWjrP3+MPPKBy2fn5wCq64UQBPoa3cgzrSou93D3SgeBQWhKtr3y9xB5 fcyO1YgmB3/+ad8DyALqZVFicFL6GkmhPSqAPSwQuvriNJokQCdqaGfe5+L2TzStQzTz 01q8H5jNNMEclJUlXOgZau6m2jEmYkT1tBoFBMpdUgk2r68hTqaA5XtnxVidpBhJjGmi wDCYnASzlq5bCYT/sIbsVzzVA1XOfJYNrpwuwqVp9QhuvafnIbWjSUjSM6Hbq8Y3D5D/ JmuQ4QczH5/pJav4yMiAal/zwOt1JUvmrYED7qS3gRkQh7oyEPN5GbD+IdOhu7tKl8YY 7+Xw== X-Gm-Message-State: AOAM532CHLKhdQgXfUKDfYPWsNsvOku2kGq0qoViivw3NPT/vnemApkC PWSJK3Z4Ej10n3AlxqkypjVDvkdiQrCd3D7gJWmxvSz0odU= X-Google-Smtp-Source: ABdhPJwRdx8OFrLFA09QbZBE78LB9qsSD1y5+XTK+H4na9kj5vsLvBzfdrZWm8q44sWbRz63AintK2ejveDeFm5ZF4g= X-Received: by 2002:a50:d88b:: with SMTP id p11mr27562948edj.287.1637773834668; Wed, 24 Nov 2021 09:10:34 -0800 (PST) MIME-Version: 1.0 References: <1635868273-69843-1-git-send-email-tudor.cornea@gmail.com> <1636366413-57455-1-git-send-email-tudor.cornea@gmail.com> <943ec9ee-0b91-f112-59c9-76267bf021cb@intel.com> In-Reply-To: <943ec9ee-0b91-f112-59c9-76267bf021cb@intel.com> From: Tudor Cornea Date: Wed, 24 Nov 2021 19:10:23 +0200 Message-ID: Subject: Re: [PATCH v3] kni: allow configuring the kni thread granularity To: Ferruh Yigit Cc: Thomas Monjalon , Stephen Hemminger , dev@dpdk.org, helin.zhang@intel.com Content-Type: multipart/alternative; boundary="000000000000a34cbf05d18befa4" 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 --000000000000a34cbf05d18befa4 Content-Type: text/plain; charset="UTF-8" Hi Ferruh, > As I tested both with KNI sample app and KNI PMD, change looks good, > practically we can't change the scheduler delay with existing code but > this patch enables it and lets configure performance/CPU usage trade of. > > Only possible change is to remove 'RTE_KNI_PREEMPT_DEFAULT' macro as > mentioned below. > > Thanks for the suggestion. I will send an updated version of the patch, which will remove the RTE_KNI_PREEMPT_DEFAULT macro --000000000000a34cbf05d18befa4 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Ferruh,

<= /div>
=C2=A0
As I tested both with KNI sample app and KNI PMD, change looks good,
practically we can't change the scheduler delay with existing code but<= br> this patch enables it and lets configure performance/CPU usage trade of.
Only possible change is to remove 'RTE_KNI_PREEMPT_DEFAULT' macro a= s
mentioned below.


Thanks for the sug= gestion.
I will send an updated version of the patch, which will = remove the RTE_KNI_PREEMPT_DEFAULT macro

=C2=A0
--000000000000a34cbf05d18befa4--