Initial commit: Linux System Tuning Suite

- Intelligent hardware detection and analysis
- Modular optimization system with profiles
- Automatic tmpfs, zram, and kernel tuning
- Real-time monitoring and health checks
- Support for desktop, gaming, and development workloads
- Safe backup and rollback capabilities
- Systemd integration for persistent optimizations
This commit is contained in:
root
2025-09-21 15:52:07 +02:00
commit 697a01ce36
12 changed files with 2077 additions and 0 deletions

94
README.md Normal file
View File

@@ -0,0 +1,94 @@
# Linux System Tuning Suite
🚀 **Intelligent system optimization toolkit for Linux desktop systems**
This repository provides automated system tuning based on hardware detection, usage patterns, and best practices for tmpfs, overlay filesystems, and kernel parameter optimization.
## 🎯 Features
- **Hardware Detection**: Automatically detects RAM, CPU, storage configuration
- **Usage Analysis**: Identifies frequently accessed files and directories
- **Intelligent Tuning**: Applies optimizations based on system characteristics
- **Modular Design**: Easy to customize and extend
- **Safe Deployment**: Backup and rollback capabilities
- **Multi-Distribution**: Works across different Linux distributions
## 🏗️ Components
### Core Scripts
- `tune-system.sh` - Main tuning orchestrator
- `system-analyzer.sh` - Hardware and usage analysis
- `optimizer.sh` - Apply specific optimizations
- `monitor.sh` - System monitoring and health checks
### Modules
- `modules/hardware-detection.sh` - RAM, CPU, storage detection
- `modules/usage-analysis.sh` - File access pattern analysis
- `modules/tmpfs-optimizer.sh` - tmpfs configuration
- `modules/overlay-optimizer.sh` - overlay filesystem setup
- `modules/kernel-tuning.sh` - kernel parameter optimization
- `modules/zram-optimizer.sh` - zram/zswap configuration
### Profiles
- `profiles/` - Pre-configured optimization profiles
- `configs/` - Configuration templates
## 🚀 Quick Start
```bash
# Clone the repository
git clone git@gitea.egonetix.de:root/linux_system_tuning.git
cd linux_system_tuning
# Run system analysis
sudo ./system-analyzer.sh
# Apply optimizations
sudo ./tune-system.sh --auto
# Monitor results
./monitor.sh
```
## 📊 Supported Optimizations
- **Memory Management**: zram, tmpfs, overlay filesystems
- **Kernel Tuning**: vm parameters, scheduler settings
- **Cache Optimization**: Browser, IDE, package manager caches
- **I/O Optimization**: Storage and network tuning
- **Desktop Responsiveness**: Priority and scheduling tweaks
## 🔧 Configuration
The system can be configured through:
- Interactive setup wizard
- Configuration files
- Command-line parameters
- Environment variables
## 📈 Benchmarking
Built-in benchmarking tools to measure:
- Boot time improvements
- Application startup times
- Memory utilization efficiency
- I/O performance gains
## 🛡️ Safety
- Automatic backups before changes
- Rollback capabilities
- Safe mode for testing
- Validation checks
## 📄 License
MIT License - see LICENSE file for details
## 🤝 Contributing
Contributions welcome! Please read CONTRIBUTING.md for guidelines.
---
*Making Linux systems faster, one optimization at a time*