Resource reconfiguration: learning from performance feedback