Patent ID: 8320235

Claim:
A self-repair system for providing resource failure tolerance in a system comprising ports and system resources, each of the ports connectable to a respective resource consumer that consumes one or more of the system resources, the self-repair system comprising: redundant resources at least partially duplicative of the system resources; an interconnection network connected to said system resources, said redundant resources and said ports, said interconnection network providing interconnection information identifying connections between said system resources and said ports; and a controller operable to perform operations comprising: identifying, in response to said interconnection information, an affected one of said ports connected by said interconnection network to a defective one of said system resources, identifying, from among said system resources and said redundant resources, compatible resources capable of replacing said defective one of said system resources, determining respective networks costs for configuration of the interconnection network that result in replacement of the defective one of said system resources with one of said compatible resources, said configurations of the interconnection network including at least one configuration that results in replacement of at least one non-defective resource, in response to said determined network costs, selecting one of said compatible resources as a replacement resource, and configuring said interconnection network to implement one of said configurations, the configuration including connecting said replacement resource to said affected one of said ports instead of said defective one of said system resources.