diff options
author | David Woodhouse <[email protected]> | 2024-08-02 14:55:54 +0100 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2024-08-02 18:27:05 +0200 |
commit | 70e6b7d9ae3c63df90a7bba7700e8d5c300c3c60 (patch) | |
tree | 419b1082f71a6467629865776227b3ab9d07ae48 /tools/perf/scripts/python/task-analyzer.py | |
parent | b4bac279319d3082eb42f074799c7b18ba528c71 (diff) |
x86/i8253: Disable PIT timer 0 when not in use
Leaving the PIT interrupt running can cause noticeable steal time for
virtual guests. The VMM generally has a timer which toggles the IRQ input
to the PIC and I/O APIC, which takes CPU time away from the guest. Even
on real hardware, running the counter may use power needlessly (albeit
not much).
Make sure it's turned off if it isn't going to be used.
Signed-off-by: David Woodhouse <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Tested-by: Michael Kelley <[email protected]>
Link: https://lore.kernel.org/all/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions