On Thu, Apr 20, 2023 at 09:55:40AM +0200, Michal Hocko wrote: > On Wed 19-04-23 08:44:23, Andrew Theurer wrote: > > > On Apr 19, 2023, at 6:15 AM, Marcelo Tosatti <mtosatti@xxxxxxxxxx> wrote: > > >> Andrew Theurer, can you please explain what problem is the vmstat_work > > >> interruption causing in your testing? > > > > > > +CC Andrew. > > > > Nearly every telco we work with for 5G RAN is demanding <20 usec CPU > > latency as measured by cyclictest & oslat. We cannot achieve under 20 > > usec with the vmstats interruption. > > Are you able to get those latency requirements with PREEMPT_RT? What do you mean, exactly? PREEMPT_RT allows for the preemption of tasks in kernel context (so that higher priority tasks can interrupt lower priority tasks). It also enables IRQ handling to happen in thread context (so that a given thread might be given higher priority than executing a particular IRQ handler). If the question is: "Are you able to achieve <20 usec latency while allowing switching between different tasks ?" The answer with current processor and memory speeds is probably: no. But with more performant processors, you might. However, with a fully isolated processor which does not require switching between tasks, yes you can achieve < 20 usec latency.