Adaptive runtime techniques for node-aware resource optimization