mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-07-12 18:19:42 -07:00
ca8c91f589
Flycast-SA: - Restore -Ofast sed (was incorrectly replaced with CMAKE_BUILD_TYPE=Release) - -Ofast = -O3 + -ffast-math is INTENTIONAL for Flycast: the Dreamcast SH4 FPU doesn't use strict IEEE 754, and the hardware itself flushes denormals - Validated by JELOS/AmberELEC/ROCKNIX upstream for years without issues - On weak Cortex-A35, the extra optimization from -ffast-math is meaningful Sysctl: - vm.dirty_writeback_centisecs: 500→1500 (match ROCKNIX, reduce I/O wakeups during gaming — read-heavy workload needs fewer writeback checks) - vm.vfs_cache_pressure: 50→100 (restore kernel default — during gameplay the same few files are reread (ROM, save, shader cache), so a large inode/dentry cache provides no benefit on 1GB RAM. 50 is a desktop tuning that favors metadata cache for build/compile workloads, not gaming. Note: 200+ is what aggressively reclaims metadata; 100 is the neutral kernel default, not an override.) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>