De-mystifying interrupt balancing: irqbalance
PJ (Peter) Waskiewicz https://2019.linux.conf.au/schedule/presentation/102/ irqbalance is a userspace daemon that has been available for a number of years. Its main purpose is to make decisions on how to best balance interrupts within a system. Getting this "right" can be a challenge, since it needs to run on enterprise-level systems all the way to a mobile device. Taking things like NUMA locality, bus hierarchy, shared interrupts, cache locality, all into consideration, irqbalance is often misunderstood with how it works, what it can do, and what it cannot do. As co-maintainer of irqbalance, this talk is intended to pull the curtain back on how this whole framework operates. What pieces of the Linux kernel are involved in balancing interrupts, where policies are enforced, current best-known configurations, and future ideas to try and improve operation, are all things targeted with this talk. linux.conf.au is a conference about the Linux operating system, and all aspects of the thriving ecosystem of Free and Open Source Software that has grown up around it. Run since 1999, in a different Australian or New Zealand city each year, by a team of local volunteers, LCA invites more than 500 people to learn from the people who shape the future of Open Source. For more information on the conference see https://linux.conf.au/ #linux.conf.au #linux #foss #opensource
Chapters
- 0:00 Intro
- 1:04 Agenda
- 3:45 PJ Wasowicz
- 5:15 What is balancing interrupts
- 7:22 IO devices
- 9:37 Why is it important
- 15:59 Contexts
- 21:08 Hardware vs Software
- 23:43 How can interrupt balancing go wrong
- 26:47 How does irqbalance work
- 28:47 What does irqbalance do
- 32:15 Policy enforcement
- 35:04 Balancing techniques
- 37:01 Hint policy
- 40:32 Summary
- Channel
- linux.conf.au
- Views
- 50