diff options
author | Venkatesh Pallipadi <[email protected]> | 2010-10-04 17:03:22 -0700 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2010-10-18 20:52:27 +0200 |
commit | aa483808516ca5cacfa0e5849691f64fec25828e (patch) | |
tree | 38a1d9f1cb1157bd68dc2475447bacbb4b63c64a /net/unix/sysctl_net_unix.c | |
parent | 305e6835e05513406fa12820e40e4a8ecb63743c (diff) |
sched: Remove irq time from available CPU power
The idea was suggested by Peter Zijlstra here:
http://marc.info/?l=linux-kernel&m=127476934517534&w=2
irq time is technically not available to the tasks running on the CPU.
This patch removes irq time from CPU power piggybacking on
sched_rt_avg_update().
Tested this by keeping CPU X busy with a network intensive task having 75%
oa a single CPU irq processing (hard+soft) on a 4-way system. And start seven
cycle soakers on the system. Without this change, there will be two tasks on
each CPU. With this change, there is a single task on irq busy CPU X and
remaining 7 tasks are spread around among other 3 CPUs.
Signed-off-by: Venkatesh Pallipadi <[email protected]>
Signed-off-by: Peter Zijlstra <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions