[PATCH v2] eal/unix: allow creating thread with real-time priority
    Stephen Hemminger 
    stephen at networkplumber.org
       
    Wed Oct 25 17:37:00 CEST 2023
    
    
  
On Wed, 25 Oct 2023 17:13:14 +0200
Thomas Monjalon <thomas at monjalon.net> wrote:
>  	case RTE_THREAD_PRIORITY_REALTIME_CRITICAL:
> +		/*
> +		 * WARNING: Real-time busy loop takes priority on kernel threads,
> +		 *          making the system unstable.
> +		 *          There is also a known issue when using rte_ring.
> +		 */
I was thinking something like:
	static bool warned;
	if (!warned) {
		RTE_LOG(NOTICE, EAL, "Real time priority is unstable when thread is polling without sleep\n");
		warned = true;
	}
    
    
More information about the dev
mailing list