3 À<×e4 ã @ sn d dl mZ d dlT ddlZd dl mZ ddlmZ ddlj Z ddl Z ddlZejj ƒ ZG dd„ dejƒZdS ) é )Úbase)Ú*é N)Ú exceptions)Úcommandsc sž e Zd ZdZ‡ fdd„Zdd„ Zdd„ Zedd „ ƒZd d„ Z dd „ Z dd„ Zdd„ Zdd„ Z dd„ Zdd„ Zejfdd„Zdd„ Zeddd�dd „ ƒZ‡ ZS )!Ú SystemdPlugina< `systemd`:: Plug-in for tuning systemd options. + The [option]`cpu_affinity` option allows setting CPUAffinity in `/etc/systemd/system.conf`. This configures the CPU affinity for the service manager as well as the default CPU affinity for all forked off processes. The option takes a comma-separated list of CPUs with optional CPU ranges specified by the minus sign (`-`). + .Set the CPUAffinity for `systemd` to `0 1 2 3` ==== ---- [systemd] cpu_affinity=0-3 ---- ==== + NOTE: These tunings are unloaded only on profile change followed by a reboot. c s<