schedtool can be used to query or alter a process scheduling policy under linux.
It can be used to avoid skipping for A/V-applications, to lock processes onto certain CPUs on SMP/NUMA systems, which may be beneficial for networking or benchmarks, or to adjust nice-levels of lesser important jobs to maintain a high amount of interactive responsiveness under high load.
All output, even errors, go to STDOUT to ease piping.
If you don't know about scheduling policies, you probably don't want to use this program - or learn and read "man sched_setscheduler".
Certain modes (as of this writing: SCHED_BATCH and SCHED_ISO) need a patched kernel.
- query and alter a process' scheduling policy
- specifically: _normal | _fifo | _rr | _batch | _iso
- set static priority needed for _fifo | _rr
- behaves better with newer -ck kernels and sched_iso
- improve performance of long_running processes
- improve performance of multiple cpu_hog processes
- <b>sched_fifo | _rr</b>
- fine_tune system for realtime_usage
- avoid cache_bounces | scheduling_overhead
- fully utilize dual_cpu_machines on network_load
- lock processes to certains cpus at your wish
In a hurry? Add it to your Download Basket!
What's New in This Release:
- The affinity calls were migrated to the new cpu_set_t API, so schedtool works again with newer glibc versions.
- A minor bug was fixed that prevented schedtool from working on valid PIDs when one invalid PID was given in the list.