Performance-driven dynamic resource management in E2 VMs