Text this: Power optimization in multi-processor system with frequency scaling and processor affinity