afdbb02c49
- Calculate 25% of total cores instead of hardcoded 2 cores - Use std::max(1u, totalCores / 4) to ensure minimum 1 core - Build affinity mask dynamically for calculated cores - This should fix stuck at 50% issue and scale properly