Patent ID: 8799616

Claim:
A method comprising: determining a first preferred CPU for a virtual partition on a computer upon a receipt of a first request to assign a CPU to the virtual partition, wherein the first preferred CPU is automatically determined based on operational parameters of the computer; assigning the first preferred CPU to the virtual partition when the first preferred CPU is available for assignment; in response to a second request to assign a CPU to the virtual partition, assigning a non-preferred CPU of plural available non-preferred CPUs to the virtual partition; while the first preferred CPU and the non-preferred CPU are assigned to the virtual partition, storing information in a virtual partition database to indicate that said first preferred CPU is a preferred CPU for the virtual partition and that said non-preferred CPU is a non-preferred CPU for the virtual partition; and upon reboot of the virtual partition and based on the information in the virtual partition database, preferentially retaining the first preferred CPU in the virtual partition and randomly assigning a specified number of the available non-preferred CPUs to the virtual partition.