Congestion control, energy efficiency and virtual machine placement for data centers