Files
mw-pfeddersheim-workstation/docs/tech/performance-tuning.md
T

31 lines
1.3 KiB
Markdown

# mw-pfeddersheim-workstation Performance Tuning
## Overview
This document tracks optimization decisions, system tuning parameters, and cleanup routines implemented for the workstation to ensure maximum resource efficiency and stability.
## Current System State (2026-02-27)
- **CPU**: AMD/Intel (High core count assumed from load distribution)
- **RAM**: 64GB
- **Storage**: NVMe (77% usage detected)
- **OS**: CachyOS/Arch Linux
## Optimization Strategies
### 1. Kernel Parameter Tuning (Ansible)
- **vm.swappiness**: Set to `10` to prefer RAM over swap on the 64GB machine.
- **fs.inotify.max_user_watches**: Increase to `524288` for IDEs and build tools.
- **vm.vfs_cache_pressure**: Set to `50` to improve filesystem cache retention.
### 2. Storage & Filesystem Cleanup
- **Docker**: Automated pruning of unused images and volumes via `scripts/maintenance.sh`.
- **Journald**: Vacuuming logs older than 7 days or exceeding 500MB.
- **Package Manager**: Maintaining only the last 2 versions of packages in the cache.
### 3. Service Optimization
- **Ananicy**: (Optional) Use Ananicy-cpp for automatic process prioritizing (CachyOS default usually).
## Implementation Log
| Date | Type | Description |
|------|------|-------------|
| 2026-02-27 | Initial | Initial tuning document and strategy established. |