Rechercher

Ce contenu n'est pas disponible dans la langue sélectionnée.

4.3. Tuning IRQs with Tuna

download PDF
To see the list of IRQs currently running on your system, see the Monitoring tab in Tuna GUI or the /proc/interrpupts file. You can also use the tuna --show_irqs command.
To specify the list of IRQs to be affected by your command, use the --irqs parameter:
# tuna --irqs=irq_list --run=COMMAND
To move an interrupt to a specified CPU, use the --move parameter:
# tuna --irqs=irq_list --cpus=cpu_list --move
The irq_list argument is a list of comma-separated IRQ numbers or user-name patterns.
The cpu_list argument is a list of comma-separated CPU numbers. For example, --cpus=0,2.
For example, to target all interrupts whose names start with sfc1 and spread them over two CPUs:
# tuna --irqs=sfc1\* --cpus=7,8 --move --spread
To verify the changes you set, use the --show_irqs parameter both before and after modifying the IRQs with the --move parameter:
# tuna --irqs=128 --show_irqs

   # users            affinity
 128 iwlwifi           0,1,2,3

# tuna --irqs=128 --cpus=3 --move

# tuna --irqs=128 --show_irqs

   # users            affinity
 128 iwlwifi                 3
This allows you to compare the state of the selected IRQs before and after your changes.

Note

Using the Tuna GUI might be more convenient in certain scenarios. Moving IRQs and threads by specifying the CPUs they are to run on can be time-consuming and difficult because it involves multiple steps of creating CPU masks. The Tuna GUI automates the process. In the Tuna GUI, you can also select threads and IRQs and drag them over the intended CPUs, which can make changing the topology easier.
Red Hat logoGithubRedditYoutubeTwitter

Apprendre

Essayez, achetez et vendez

Communautés

À propos de la documentation Red Hat

Nous aidons les utilisateurs de Red Hat à innover et à atteindre leurs objectifs grâce à nos produits et services avec un contenu auquel ils peuvent faire confiance.

Rendre l’open source plus inclusif

Red Hat s'engage à remplacer le langage problématique dans notre code, notre documentation et nos propriétés Web. Pour plus de détails, consultez leBlog Red Hat.

À propos de Red Hat

Nous proposons des solutions renforcées qui facilitent le travail des entreprises sur plusieurs plates-formes et environnements, du centre de données central à la périphérie du réseau.

© 2024 Red Hat, Inc.