Skip to content

Instantly share code, notes, and snippets.

View Serpentiel's full-sized avatar
🌈

Aleksandr Zaruchevskiĭ Serpentiel

🌈
View GitHub Profile
@Serpentiel
Serpentiel / README.md
Last active April 22, 2026 11:44
AudioBoost

AudioBoost

Fixes audio popping and glitches on macOS by continuously maintaining elevated scheduling priority for audio-related system processes via renice and taskpolicy QoS tuning.

Every 30 seconds, the following processes are pinned to ni=-20 and tuned to the lowest latency and highest throughput QoS tiers:

Process Role
coreaudiod Core Audio server
audiomxd Audio mixer and routing
@Serpentiel
Serpentiel / nvidia-vgpu-lifecycle.pl
Last active April 29, 2024 06:40
Proxmox VE Hook Script for NVIDIA vGPU Lifecycle Management
#!/usr/bin/perl
# nvidia-vgpu-lifecycle.pl
# Proxmox VE Hook Script for NVIDIA vGPU Lifecycle Management
#
# This script manages mediated devices for vGPUs on NVIDIA GPUs within a Proxmox VE environment.
# It performs the following actions:
# - Retrieves the bus ID of the GPU using nvidia-smi.
# - Creates a mediated device based on a specified vGPU profile during the VM's pre-start phase.
# - Sets specific vGPU parameters for the mediated device.