birq.h 548 B

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