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 3894D43208; Thu, 26 Oct 2023 15:36:54 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B10C14068A; Thu, 26 Oct 2023 15:36:53 +0200 (CEST) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by mails.dpdk.org (Postfix) with ESMTP id 65BF54068A for ; Thu, 26 Oct 2023 15:36:52 +0200 (CEST) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 929F45C0199; Thu, 26 Oct 2023 09:36:51 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Thu, 26 Oct 2023 09:36:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm3; t= 1698327411; x=1698413811; bh=5pY1jQY9/T2rlj8biaffdyCWSHbnnsaAQmC 6QjeavGE=; b=uHlMFubLDbUDzRrh9YoNCm9znBOlstxbqNlBohSMGYlZk6FEETx JnkGFId2Eg5hhLsF0c8zJMqsJpjeyNpPhOw+36H3Ai+Bj0TYJPE4dyTDeP22HsR5 LnGo3TCGwAn19ehV2qUQ+dax5YY3cmudLeQDECba491cmt7OWyW6ZcvgPAO8Yb6k BrtHqNfdGhrEHIOCIasi+3FRYexgFeDB1WDwvTlshHp+kuESUsXC9PMBW/1VTb6T 7kfsU+JeZdJx7rX9Z0nTMtGcpxAEbhx0GhnQC7904ID/fvIoXlC5uvG7E1E/GUWm jaDi/X3ejGHc9AMeGoE9601wThrLk2FHX2A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1698327411; x=1698413811; bh=5pY1jQY9/T2rlj8biaffdyCWSHbnnsaAQmC 6QjeavGE=; b=ijO7ZAl17XikTg0yZjuh4REogfPE1UgQyjw/iTWa2cjj9An1igj J7Pxzy1wP04lSxz6gDoMDym3dxyTJJdsgUeDlnKGSNGsuB9E0EJ4seeEMW35aUyP 0osFNtM2aIvTtTyxcjnhr837A+PJ+RlTCS1vADcIFPRxCtv0dgsRGIv0cTEaXC3w BEEQXaggpMk2FimcNH5h5Qzi94KRoGtx3hMAJ2dy0P1f7U3nxNO73LPuOHSPkZzq DgILaFAIIJzlZvZqrf1DHxxoQ2ZccNrKThq5/WERyUy0fHZVX2R9vLG9qO41qZzR zu9OhabnP2buBy938H2ksGbmVHWezhJ8XXg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrledvgdeiiecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvfevufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecugg ftrfgrthhtvghrnheptdejieeifeehtdffgfdvleetueeffeehueejgfeuteeftddtieek gfekudehtdfgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh homhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth X-ME-Proxy: Feedback-ID: i47234305:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 26 Oct 2023 09:36:50 -0400 (EDT) From: Thomas Monjalon To: Morten =?ISO-8859-1?Q?Br=F8rup?= , stephen@networkplumber.org, bruce.richardson@intel.com Cc: dev@dpdk.org, David Marchand Subject: Re: [PATCH v3 0/2] allow creating thread with real-time priority Date: Thu, 26 Oct 2023 15:36:48 +0200 Message-ID: <2170731.Icojqenx9y@thomas> In-Reply-To: <20231025163352.1076755-1-thomas@monjalon.net> References: <20231024125416.798897-1-thomas@monjalon.net> <20231025163352.1076755-1-thomas@monjalon.net> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" 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 25/10/2023 18:31, Thomas Monjalon: > Real-time thread priority was been forbidden on Unix > because of problems they can cause. > Warnings and helpers are added to avoid deadlocks, > so real-time can be allowed on all systems. Unit test is failing: DPDK:fast-tests / threads_autotest TIMEOUT 600.01 s It is seen in only 1 target (maybe the failure occurence is random): Debian 11 (Buster) (ARM) | PASS Fedora 37 (ARM) | PASS CentOS Stream 9 (ARM) | FAIL Fedora 38 (ARM) | PASS Fedora 38 (ARM Clang) | PASS Ubuntu 20.04 (ARM) | PASS I need to send a v4 with new implementation and better comments. The Unix sleep will be upgraded from 1 ns to 1 us in case it makes a difference.