schedtool 1.3.0

schedtool can be used to query or alter a process scheduling policy under linux.
  1 Screenshot
schedtool project was born, because there was no tool to change or query CPU-scheduling policies under Linux. Support for CPU-affinity has also been added and most recently (re-)nicing of processes. Thus, schedtool is the definitive interface to Linux's scheduler.

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.

Main features:

  • 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
  • <b>sched_batch</b>
  • improve performance of long_running processes
  • improve performance of multiple cpu_hog processes
  • <b>sched_fifo | _rr</b>
  • fine_tune system for realtime_usage
  • <b>cpu_affinity</b>
  • avoid cache_bounces | scheduling_overhead
  • fully utilize dual_cpu_machines on network_load
  • lock processes to certains cpus at your wish

last updated on:
September 16th, 2008, 14:59 GMT
license type:
GPL (GNU General Public License) 
developed by:
ROOT \ System \ System Administration
Download Button

In a hurry? Add it to your Download Basket!

user rating



Rate it!
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.
read full changelog

Add your review!