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 0CD7DA0567; Tue, 9 Mar 2021 22:44:13 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A504622A3E1; Tue, 9 Mar 2021 22:44:13 +0100 (CET) Received: from mail-lj1-f182.google.com (mail-lj1-f182.google.com [209.85.208.182]) by mails.dpdk.org (Postfix) with ESMTP id 163A94069D; Tue, 9 Mar 2021 22:44:12 +0100 (CET) Received: by mail-lj1-f182.google.com with SMTP id i26so11173833ljn.1; Tue, 09 Mar 2021 13:44:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=VH2vLO/MPkyf2exEiGcX/gi/mTYk49P9KLrOjUNeZ0A=; b=dBWZxvcMxHF36EH8/eegVG3RMXpOTR0xMRi8gPf9+KN/oHbK8y7s3qAag7IpClK/ld wraz2u9lHAaIGRxMu90u1dK4DWjwveQxAigyWDeH842QSiRFvh9RfPvU662ZWE7/XBkH blnLc5Q4eaL7ZSPb/qFX02pgaGiaGWm03r+EEBfnYPp90H6bGy+y0f3tSpxm99AZYOcZ ewAIpoeo+mP7iPDmmigsGiteUW02exh0levh8BWx1E1Dq800eJ4wDE0JuSL9SjfrDBdF +yuXLvSsNiUCNDJvMrD4cosixhKpSl2O9LGVmugvokK29ST+tPKvu+Ixde5lMOOnsBWo fdaw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=VH2vLO/MPkyf2exEiGcX/gi/mTYk49P9KLrOjUNeZ0A=; b=sKZ2Sm+UTAJAVNWpPXe+Mrx5NuT+MWXFuEp4tYp9WJIyzAkYZ6pmUhgrhsRy+YIN3K xg5t9bz7innDDGvPkOXsRE4al6xx/73VqOxcZtidfN2jB6PpF05D6nSTtLyYKiL9K9au u/HSCkqcGws2t2+NM2aFAHyQhVaZIjoQmFB/5eU619AihmzlnQaRnj2ypq57bYVjVHJr q/8viqpm4OWO20j4BeIBKVvGm8VAf/Qr6Q9YC/QgUOxnMvcJX1hKoehkh31JNmuqU0pK iT9Iw/gGwwWY7ld0Bhf0tV0t0BTDkWJubsr5jnUZ3uFLbCW7hP0ddNzslWaDqrFvKRbI lTCw== X-Gm-Message-State: AOAM530pAQZjtpW70ME6gfcfa0y0IBnQht9NKwE/leepNh56N89oqe2G 3yRdUF88LcSC5eBFJKgmBS8= X-Google-Smtp-Source: ABdhPJxBe8r8tGVeXEjAUvfi94g/dT/WfQEMfi+duKAi3AqDAD6IykW3yHuKMK/cyr6qFISK86FEKA== X-Received: by 2002:a2e:7d02:: with SMTP id y2mr18746112ljc.153.1615326251690; Tue, 09 Mar 2021 13:44:11 -0800 (PST) Received: from sovereign (broadband-37-110-65-23.ip.moscow.rt.ru. [37.110.65.23]) by smtp.gmail.com with ESMTPSA id y4sm2154965lfj.254.2021.03.09.13.44.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Mar 2021 13:44:11 -0800 (PST) Date: Wed, 10 Mar 2021 00:44:09 +0300 From: Dmitry Kozlyuk To: Tal Shnaiderman Cc: dev@dpdk.org, thomas@monjalon.net, pallavi.kadam@intel.com, navasile@linux.microsoft.com, dmitrym@microsoft.com, david.marchand@redhat.com, stable@dpdk.org Message-ID: <20210310004409.2fb28b27@sovereign> In-Reply-To: <20210218114058.13248-1-talshn@nvidia.com> References: <20210218114058.13248-1-talshn@nvidia.com> X-Mailer: Claws Mail 3.17.6 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH] eal/windows: fix default thread priority 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 Sender: "dev" 2021-02-18 13:40 (UTC+0200), Tal Shnaiderman: > The hard-coded thread priority for Windows threads in eal > is REALTIME_PRIORITY_CLASS/THREAD_PRIORITY_TIME_CRITICAL. > > This results in issues with DPDK threads causing OS thread starvation > and eventually a bugcheck. > > The fix reduce the thread priority to > NORMAL_PRIORITY_CLASS/THREAD_PRIORITY_NORMAL. > > Bugzilla ID: 600 > Fixes: 53ffd9f080f ("eal/windows: add minimum viable code") > Cc: stable@dpdk.org > > Reported-by: Odi Assli > Signed-off-by: Tal Shnaiderman > --- > lib/librte_eal/windows/eal_thread.c | 4 ++-- > lib/librte_eal/windows/include/pthread.h | 4 ++-- > 2 files changed, 4 insertions(+), 4 deletions(-) Acked-by: Dmitry Kozlyuk