Files
linux_system_tuning/profiles/development.json
mindesbunister 2edb4a73c3 Complete Linux system optimization suite with tmpfs, zram, and German locale support
- Fixed missing setup_tmpfs() function that was causing silent failures
- Added comprehensive system scanning for browsers, IDEs, gaming caches
- Implemented detailed optimization information display for transparency
- Added German locale compatibility for 'free' command (Speicher: vs Mem:)
- Fixed division by zero errors in RAM calculations
- Created tmpfs-info.sh helper script for detailed status reporting
- Enhanced scanning to work on already-optimized systems
- Added comprehensive optimization breakdowns with purpose explanations
2025-09-23 12:11:45 +02:00

76 lines
1.8 KiB
JSON

{
"_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
}
}