摘要:
Methods and apparatus for creating a network farm from a tree topology network are disclosed. One method includes receiving a logical specification of the farm, the logical specification specifying at least one of device types required by the farm and a number of devices for each of the device types. The method further includes receiving a communication model for the farm, the communication model specifying expected bandwidth usage for devices of the farm. The method additionally includes ascertaining, responsive to the logical specification and the communication model, a solution set of devices among devices of the tree topology network for constructing the farm. The ascertaining includes performing partitioned greedy recursion on switching elements of the tree topology network, which includes recursively ascertaining, starting from the top level of the tree topology network and recursing toward the lowest switching element level of the tree topology network, the lowest cost solution at each switching element level of the tree topology network, wherein the lowest cost solution that completely satisfies resource requirements of the farm and that is found after the tree topology network is traversed by the partitioned greedy recursion is deemed the solution set of devices.
摘要:
A computer-implemented method for distributing processes among a plurality of resources is disclosed. The processes are associated with a plurality of priority groups. The method includes ascertaining whether a first priority group of the plurality of priority groups is rich, the first priority group of the plurality of groups being deemed rich if the first priority group is entitled to at least a whole one of the plurality of resources, the first priority group of the plurality of groups being deemed poor if the first priority group is entitled to less than the whole one of the plurality of resources. The method also includes distributing processes of the first priority group among at least a first subset of the plurality of resources in accordance with a first computer-implemented methodology if the first priority group is deemed a rich. The method additionally includes distributing processes of the first priority group among at least a second subset of the plurality of resources in accordance with a second computer-implemented methodology if the first priority group is deemed poor, the second computer-implemented methodology being different from the first computer-implemented methodology.
摘要:
A computer-implemented method for filtering, responsive to a logical specification of a network farm and a communication model for the farm, a tree topology network specification to obtain a filtered tree topology network specification is disclosed. The filtered tree topology network specification has fewer devices therein relative to the tree topology network specification, devices needed for constructing the farm being available in the filtered tree topology network specification. The method includes removing a first set of devices and a first set of switching elements from the tree topology network specification starting at the lowest level of the tree topology network specification and working toward the root node of the tree topology network specification. Each device in the first set of devices represents one of a redundant device, a device having a type unneeded by the farm, and a device unavailable for constructing the farm. Each switching element in the first set of switching elements represents a switching element whose children devices are all members of the first set of devices.