Second Derivative Algorithms for Optimal Resource Allocation in Distributed Computer Systems