tunesd - Tune Scheduling Domain Hierarchy Balancing-Flags

This python script prints the hierarchy of your system and is able to change the balancing flags you want to change.

Balancing flags changes can lead to more performance especially on servers by disabling power balancing flags and other flags.

For the usage see tunesd --help. Be careful, changes can also decrease system performance

Supported kernels

Download

tunesd 0.1

Possible Flags

Copied from the kernel source sched.h.
SD_LOAD_BALANCE         0x0001  /* Do load balancing on this domain. */
SD_BALANCE_NEWIDLE      0x0002  /* Balance when about to become idle */
SD_BALANCE_EXEC         0x0004  /* Balance on exec */
SD_BALANCE_FORK         0x0008  /* Balance on fork, clone */
SD_BALANCE_WAKE         0x0010  /* Balance on wakeup */
SD_WAKE_AFFINE          0x0020  /* Wake task to waking CPU */
SD_PREFER_LOCAL         0x0040  /* Prefer to keep tasks local to this domain */
SD_SHARE_CPUPOWER       0x0080  /* Domain members share cpu power */
SD_POWERSAVINGS_BALANCE 0x0100  /* Balance for power savings */
SD_SHARE_PKG_RESOURCES  0x0200  /* Domain members share cpu pkg resources */
SD_SERIALIZE            0x0400  /* Only a single load balancing instance */
SD_ASYM_PACKING         0x0800  /* Place busy groups earlier in the domain */
SD_PREFER_SIBLING       0x1000  /* Prefer to place tasks in a sibling domain */

License

tunesd changes the scheduling domain flags to modify the schedulers balancing behaviour
Copyright (C) 2010  Markus Pargmann (mpargman  allfex.org)

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see .