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:
76
profiles/development.json
Normal file
76
profiles/development.json
Normal file
@@ -0,0 +1,76 @@
|
||||
{
|
||||
"_comment": "Development Workstation Profile - Optimized for software development with large projects",
|
||||
"profile_name": "development",
|
||||
"description": "Development-focused optimization for IDEs and build tools",
|
||||
"target_systems": [
|
||||
"Development workstations",
|
||||
"DevOps machines",
|
||||
"CI/CD systems"
|
||||
],
|
||||
"requirements": {
|
||||
"min_ram_gb": 8,
|
||||
"recommended_ram_gb": 32
|
||||
},
|
||||
"optimizations": {
|
||||
"zram": {
|
||||
"enabled": true,
|
||||
"size_formula": "min(ram_gb * 0.8, 16)G",
|
||||
"compression_algorithm": "zstd"
|
||||
},
|
||||
"tmpfs": {
|
||||
"build_cache": {
|
||||
"enabled": true,
|
||||
"size": "8G",
|
||||
"paths": [
|
||||
"/tmp/tmpfs-cache/build",
|
||||
"/tmp/tmpfs-cache/ccache"
|
||||
]
|
||||
},
|
||||
"ide_cache": {
|
||||
"enabled": true,
|
||||
"size": "4G",
|
||||
"paths": [
|
||||
"/tmp/tmpfs-cache/vscode",
|
||||
"/tmp/tmpfs-cache/jetbrains",
|
||||
"/tmp/tmpfs-cache/eclipse"
|
||||
]
|
||||
},
|
||||
"package_cache": {
|
||||
"enabled": true,
|
||||
"size": "4G",
|
||||
"bind_mounts": [
|
||||
"/var/cache/apt",
|
||||
"/var/cache/pacman/pkg",
|
||||
"/root/.cache/pip"
|
||||
]
|
||||
},
|
||||
"node_modules": {
|
||||
"enabled": true,
|
||||
"size": "6G",
|
||||
"paths": ["/tmp/tmpfs-cache/node_modules"]
|
||||
}
|
||||
},
|
||||
"kernel_parameters": {
|
||||
"vm.swappiness": 5,
|
||||
"vm.dirty_ratio": 10,
|
||||
"vm.dirty_background_ratio": 5,
|
||||
"vm.vfs_cache_pressure": 50,
|
||||
"fs.file-max": 2097152,
|
||||
"fs.inotify.max_user_watches": 524288,
|
||||
"kernel.pid_max": 32768
|
||||
},
|
||||
"overlayfs": {
|
||||
"enabled": true,
|
||||
"protect_configs": true,
|
||||
"overlay_paths": [
|
||||
"/home/*/workspace",
|
||||
"/opt/projects"
|
||||
]
|
||||
}
|
||||
},
|
||||
"development_specific": {
|
||||
"docker_optimization": true,
|
||||
"git_optimization": true,
|
||||
"compiler_cache": true
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user