Files
linux_system_tuning/profiles/gaming.json
mindesbunister 548dc1d0d3 Remove overlay filesystem functionality and add detection/removal capability
- Remove unused overlay filesystem configuration and references
- Remove overlayfs sections from all profile JSON files
- Remove OVERLAY_ENABLED/OVERLAY_PROTECT_CONFIGS from config
- Update documentation to focus on tmpfs optimization
- Add overlay detection and removal functionality for cleanup
- Add remove_overlays() function with safe unmounting
- Add overlay status reporting in final optimization summary
- Add test-overlay-detection.sh for testing detection logic
- Simplify codebase by removing complex unused features
- Focus on proven desktop optimizations (tmpfs, zram, kernel)
2025-09-23 12:35:45 +02:00

61 lines
1.5 KiB
JSON

{
"_comment": "Gaming Optimization Profile - Optimized for gaming performance with low latency",
"profile_name": "gaming",
"description": "Gaming-focused optimization for maximum performance",
"target_systems": [
"Gaming desktops",
"High-performance laptops",
"Streaming setups"
],
"requirements": {
"min_ram_gb": 8,
"recommended_ram_gb": 16
},
"optimizations": {
"zram": {
"enabled": true,
"size_formula": "min(ram_gb * 0.5, 8)G",
"compression_algorithm": "lz4"
},
"tmpfs": {
"game_cache": {
"enabled": true,
"size": "4G",
"paths": [
"/tmp/tmpfs-cache/steam",
"/tmp/tmpfs-cache/games"
]
},
"browser_cache": {
"enabled": true,
"size": "1G",
"paths": ["/tmp/tmpfs-cache/browser"]
},
"shader_cache": {
"enabled": true,
"size": "2G",
"paths": ["/tmp/tmpfs-cache/shaders"]
}
},
"kernel_parameters": {
"vm.swappiness": 1,
"vm.dirty_ratio": 3,
"vm.dirty_background_ratio": 1,
"vm.vfs_cache_pressure": 40,
"vm.page-cluster": 0,
"kernel.sched_autogroup_enabled": 0,
"kernel.sched_child_runs_first": 1,
"net.core.netdev_max_backlog": 10000,
"net.core.rmem_max": 33554432,
"net.core.wmem_max": 33554432
}
},
"gaming_specific": {
"cpu_governor": "performance",
"disable_services": [
"bluetooth",
"cups"
],
"priority_adjustments": true
}
}