Table of Contents

โš™๏ธ System Optimization & Stability

๐Ÿ“‚ Projects > โš™๏ธ System Optimization

๐ŸŒŸ High-Level Overview

This project focuses on the fine-tuning of the Kubuntu 25.10 Host environment. The objective is to maintain a โ€œMiddle Groundโ€ between aggressive performance (for gaming and AI workloads) and rock-solid stability (required for SR-IOV iGPU sharing). The system follows a โ€œFail Closedโ€ security philosophy, prioritizing system integrity over ease-of-use where necessary.

๐Ÿ› ๏ธ Technical Specifications

1. Hardware & BIOS Tuning

* Platform: MSI z890-s WiFi * CPU: Intel Ultra 7 265k (Arrow Lake-S) * Memory: 64GB DDR5 G.Skill Trident @ 6000 MT/s (iEXPO enabled) * CPU Profile: Intel 200s Boost Profile (Customized for stability)

2. Kernel & OS Optimizations

* Xanmod Kernel (6.19.6): Downgraded and held via APT to match i915-sriov-dkms driver compatibility. * GRUB Boot Flags:

3. Storage & Filesystem (Btrfs)

* Mount Options (fstab):

* Data Integrity: Periodic btrfs scrub scheduled to monitor for bit-rot/corruption.

4. Virtualization (KVM/QEMU)

* vCPU Pinning:

* Memory Performance:

* VirtIO Migration:

5. Web & Wiki Services

* Public Access: DuckDNS dynamic IP update script (/usr/local/bin/duckdns-update.sh). * SSL/TLS: Let's Encrypt (Certbot) enabled for killmyself.duckdns.org with HTTPโ†’HTTPS redirect. * Interactive Tables: SortableJS plugin installed for the RAID stats table.

๐Ÿ“Š Monitoring & Automation

* check_sriov_health.sh: Custom script to ensure iGPU VFs are active post-reboot. * security_audit.sh: Scans for unauthorized logins, open ports, and VF hijacks. * Netdata Integration: Real-time anomaly detection and performance dashboarding.

๐Ÿ—“๏ธ History of Major Changes

Date Action Outcome
2026-03-22 Public DNS & SSL Exposed DokuWiki via DuckDNS + Certbot.
2026-03-22 RAID Stats Sorting Installed SortableJS for interactive tables.
2026-03-21 Btrfs Tuning Applied commit=60 and zstd compression.
2026-03-21 VM Optimization Added IOThreads, Hugepages, and vCPU pinning.
2026-03-20 Kernel Downgrade Aligned Xanmod 6.19.6 for SRIOV stability.
2026-03-16 VirtIO Migration Migrated VM disk/network for high performance.