✏️ 编辑:plugin_irqbalance.cpython-39.pyc
路径:
/usr/lib/python3.9/site-packages/tuned/plugins/__pycache__/plugin_irqbalance.cpython-39.pyc
大小:4.67 KB · 修改:2026-07-21 16:54:01 · 权限:0644 · 只读(保存会失败)
← 返回目录
👁 查看
⬇ 下载
检测到二进制内容,直接保存可能损坏文件。请改用「上传替换」。
a �]�i( � @ s\ d dl mZ d dlmZ ddlmZ ddlZddlZddlZej � � ZG dd� dej�Z dS )� )�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&