Question about a process on 24.04

Oliver Grawert ogra at ubuntu.com
Thu Feb 26 20:16:24 UTC 2026


Hi,
Am Donnerstag, dem 26.02.2026 um 11:29 -0500 schrieb Jerry Geis:
> I have a process that does "polling" of relays.
> It just continues to run - never sleeps
> (I think the OS does not like this and schedules my CPU time as
> penalty)
> 
> If the process runs as is I get "read timeouts". 
> However if I put an a 100msec delay - so "give time" back to the OS -
> it is happy and I never get read timeouts.
> 
> Is there a way to tell the OS that its OK for this process to ALWAYS
> be running and polling or read relays to see if they are active and
> not give my process a penalty for always running ?
> 

Beyond the general bits you could do on an app level with things like
the "nice" command to bump the process priority higher, have you seen:

https://discourse.ubuntu.com/t/fine-tuning-the-ubuntu-24-04-kernel-for-low-latency-throughput-and-power-efficiency/44834

Perhaps there is something in it that could help ...

ciao
	oli



More information about the ubuntu-users mailing list