RT/Linux SCHED_RR/_FIXED to combat latency?

Cedric Blancher cedric.blancher at gmail.com
Thu Aug 10 13:30:39 AEST 2023


On Thu, 10 Aug 2023 at 05:00, Thorsten Glaser <t.glaser at tarent.de> wrote:
>
> On Thu, 10 Aug 2023, Cedric Blancher wrote:
>
> >We're experiencing rather very bad latency spikes on busy Linux
> >systems, for example if one machine is the jumphost (ssh -J) for a few
> >hundred connections, while at the same time handles CPU intensive
> >tasks.
> >
> >Would RT/Linux SCHED_FIXED or SCHED_RR be of help in such a case, e.g.
>
> Did you already check the old and tried method of nice(2)?
>
> If the other load is CPU-intensive, this is usually sufficient.

nice or renice did NOT help to reduce the latency spikes.
Also, I think nice(2) is to govern scheduler priorities, but does
little to improve latency

Ced
-- 
Cedric Blancher <cedric.blancher at gmail.com>
[https://plus.google.com/u/0/+CedricBlancher/]
Institute Pasteur


More information about the openssh-unix-dev mailing list