https://bugs.kde.org/show_bug.cgi?id=500665

--- Comment #7 from postix <pos...@posteo.eu> ---
https://invent.kde.org/frameworks/baloo/-/issues/7
> With the PID, run chrt -p <PID> to check the current policy.
```
chrt -p (pidof baloo_file)
pid 21116's current scheduling policy: SCHED_BATCH
pid 21116's current scheduling priority: 0
```

> CFS is represented by SCHED_NORMAL. - Policy Adjustment (if necessary):
```
sudo chrt -o -p 0 (pidof baloo_file)
chrt -p (pidof baloo_file)
pid 21116's current scheduling policy: SCHED_OTHER
pid 21116's current scheduling priority: 0
```

```
chrt -p (pidof baloo_file_extractor)
pid 21300's current scheduling policy: SCHED_IDLE
pid 21300's current scheduling priority: 0
```

At this point it still lags most of the time! 

----------------------------------------------------------------------------------

https://doc.opensuse.org/documentation/leap/archive/42.3/tuning/html/book.sle.tuning/cha.tuning.taskscheduler.html

```
Get policy:
 chrt [options] -p <pid>

Policy options:
 -b, --batch          set policy to SCHED_BATCH
 -d, --deadline       set policy to SCHED_DEADLINE
 -f, --fifo           set policy to SCHED_FIFO
 -i, --idle           set policy to SCHED_IDLE
 -o, --other          set policy to SCHED_OTHER
 -r, --rr             set policy to SCHED_RR (default)
```

```
chrt -m
SCHED_OTHER min/max priority    : 0/0
SCHED_FIFO min/max priority     : 1/99
SCHED_RR min/max priority       : 1/99
SCHED_BATCH min/max priority    : 0/0
SCHED_IDLE min/max priority     : 0/0
SCHED_DEADLINE min/max priority : 0/0
```

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to