Self-optimization in computer systems via online control:application to power management | Synapse