IP Library Granted Patent US 8,341,630
Granted Patent B2
US 8,341,630 · App. 12/142,379 · Granted Dec 25, 2012

Load balancing in a data processing system having physical and virtual CPUs

Assignee: Virtuallogix SA
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 8,341,630
App. No.
12/142,379
Granted
Dec 25, 2012
Kind
B2
Abstract

In a preferred embodiment, the present invention provides a method of load balancing in a data processing system comprising a plurality of physical CPUs and a plurality of virtual CPUs, the method comprising: mapping one or more virtual CPUs to each of said physical CPUs; and dynamically adapting the mapping depending on the load of said physical CPUs and the negative load indicative of the load of all other virtual CPUs that are allocated to each physical CPU.

Claims (24)

1. A method of load balancing in a data processing system comprising a plurality of physical CPUs and a plurality of virtual CPUs, the method comprising:

mapping one or more virtual CPUs to each of said physical CPUs;

determining, for a given virtual CPU, a negative load value indicative of the sum of the loads of all other virtual CPUs that are allocated to the same physical CPU as the given virtual CPU; and

adapting the mapping of the given virtual CPU depending on the load of said physical CPUs and said negative load value.

2. The method of claim 1 , comprising:

swapping the mapping only if the difference of loads of said first and second virtual CPUs is above a predetermined threshold.

3. The method of claim 1 , wherein the mapping of a first virtual CPU to a first physical CPU and the mapping of a second virtual CPU to a second physical CPU are swapped if the load of the first physical CPU is larger than the load of the second physical CPU, the load of the first virtual CPU is larger than the load of the second virtual CPU, and the negative load value of the first virtual CPU is above a predetermined threshold.

4. The method of claim 3 , comprising:

running a multiprocessor operation involving said first and second physical CPUs; and

assigning said first and second virtual CPUs to said multiprocessor operation, for executing said multiprocessor operation.

5. The method of claim 3 , comprising:

swapping the mapping of the first and second virtual CPUs to the first and second physical CPUs, respectively, in response to a change of load of at least one of the first and second physical CPUs.

6. The method of claim 3 , comprising:

determining the load of said first and second virtual CPUs;

determining whether the load of said first and second physical CPUs is above a first threshold and below a second threshold, respectively; and

swapping the mapping of the first virtual CPU to the first physical CPU and the mapping of the second virtual CPU to the second physical CPU if

the load of the first physical CPU is above said first threshold, and

the load of the second physical CPU is below said second threshold.

7. The method of claim 3 , comprising:

running an operation of a high scheduling priority on one of said first and second physical CPUs, wherein said multiprocessor operation has a relatively lower scheduling priority.

8. The method of claim 7 , wherein the operation of a higher scheduling priority is executed by a dedicated real-time software.

9. The method of claim 7 , wherein said multiprocessor operation is executed by a generic server software.

10. A computer system, arranged to perform the method of claim 1 .

11. A computer program product stored in a non-transistory computer readable medium, which when executed by a data processing device, executes the method of claim 1 .

Assignments (3)
RELEASE OF SECURITY INTEREST Recorded Mar 4, 2015
From: MUSTANG MEZZANINE LP
To: RED BEND LTD.
Reel/Frame 035083/0471 →
SECURITY AGREEMENT Recorded Aug 22, 2012
From: RED BEND LTD.
To: MUSTANG MEZZANINE FUND LP
Reel/Frame 028831/0963 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 25, 2008
From: GROUZDEV, VLADIMIR
To: VIRTUALLOGIX SA
Reel/Frame 021465/0314 →
Priority Claims (1)
EP 07290793 · Jun 19, 2007 · regional
Continuity (1)
Related Publication 20080320489A1 · Dec 25, 2008