RECURSIVE PARTITIONING OF NETWORKS

Abstract: Methods and systems consistent with the present invention provide a family of networks ranging from 2 nodes to 16 nodes that can be partitioned in an unconstrained manner. That is, where the number of nodes in one of these networks is N, subnetwork can contain any number of nodes from 1 to N-1 as long as the total number of nodes in both subnetworks equals N. Furthermore, each subnetwork can be partitioned repeatedly until reaching the atomic level (i.e., when the subnetwork contains a single node). In accordance with methods and systems consistent with the present invention, when a network is partitioned, each subnetwork has various desirable properties. For example, the maximum path length between any two nodes in each subnetwork nodes is 3, and each subnetwork has a set of deadlock-free routings.

Description: Recursive Partitioning of Networks Related Applications The following identified U.S. patent applications are relied upon and are incorporated by reference in this application. U.S. Patent Application No. , entitled "Improved Network Topologies," bearing attorney docket number 06502.0135, filed on even date herewith, assigned to a common assignee. U.S. Patent Application No. , entitled "Deadlock-Free Routing," bearing attorney docket number 06502.0133, filed on even date herewith, assigned to a common assignee. U.S. Patent Application No. , entitled "Dynamic Generation of Deadlock-Free Routings," bearing attorney docket number 06502.0163, filed on even date herewith, assigned to a common assignee. U.S. Patent Application No. , entitled "Improved Network Reconfiguration," bearing attorney docket number 06502.0134, filed on even date herewith, assigned to a common assignee. Field of the Invention The present invention relates generally to data processing systems and, more particularly, to recursively partitioning networks. Background of the Invention Networks comprise a number of nodes that are interconnected via links. As used herein, the term "node" refers to any device capable of communicating, such as a computer, router, switch, network processor, or symmetric multi-processor. The specific configuration of nodes and links in a network is referred to as the "network topology ' Some conventional networks may be partitioned into subnetworks. The "partitioning" of a network refers to subdividing the network into two subnetworks, each of which is independent of the other. The term "independent" refers to each link of the original network belonging to at most one of the two resulting subnetworks and each node of the original network belonging to at most one of the two resulting subnetworks. Partitioning a network is desirable because it provides fault tolerance. That is, partitioning a network into two subnetworks ensures that the failure of a node in one subnetwork does not affect the other. For example, a node in one of the subnetworks may fail and become nonoperational. In this situation, although the failure affects performance of the subnetwork in which it resides because none of the other nodes can route traffic through the failed node, the other subnetwork remains unaffected by the failure. Although conventional systems exist for partitioning a network, these systems partition the network in a restricted manner: each subnetwork is constrained as to the number of nodes that it contains. For example, in one conventional system, each subnetwork contains either one-half or one-fourth of the total number of nodes in the network. Similarly, another conventional system restricts the number of nodes in the network to a power of 2. Although these conventional systems allow for partitioning, because the number of nodes in the subnetwork is constrained, these systems are inflexible, which can lead to the underutilization of resources. For example, in the conventional system where each subnetwork contains either one-half or one-fourth of the total number of nodes, if the total number of nodes were 16 and the system administrator needed a subnetwork of only 3 nodes to run a particular set of programs, the administrator would be restricted to dividing the network into two subnetworks of 8 nodes or a subnetwork of 4 nodes and a subnetwork of 12 nodes. In either case, at least one node goes underutilized. It is therefore desirable to improve the partitioning of networks. Summary of the Invention Methods and systems consistent with the present invention provide a family of networks ranging from 2 nodes to 16 nodes that can be partitioned in an unconstrained manner. That is, where the number of nodes in one of these networks is N, each subnetwork can contain any number of nodes from 1 to N - 1 as long as the total number of nodes in both subnetworks equals N. Furthermore, each subnetwork can be partitioned repeatedly until reaching the atomic level (i.e., when the subnetwork contains a single node). In accordance with methods and systems consistent with the present invention, when a network is partitioned, each subnetwork has various desirable properties. For example, the maximum path length between any two nodes in each subnetwork is 3, and each subnetwork has a set of deadlock-free routings. In accordance with methods consistent with the present invention, a method is provided in a data processing system with a number of nodes N, where N is greater than 4. This method receives an indication of a first number of nodes and a second number of nodes. The first number of nodes and the second number of nodes are capable of being any number from 1 to N - 1 as long as the sum of the first number of nodes and the second number of nodes is N. Furthermore, the method partitions the nodes into a first subnetwork having the first number of nodes and a second subnetwork having the second number of nodes. In accordance with methods consistent with the present invention, a method is provided that provides a network that has nodes and a plurality of the nodes are partner nodes having a partnership relationship. Furthermore, the method partitions the network into a plurality of subnetworks such that the partnership relationship between the partner nodes remains intact. In accordance with methods consistent with the present invention, a method is provided in a distributed system having a network of nodes. This method partitions the network into a plurality of subnetworks, provides each of the subnetworks with a routing table that avoids deadlock, and routes traffic through each of the subnetworks using the provided routing tables such that deadlock is avoided. In accordance with systems consistent with the present invention, an administrative node of a network is provided. The network contains a number of nodes N, where N is greater than 4. This administrative node contains a memory and a processor. The memory comprises routing software with first code that receives an indication of a first number of nodes and an indication of a second number of nodes, the first number and the second number being unconstrained such that the first number and the second number are capable of being any number between 1 and N-1 as long as the first number and the second number sum to N. The routing software also contains second code for partitioning the network into a first partition with the first number of nodes and a second partition with the second number of nodes. The processor runs the routing software. Brief Description of the Drawings The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate an implementation of the invention and, together with the description, serve to explain the advantages and principles of the invention. In the drawings, Fig. 1 depicts a data processing system suitable for use with methods and systems consistent with the present invention; Fig. 2 depicts a more detailed diagram of the chassis of Fig. 1; Fig. 3 depicts a more detailed diagram of the routing card depicted in Fig. 2; Fig.4 depicts a flowchart of the steps performed by the routing software depicted in Fig. 3 when partitioning a network in accordance with methods and systems consistent with the present invention; Fig. 5A depicts an exemplary network with 5 nodes; Fig. 5B depicts a network with 5 nodes that matches the topology of the network of Fig. 5A; Fig. 6 depicts a network with 3 nodes in accordance with methods and systems consistent with the present invention; Fig. 7 depicts a network with 4 nodes in accordance with methods and systems consistent with the present invention; Fig. 8A depicts a network with 5 nodes in accordance with methods and systems consistent with the present invention; Figs. 8B and 8C depict partitionings of the network in Fig. 8A; Fig. 9A depicts a network with 6 nodes in accordance with methods and systems consistent with the present invention; Figs. 9B - 9D depict partitionings of the network depicted in Fig. 9A; Fig. 10A depicts a network with 7 nodes in accordance with methods and systems consistent with the present invention; Figs. 10B - 10D depict partitionings of the network in Fig. 10A; Fig. 11 A depicts a network with 8 nodes in accordance with methods and systems consistent with the present invention; Figs. 1 IB - 1 IE depict partitionings of the network in Fig. 11A; Fig. 12 A depicts a network with 9 nodes in accordance with methods and systems consistent with the present invention; Figs. 12B - 12E depict partitionings of the network in Fig. 12A; Fig. 13A depicts a network with 10 nodes in accordance with methods and systems consistent with the present invention; Figs. 13B - 13F depict partitionings of the network in Fig. 13 A; Fig. 14A depicts a network with 11 nodes in accordance with methods and systems consistent with the present invention; Figs. 14B - 14F depict partitionings of the network in Fig. 14A; Fig. 14G depicts an alternative network with 1 1 nodes in accordance with methods and systems consistent with the present invention; Figs. 14H - 14L depict partitionings of the network in Fig. 14G; Fig. 15A depicts a network with 12 nodes in accordance with methods and systems consistent with the present invention; Figs. 15B - 15G depict partitionings of the network in Fig. 15 A; Fig. 15H depicts an alternative configuration of the network with 12 nodes in accordance with methods and systems consistent with the present invention; Figs. 151 - 15N depict partitionings of the network in Fig. 15H; Fig. 16A depicts a network with 13 nodes in accordance with methods and systems consistent with the present invention; Figs. 16B - 16G depict partitionings of the network in Fig. 16A; Fig. 16H depicts an alternative configuration for a network with 13 nodes in accordance with methods and systems consistent with the present invention; Figs. 161 - 16N depict partitionings of the network in Fig. 16H; Fig. 17A depicts a network with 14 nodes in accordance with methods and systems consistent with the present invention; Fig. 17B -17H depict partitionings of the network in Fig. 17A; Fig. 18A depicts a network with 15 nodes in accordance with methods and systems consistent with the present invention; Figs. 18B- 18H depict partitionings of the network in Fig. 18A; Fig. 19A depicts a network with 16 nodes in accordance with methods and systems consistent with the present invention; and Figs. 19B - 191 depict partitionings of the network in Fig. 19A. Detailed Description In accordance with methods and systems consistent with the present invention, an improved network partitioning system is provided for use in subdividing a family of network topologies ranging from two to sixteen nodes. Using this system, each network can be subdivided into two subnetworks, with each subnetwork having any number of nodes as long as the total number of nodes in both of the two subnetworks equals the number of nodes in the original network. Also, each subnetwork can be further partitioned into subnetworks having any number of nodes as long as the total number of nodes in the subnetworks equals the original number of nodes in the subnetwork. This partitioning is therefore recursive and can be performed until the subnetworks reach an atomic level (i.e., contain a single node). Furthermore, the system automatically provides each subnetwork with a set of routings that avoids deadlock. The term "deadlock" refers to an undesirable system state that occurs when a cycle of multi-hop packets are each waiting on a busy node on the next hop. A "multi-hop" packet refers to a packet that is routed through at least one node before reaching its destination. A deadlock may occur, for example, in a network of three nodes (node 1 , node 2, and node 3), where node 1 is waiting to send a multi-hop packet to node 2 (which is not the packet's destination), where node 2 is waiting to send a multi-hop packet to node 3 (which is not the packet's destination), and where node 3 is waiting to send a multi-hop packet to node 1 (which is not the packet's destination). Since each node is waiting on the other, a stalemate or deadlock occurs, and these nodes are rendered non-operational. Overview To partition a network, the system administrator, using an administrator's console on one of the nodes, inputs the number of nodes desired for each subnetwork. The system then sends an indication to each of the nodes, stalling the nodes. While a node is stalled, each node buffers the packets that it is sending and the packets that it is receiving which are destined for another node. Next, the system matches the network to a predefined basic topology. The system maintains at least one basic topology for each network in the family of networks. After matching the network to a basic topology, the system identifies predefined subnetwork topologies that contain the desired number of nodes. These subnetwork topologies indicate how the network should be partitioned to form the subnetworks. The system has prestored subnetwork topologies for each possible partitioning of each basic topology. For example, for the basic topology with five nodes, the system stores topologies for partitioning the network into subnetworks of 4 nodes and 1 node, and 3 nodes and 2 nodes. Additionally, the system stores deadlock-free routings for each subnetwork. After determining how to partition the network, the system updates the routing tables in each node of each subnetwork to reflect the partitioning. Then, the network resumes routing using the new routing tables which effectuates the partitioning of the network by routing all traffic for a particular subnetwork through nodes in that subnetwork. These routing tables have been designed to avoid deadlock. As stated above, the subnetworks are unconstrained as to the number of nodes that they can contain and this partitioning can occur recursively. Methods and systems consistent with the present invention operate in a family of network topologies which have been selected to facilitate network performance. These network topologies are discussed in further detail in copending U.S. Patent Application No. , entitled "Improved Network Topologies," which has previously been incorporated by reference. These network topologies use deadlock- free routings as described in copending U.S. Patent Application No. , entitled "Deadlock-Free Routing/' which has previously been incorporated by reference, and can use dynamically generated, deadlock-free routings when an error occurs, as described in copending U.S. Patent Application No. , entitled "Dynamic Generation of Deadlock-Free Routings," which has previously been incorporated by reference. In addition to being selected for network performance characteristics, these network topologies have also been selected to facilitate reconfiguration as is further described in copending U.S. Patent Application No. , e n t i t l e d " I mp ro v e d N etw o rk Reconfiguration," which has previously been incorporated by reference. Implementation Details Fig. 1 depicts a data processing system 100 suitable for use with methods and systems consistent with the present invention. Data processing system 100 contains a chassis 102 connected to a video display 104 and a keyboard 106. Data processing system 100 is suitable for use as one or more nodes in the networks described below. As shown in Fig. 2, chassis 102 contains up to seven cards 202-214 interconnected via bus 215. Of these cards, cards 208 and 214, known as routing cards, perform routing functionality with each having five ports 216-224 and 226-234 that connect to a communication link (e.g., a cable). The cards other than the routing cards (i.e., cards 202-206, 210, and 212) typically contain multiple CPUs, memory, and secondary storage. In accordance with methods and systems consistent with the present invention, cards 202-208 form a single node 236. Likewise, cards 210-214 form a single node 238. Nodes 236 and 238 are referred to as partner nodes because they are both located in the same chassis 102. Since node 236 and node 238 are separate communications nodes, they may be interconnected via a communications link 240, known as a partner link. A partner link is used to transfer control information between two partner nodes; the actual data is transferred via the bus 215 for faster communications. One skilled in the art will appreciate that data processing system 100 and chassis 102 may include additional or different components, including additional nodes. Fig. 3 depicts a more detailed diagram of routing card 208, although routing card 214 is similarly configured. Routing card 208 contains a memory 302, a switch 304, and a processor 306 interconnected by an internal bus 307, which also connects to bus 215. Memory 302 contains routing software 308 that routes traffic through the network using routing table 310 and that partitions the network into subnetworks. Routing table 310 may contain part or all of the information contained in the routing tables described below. Memory 302 also contains network topologies 31 1 and subnetwork routing tables 313. Network topologies 311 include a basic topology that matches each network in the family of networks ranging from 2 to 16 nodes, and for each basic topology, network topology 311 contains various subnetwork topologies reflecting all possible partitionings of the basic topology. Subnetwork routing tables 313 contain deadlock-free routing tables for each subnetwork topology in network topologies 31 1. Switch 304 coordinates the sending and receiving of information across the network via ports 216-224 by using a send and receive buffer 312-330 for each port. Although aspects of the present invention are described as being stored in memory, one skilled in the art will appreciate that these aspects can also be stored on or read from other types of computer-readable media, such as secondary storage devices, like hard disks, floppy disks, or CD-ROM; a carrier wave from a network, such as the Internet; or other forms of RAM or ROM either currently known or later developed. Additionally, although the present invention is described relative to a network with nodes, one skilled in the art will appreciate that the present invention can also be used in multiprocessor systems where each node is a processor. Sun, Sun Microsystems, the Sun logo, Java™, and Java™-based trademarks are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other countries. Fig. 4 depicts a flowchart of the steps performed by the routing software when partitioning a network. The first step performed by the routing software is to receive an indication of the number of nodes in the first subnetwork and the number of nodes in the second subnetwork from the network administrator (step 402). Each number is unconstrained in that it may be any number from 1 to N - 1 , where N is the total number of nodes in the network, as long as the total number of nodes in both the first subnetwork and second subnetwork equals N. For example, in a network of 13 nodes, the network administrator may indicate that the first subnetwork should have 6 nodes and the second subnetwork should have 7 nodes. Next, the routing software matches the topology of the network to that of a prestored basic topology and identifies two subnetwork topologies for this basic topology that each contain the same number of nodes as those requested in step 402 (step 404). These subnetwork topologies identify the manner in which to partition the network: they identify which of the nodes in the network belong to each subnetwork and identify a new naming for each node. Each of these subnetwork topologies as well as the basic topologies are described in further detail below. After matching the topology, the routing software stalls the nodes (step 405). In this step, the routing software sends a signal to each node indicating that each node should deliver all outstanding packets already in transit but not generate any new traffic. After all outstanding packets have been delivered, the routing software updates each node with a new routing table that effectuates the partitioning by having the nodes of each subnetwork route traffic through nodes in that subnetwork (step 406). Each of these tables is further described below. After updating the routing tables, the routing software sends a signal to each node indicating that it should resume routing using the new routing tables (step 408). After this signal is sent, the network resumes operation except as two subnetworks. Partitionable Network Topologies As stated above, the network topologies provided by methods and systems consistent with the present invention are unconstrained when being partitioned. That is, these networks, described below, can be partitioned into two subnetworks having any number of nodes as long as the total number of nodes for both subnetworks equals the original number of nodes in the network. Methods and systems consistent with the present invention provide a basic topology for networks having from 2 nodes to 16 nodes. Each of these basic topologies has a predefined set of subnetwork topologies for all possible partitionings. Thus, when partitioning one of the basic topologies, each subnetwork matches one of the predefined subnetwork topologies. That is, whenever a basic topology is partitioned, it splits in such a way that the two resulting networks match two of the predefined subnetwork topologies. This rule applies when subdividing a subnetwork as well. A subnetwork matches a subnetwork topology if it can be made identical to the subnetwork topology by deleting (i.e., simply ignoring) some number of links (possibly none). During this matching, partner links are matched to partner links and nonpartner links are matched to nonpartner links, thus ensuring that any partner relationship between nodes is respected and preserved to facilitate network performance. For example, the topology shown in Fig. 5A matches the subnetwork depicted in Fig.5B. Partner links appear as dashed lines and non-partner links appear as solid lines. Each predefined subnetwork topology has been selected because of various desirable properties. For example, every subnetwork topology represents a topology that has a deadlock-free routing and a diameter of at most three. The "diameter" of a network refers to the maximum number of links that must be traversed between any two nodes. Below, the basic topologies and all possible partitionings of networks with three nodes to sixteen nodes are presented. The basic topology of size two is not presented because all that is required to partition this network is to ignore the link between the two nodes. For each basic topology, the various subnetwork topologies for each possible partitioning is presented as well as deadlock-free routings for each subnetwork topology. Basic Topology for Networks with Three Nodes The basic topology of a network with three nodes comprises two nodes that are partners as well as a third node connected to one of the other two, as depicted in Fig. 6. This basic topology can be split into a subnetwork of size two and another of size one by deleting the link from nodes B and C. The routings for the subnetwork of size 2 are provided below. FROMYΓO The routings for the network of size 3 are provided below Basic Topology for Networks with Four Nodes The basic topology for networks with four nodes matches the topology depicted in Fig. 7. This topology can be split into two subnetwork topologies of size two by deleting the link from A to C and from node B to node D. This topology can also be split into a subnetwork of size three and a subnetwork of size one by deleting the links coming from any one of the nodes. The routings for the subnetwork of sizes 2 and 3 have already been described. In the following description, various subnetwork topologies are provided with deadlock- free routings for each one. Two subnetworks having the same number of nodes use the same routings. For example, the routings for the network of three nodes, described above, are the same for all subnetworks with three nodes regardless of the size of the original network. Thus, for purposes of economy, when a set of routings for a subnetwork of a particular size has been presented, it will not be duplicated. It should be understood that all subnetworks of that size use the same set of routings. Basic Topology for Networks with Five Nodes Fig. 8 A depicts the basic topology of networks with five nodes. Fig. 8B depicts the basic topology divided into subnetworks of sizes three and two. Note that nodes "C" and "D" in Fig. 8A become nodes "A" and "B" in Fig. 8B, indicating that these nodes are part of a different subnetwork. This convention will be used in the following diagrams. Fig. 8C depicts the network divided into two subnetworks with four nodes and one node. The subnetwork with four nodes uses the following routings: Basic Topology for Networks with Six Nodes Fig. 9A depicts the basic topology for networks with six nodes. Fig. 9B depicts this topology divided into two subnetworks of sizes three and three, Fig. 9C depicts this topology divided into subnetworks of sizes four and two, and Fig. 9D depicts this topology divided into a subnetwork of sizes five and one. The subnetwork with five nodes uses the following routings: Basic Topology for Networks with Seven Nodes Fig. 10A depicts the basic topology for networks with seven nodes. Figs. 10B-D depict this topology divided into subnetworks of four nodes and three nodes, five nodes and two nodes, and six nodes and one node, respectively. The subnetwork with six nodes uses the following routings: Basic Topology for Networks with Eight Nodes Fig. 11A depicts the basic topology for networks with eight nodes. Figs. 1 1B-F depict this topology divided into subnetworks of four nodes and four nodes, five nodes and three nodes, six nodes and two nodes, and seven nodes and one node, respectively. The subnetwork with seven nodes uses the following routings: Basic Topology for Networks with Nine Nodes Fig. 12A depicts the basic topology for nine nodes. Figs. 12B-E depict this topology subdivided into subnetworks of five nodes and four nodes, six nodes and three nodes, seven nodes and two nodes, and eight nodes and one node, respectively. The subnetwork with eight nodes uses the following routings: Basic Topology for Networks with Ten Nodes Fig. 13A depicts the basic topology for a network having ten nodes. Figs. 13B-F depict this topology divided into subnetworks of five nodes and five nodes, six nodes and four nodes, seven nodes and three nodes, eight nodes and two nodes, and nine nodes and one node, respectively. The subnetwork with nine nodes uses the following routings: Basic Topologies for Networks with Eleven Nodes There are two basic topologies for networks with eleven nodes, the first of which is depicted in Fig. 14A. In this figure, the capital letters (e.g., "A") indicate a continuing connection to another like-lettered link. Figs. 14B-14F depict this network subdivided into subnetworks of six nodes and five nodes, seven nodes and four nodes, eight nodes and three nodes, nine nodes and two nodes, and ten nodes and one node, respectively. The subnetwork with ten nodes uses the following routings: 14G. Figs. 14H-14L depict this topology partitioned into subnetworks of six nodes and five nodes, seven nodes and four nodes, eight nodes and three nodes, nine nodes and two nodes, and ten nodes and one node, respectively. Basic Topologies for Networks with Twelve Nodes There are two basic topologies for networks with twelve nodes. The first topology is depicted in Fig. 15A. Figs. 15B-15G depict this topology divided into subnetworks of six nodes and six nodes, seven nodes and five nodes, eight nodes and four nodes, nine nodes and three nodes, ten nodes and two nodes, and eleven nodes and one node, respectively. The subnetwork with eleven nodes uses the topology for eleven nodes depicted in Fig. 14A and uses the following routings: divided into subnetworks of six nodes and six nodes, seven nodes and five nodes, eight nodes and four nodes, nine nodes and three nodes, ten nodes and two nodes, and eleven nodes and one node, respectively. This subnetwork with eleven nodes uses the topology depicted in Fig. 14G and uses the following routings: Basic Topologies for Networks with Thirteen Nodes There are two basic topologies for networks with thirteen nodes, the first of which is depicted in Fig. 16A. Figs. 16B-16G depict this network divided into subnetworks of seven nodes and six nodes, eight nodes and five nodes, nine nodes and four nodes, ten nodes and three nodes, eleven nodes (the subnetwork in Fig. 14G) and two nodes, and twelve nodes (the subnetwork in Fig. 15 A) and one node, respectively. The subnetwork with twelve nodes uses the following routings: The second topology is depicted in Fig. 16H. Figs. 16I-16N depict this network subdivided into subnetworks of seven nodes and six nodes, eight nodes and five nodes, nine nodes and four nodes, ten nodes and three nodes, eleven nodes (the subnetwork in Fig 14G) and two nodes, and twelve nodes (the subnetwork in Fig. 15H) and one node, respectively. This subnetwork with twelve nodes uses the following routings: Basic Topology for Networks with Fourteen Nodes Fig. 17A depicts the basic topology of networks with fourteen nodes. Figs. 17B- 17H depict this topology partitioned into subnetworks of seven nodes and seven nodes, eight nodes and six nodes, nine nodes and five nodes, ten nodes and four nodes, eleven nodes (the subnetwork in Fig. 14G) and three nodes, twelve nodes (the subnetwork in Fig. 15H) and two nodes, and thirteen nodes (the subnetwork in Fig. 16H) and one node, respectively. This subnetwork with thirteen nodes uses the following routings: Fig. 18A depicts the basic topology for fifteen nodes. Figs. 18B-18H depict networks subdivided into partitions of eight nodes and seven nodes, nine nodes and six nodes, ten nodes and five nodes, eleven nodes (the subnetwork in Fig 14G) and four nodes, twelve nodes (the subnetwork in Fig. 15H) and three nodes, thirteen nodes (the subnetwork in Fig. 16H) and two nodes, and fourteen nodes and one node, respectively. The subnetwork with fourteen nodes uses the following routings: Basic Topology for Networks with Sixteen Nodes Fig. 19A depicts the basic topology for networks with sixteen nodes. Figs. 19B- 191 depict this network subdivided into partitions of eight nodes and eight nodes, nine nodes and seven nodes, ten nodes and six nodes, eleven nodes (the subnetwork in Fig. 14G) and five nodes, twelve nodes (the subnetwork in Fig. 15H) and four nodes, thirteen nodes (the subnetwork in Fig. 16H) and three nodes, fourteen nodes and two nodes, and fifteen nodes and one node, respectively. This subnetwork with fifteen nodes uses the following routings: to partition the networks with fourteen, fifteen, or sixteen nodes, one skilled in the art will appreciate that in an alternative embodiment, this subnetwork could be used. In particular, it is used as a pattern to match the basic topology of 13 nodes from copending U.S. Patent Application No. , entitled "Improved Network Topologies" which has been previously incorporated by reference. In this case, the subnetwork would utilize the following routings: embodiment thereof, those skilled in the art will know of various changes in form and detail which may be made without departing from the spirit and scope of the present invention as defined in the appended claims and their full scope of equivalents.

