meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
vm:proxmox:lxc:config [2021/02/23 21:30] – created niziakvm:proxmox:lxc:config [2025/02/24 08:53] (current) niziak
Line 1: Line 1:
-====== /etc/pve/lxc/<ctid>.conf ======+====== config file ======
  
 +===== /etc/pve/lxc/<ctid>.conf =====
  
-<file>+<file conf /etc/pve/lxc/ctid.conf>
 lxc.mount.entry: hugetlbfs dev/hugepages hugetlbfs rw,relatime,create=dir 0 0 lxc.mount.entry: hugetlbfs dev/hugepages hugetlbfs rw,relatime,create=dir 0 0
 lxc.apparmor.profile: unconfined lxc.apparmor.profile: unconfined
 +</file>
 +
 +==== cpu pinning ====
 +
 +<file conf /etc/pve/lxc/ctid.conf>
 +lxc.cgroup2.cpuset.cpus=0,2,4,8,10
 +#lxc.cgroup2.cpuset.cpus=0-10
 +</file>
 +
 +<code bash>
 +pct cpusets
 +-------------------------------------------------------------------
 +...
 +848:  0           10    12    14    16    18    20    22
 +...
 +-------------------------------------------------------------------
 +</code>
  
-</file