관리-도구
편집 파일: plugin_irqbalance.cpython-39.pyc
a ,�g. � @ sd d dl mZ d dlmZ ddlmZ ddlZddlZddlZddl Z ej �� ZG dd� dej �ZdS )� )�base)�command_custom� )�constsNc s� e Zd ZdZ� fdd�Zdd� Zdd� Zedd � �Zd d� Z dd � Z dd� Zdd� Zdd� Z dd� Zdd� Zeddd�dd� �Z� ZS )�IrqbalancePlugina� Plug-in for irqbalance settings management. The plug-in configures CPUs which should be skipped when rebalancing IRQs in `/etc/sysconfig/irqbalance`. It then restarts irqbalance if and only if it was previously running. The banned/skipped CPUs are specified as a CPU list via the [option]`banned_cpus` option. .Skip CPUs 2,4 and 9-13 when rebalancing IRQs ==== ---- [irqbalance] banned_cpus=2,4,9-13 ---- ==== c s$ t t| �j|i |�� t�� | _d S �N)�superr �__init__�perfZcpu_map�_cpus)�self�args�kwargs�� __class__� �C/usr/lib/python3.9/site-packages/tuned/plugins/plugin_irqbalance.pyr s zIrqbalancePlugin.__init__c C s d|_ d|_d S )NFT)Z_has_dynamic_tuningZ_has_static_tuning�r �instancer r r �_instance_init"