Centralized Congestion Control and Scheduling in a Datacenter