Claims: WHAT IS CLAIMED IS: 1. A method in a data processing system with a number of nodes N, wherein N is greater than 4, the method comprising the steps of: receiving an indication of a first number of nodes and a second number of nodes, wherein the first number of nodes and the second number of nodes are capable of being any number from 1 to N -1 as long as the first number of nodes and the second number of nodes sum to N; and partitioning the nodes into a first subnetwork having the first number of nodes and a second subnetwork having the second number of nodes. 2. The method of claim 1 further including the step of: repartitioning the first subnetwork into two additional subnetworks. 3. The method of claim 1 further including the step of: recursively partitioning the nodes into additional subnetworks in an unconstrained manner. 4. The method of claim 1 further including the step of: routing traffic through the first subnetwork such that deadlock is avoided. 5. The method of claim 4, wherein the routing step includes: using a static routing table to route the traffic. 6. A method comprising the steps of: providing a network, wherein the network has nodes, and wherein a plurality of the nodes are partner nodes having a partnership relationship; and partitioning the network into a plurality of subnetworks such that the partnership relationship between the partner nodes remains intact. 7. The method of claim 6, wherein the partitioning step partitions the network in an unconstrained manner. 8. The method of claim 6, wherein the partitioning step partitions the network recursively. 9. The method of claim 6, wherein the partitioning step includes: providing each subnetwork with deadlock-free routings. 10. A method in a distributed system having a network with nodes, comprising the steps of: partitioning the network into a plurality of subnetworks; providing each of the subnetworks with a routing table that avoids deadlock in routing traffic in each subnetwork; and routing traffic through each of the subnetworks using the routing tables such that deadlock is avoided. 1 1. The method of claim 10, wherein the partitioning step partitions the network in an unconstrained manner. 12. The method of claim 10, wherein the partitioning step partitions the network recursively. 13. A method in a distributed system having a network with nodes that route network traffic using routing tables, the method comprising the steps of: receiving an indication of a first number of nodes representing a first partition and a second number of nodes representing a second partition, wherein the first number and the second number of nodes are unconstrained; suspending routing operation of the nodes; determining which of the nodes form the first partition and which of the nodes form the second partition based on the first number and the second number of nodes; modifying the routing tables of the nodes forming the first partition and of the nodes forming the second partition; and resuming routing operation of the nodes such that the nodes route network traffic using the modified routing tables and avoid deadlock. 14. An administrative node of a network containing a number of nodes N, wherein N is greater than 4, comprising: a memory comprising routing software having first code that receives an indication of a first number of nodes and an indication of a second number of nodes, the first number and the second number of nodes being unconstrained such that the first number and the second number are capable of being any number between 1 and N-1 as long as the first number and the second number sum to N, and having second code for partitioning the network into a first partition with the first number of nodes and a second partition with the second number of nodes; and a processor for running the routing software. 15. The administrative node of claim 14, wherein the memory further includes routing tables, and wherein the routing software includes third code that sends the routing tables to the nodes to facilitate routing network traffic. 16. The administrative node of claim 15, wherein the routing tables avoid deadlock when used for routing traffic. 17. The administrative node of claim 15, wherein at least two of the nodes are partner nodes and wherein the second code of the routing software partitions the network such that the partner nodes are in a same partition. 18. A computer-readable medium containing instructions for controlling a data processing system to perform a method, the data processing system having a number of nodes N, wherein N is greater than 4, the method comprising the steps of: receiving an indication of a first number of nodes and a second number of nodes, wherein the first number of nodes and the second number of nodes are capable of being any number from 1 to N - 1 as long as the first number of determining which of the nodes form the first partition and which of the nodes form the second partition based on the first number and the second number of nodes; nodes and the second number of nodes sum to N; and partitioning the nodes into a first subnetwork having the first number of nodes and a second subnetwork having the second number of nodes. 19. The computer-readable medium of claim 18 further including the step of: repartitioning the first subnetwork into two additional subnetworks. 20. The computer-readable medium of claim 18 further including the step of: recursively partitioning the nodes into additional subnetworks in an unconstrained manner. 21. The computer-readable medium of claim 18 further including the step of: routing traffic through the first subnetwork such that deadlock is avoided. 22. The computer-readable medium of claim 21 , wherein the routing step includes: using a static routing table to route the traffic. 23. A computer-readable medium containing instructions for controlling a distributed system to perform a method, the distributed system having a network with nodes, the method comprising the steps of: partitioning the network into a plurality of subnetworks; providing each of the subnetworks with a routing table that avoids deadlock; and routing traffic through each of the subnetworks using the provided routing tables such that deadlock is avoided. 24. The computer-readable medium of claim 23, wherein the partitioning step partitions the network in an unconstrained manner. 25. The computer-readable medium of claim 23, wherein the partitioning step partitions the network recursively. 26. A data processing system with a number of nodes N, wherein N is greater than 4, the data processing system comprising: means for receiving an indication of a first number of nodes and a second number of nodes, wherein the first number of nodes and the second number of nodes are capable of being any number from 1 to N - 1 as long as the first number of nodes and the second number of nodes sum to N; and means for partitioning the nodes into a first subnetwork having the first number of nodes and a second subnetwork having the second number of nodes.

Inventors: CASSIDAY DANIEL, HELLER STEVEN K, STEELE GUY L JR, WADE JON, CASSIDAY, DANIEL, HELLER, STEVEN, K., STEELE, GUY, L., JR., WADE, JON
Applicants: SUN MICROSYSTEMS INC, SUN MICROSYSTEMS, INC.
Application year: 2000
Main classification: H04L12
IPC codes: H04L12, H04Q3