Proxmox

CPU Performance Scaling
  • list available governors
    cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors

  • watch CPU frequency live
    watch "lscpu | grep MHz"

  • Check the current CPU governor:
    cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor

  • set the CPU governor
    echo "ondemand" | tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor

  • set the governor at boot time
    crontab -l

zigbee2mqtt USB passthrough

in /etc/pve/nodes/macminiserver/lxc/105.conf

lxc.cgroup2.devices.allow: c 188:* rwm
lxc.mount.entry: /dev/ttyUSB0 dev/ttyUSB0 none bind,optional,create=file
lxc.mount.entry: /dev/serial/by-id dev/serial/by-id none bind,optional,create=dir

permission in /dev/serial/by-id:

lrwxrwxrwx 1 root root 13 Mar 3 12:08 usb-Silicon_Labs_Sonoff_Zigbee_3..._USB_Dongle_Plus_0001-if00-port0 -> .../.../ttyUSB0

permissions in /dev/ttyUSB0:

crw-rw-rw- 1 root dialout 188, 0 Mar 3 12:08 ttyUSB0

set permission with: chmod a+rw ttyUSB0

This page was last edited on 2024-03-03 11:55

Powered by Wiki|Docs

This page was last edited on 2024-03-03 11:55

© freek.be
For your amusement only

Powered by Wiki|Docs