birq.h 591 B

1234567891011121314151617181920
  1. #ifndef _birq_h
  2. #define _birq_h
  3. #define BIRQ_PIDFILE "/var/run/birq.pid"
  4. #define BIRQ_CFGFILE "/etc/birq/birq.conf"
  5. /* Interval beetween balance iterations, in seconds.
  6. The long interval is used when there are no overloaded CPUs.
  7. Else the short interval is used. */
  8. #define BIRQ_LONG_INTERVAL 5
  9. #define BIRQ_SHORT_INTERVAL 2
  10. /* Threshold to consider CPU as overloaded.
  11. In percents, float value. Can't be greater than 100.0 */
  12. #define BIRQ_DEFAULT_THRESHOLD 99.0
  13. /* Load limit. Don't move IRQs to CPUs loaded more than this limit. */
  14. #define BIRQ_DEFAULT_LOAD_LIMIT 95.0
  15. #endif