# US 9,354,934 B2 · Partitioned shared processor interrupt-intensive task segregator

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 9,354,934 B2
- Document ID: US9354934B2
- Status: Granted
- Kind: B2
- Application number: 13/343,920
- Filed: 2012-01-05
- Published: 2013-07-11
- Granted: 2016-05-31
- Earliest claimed: 2012-01-05
- Assignees: International Business Machines Corporation
- Applicants: Mathew Accapadi; Grover Cleveland Davidson, II; Dirk Michel; Bret Ronald Olszewski
- Inventors: Mathew Accapadi; Grover Cleveland Davidson, II; Dirk Michel; Bret Ronald Olszewski
- Web page: https://patentgrep.com/patent/US9354934B2

## CPC

- G06F 9/5033: {considering data affinity}
- G06F 9/4812: {by interrupt, e.g. masked}
- G06F 9/5061: {Partitioning or combining of resources}
- G06F 9/5077: {Logical partitioning of resources; Management or configuration of virtualized resources (specific details on emulation or internal functioning of virtual machines G06F9/455)}
- G06F 11/2092: {Techniques of failing over between control units}
- G06F 2212/152: Virtualized environment, e.g. logically partitioned system
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Interrupt-intensive and interrupt-driven processes are managed among a plurality of virtual processors, wherein each virtual processor is associated with a physical processor, wherein each physical processor may be associated with a plurality of virtual processors, and wherein each virtual processor is tasked to execute one or more of the processes, by determining which of a plurality of the processes executing among a plurality of virtual processors are being or have been driven by at least a minimum count of interrupts over a period of operational time; selecting a subset of the plurality of virtual processors to form a sequestration pool; migrating the interrupt-intensive processes on to the sequestration pool of virtual processors; and commanding by a computer a bias in delivery or routing of the interrupts to the sequestration pool of virtual processors.

## Claims

### Claim 1

An automated method of managing interrupt-intensive and interrupt-driven processes among a plurality of virtual processors, wherein each virtual processor is associated with a physical core in a multi-core processor, wherein each physical core may be associated with a plurality of virtual processors, and wherein each virtual processor is tasked to execute one or more processes, the method comprising:
during runtime of a plurality of processes, identifying by a computer which of the plurality of the processes executing among a plurality of virtual processors have been and have not been driven by at least a minimum count of interrupts over a period of elapsed time of the operation of the computer;
selecting by the computer a subset of the plurality of virtual processors to form a sequestration pool containing one or more virtual processors, wherein the selecting is based on one or more criteria selected from the group consisting of a physical processor core's proximity to an interrupt controller, a physical processor core's closeness to an interrupt controller, a physical processor core's closeness to an interrupt handler, a physical processor core's closeness to an interrupt adapter, a physical processor core's proximity to an interrupt adapter, and a virtual processor running an operating system which is more adapt at responding to interrupts;
migrating by the computer the processes which were identified as having been driven by at least the minimum count of interrupts onto the sequestration pool of virtual processors;
commanding by the computer a bias in delivery or routing of the interrupts to the sequestration pool of virtual processor;
relieving at least one virtual processor outside of the sequestration pool to execute the processes which were identified as having been driven by less than the minimum count of interrupts over the period of elapsed time of the operation of the computer; and
automatically repeating the identifying, selecting, migrating and commanding, thereby migrating processes which have not been driven by at least a minimum count of interrupts over a period of elapsed time and have ceased to be interrupt-intensive out of the sequestration pool, thereby freeing processing resources in the sequestration pool.

### Claim 2 (depends on 1)

The automated method as set forth in claim 1 wherein the relieving further comprises relieving processing resources within the sequestration pool to accommodate execution of processes remaining in the sequestration pool.

### Claim 3 (depends on 1)

The automated method as set forth in claim 1 wherein the commanding comprises configuring an interrupt handler.

### Claim 4 (depends on 1)

The automated method as set forth in claim 1 wherein the determining further comprises:
establishing a counter starting value for each process which handles an interrupt; incrementing the counter for each handling of an interrupt by each process;
subsequent to the period of elapsed time, comparing each counter to a threshold; and responsive to a count meeting or exceeding the threshold, identifying the corresponding process to be interrupt intensive for migration to the sequestration pool.

### Claim 5 (depends on 1)

The automated method as set forth in claim 1 further comprising periodically repeating the identifying, selecting, migrating on and commanding, thereby migrating additional processes which have become interrupt-intensive into the sequestration pool.

### Claim 6 (depends on 2)

The automated method as set forth in claim 2 wherein the automatic repeating further comprises periodically repeating the identifying, selecting, migrating and commanding.

### Claim 7

A computer program product for managing interrupt-intensive and interrupt-driven processes among a plurality of virtual processors, wherein each virtual processor is associated with a physical core in a multi-core processor, wherein each physical core may be associated with a plurality of virtual processors, and wherein each virtual processor is tasked to execute one or more processes, the computer program product comprising:
at least one tangible, computer readable storage non-transitory memory device which is not a propagating signal per se; and
computer program instructions encoded by the at least one tangible, computer readable storage memory device and configured to cause a processor to, when executed:
during runtime of a plurality of processes, identify which of the plurality of the processes executing among a plurality of virtual processors have been driven and have not been by at least a minimum count of interrupts over a period of elapsed time of the operation of the computer;
select a subset of the plurality of virtual processors to form a sequestration pool containing one or more virtual processors, wherein the selecting is based on one or more criteria selected from the group consisting of a physical processor core's proximity to an interrupt controller, a physical processor core's closeness to an interrupt controller, a physical processor core's closeness to an interrupt handler, a physical processor core's closeness to an interrupt adapter, a physical processor core's proximity to an interrupt adapter, and a virtual processor running an operating system which is more adapt at responding to interrupts;
migrate the processes which were identified as having been driven by at least the minimum count of interrupts onto the sequestration pool of virtual processors;
command a bias in delivery or routing of the interrupts to the sequestration pool of virtual processors;
relieve at least one virtual processor outside of the sequestration pool to execute the processes which were identified as having been driven by less than the minimum count of interrupts over the period of elapsed time of the operation of the computer; and
automatically repeat the identifying, selecting, migrating and commanding, thereby migrating processes which have not been driven by at least a minimum count of interrupts over a period of elapsed time and have ceased to be interrupt-intensive out of the sequestration pool, thereby freeing processing resources in the sequestration pool.

### Claim 8 (depends on 7)

The computer program product as set forth in claim 7 wherein relieving further comprises relieving processing resources within the sequestration pool to accommodate execution of processes remaining in the sequestration pool.

### Claim 9 (depends on 7)

The computer program product as set forth in claim 7 wherein the commanding comprises configuring an interrupt handler.

### Claim 10 (depends on 7)

The computer program product as set forth in claim 7 wherein the determining further comprises:
establishing a counter starting value for each process which handles an interrupt; incrementing the counter for each handling of an interrupt by each process;
subsequent to the period of elapsed time, comparing each counter to a threshold; and responsive to a count meeting or exceeding the threshold, identifying the corresponding process to be interrupt intensive for migration to the sequestration pool.

### Claim 11 (depends on 7)

The computer program product as set forth in claim 7 wherein the computer program instructions comprise program instructions to cause periodic repeating of the identifying, selecting, migrating on and commanding, thereby migrating additional processes which have become interrupt-intensive into the sequestration pool.

### Claim 12 (depends on 8)

The computer program product as set forth in claim 8 wherein the computer program instructions to automatically repeat the identifying, selecting, migrating and commanding are periodically repeated.

### Claim 13

A system for managing interrupt-intensive and interrupt-driven processes among a plurality of virtual processors, wherein each virtual processor is associated with a physical core in a multi-core processor, wherein each physical core may be associated with a plurality of virtual processors, and wherein each virtual processor is tasked to execute one or more processes, the system comprising:
one or more physical processors for executing program instructions;
one or more tangible, computer readable storage memory devices which are not propagating signals per se; and
program instructions encoded by the one or more memory devices and configured to cause the one or more physical processors to, when executed:
during runtime of a plurality of processes, identify by a computer which of the plurality of the processes executing among a plurality of virtual processors have been driven and have not been by at least a minimum count of interrupts over a period of elapsed time of the operation of the computer;
select a subset of the plurality of virtual processors to form a sequestration pool containing one or more virtual processors, wherein the selecting is based on one or more criteria selected from the group consisting of a physical processor core's proximity to an interrupt controller, a physical processor core's closeness to an interrupt controller, a physical processor core's closeness to an interrupt handler, a physical processor core's closeness to an interrupt adapter, a physical processor core's proximity to an interrupt adapter, and a virtual processor running an operating system which is more adapt at responding to interrupts;
migrate the processes which were identified as having been driven by at least the minimum count of interrupts onto the sequestration pool of virtual processors;
command a bias in delivery or routing of the interrupts to the sequestration pool of virtual processors;
relieve at least one virtual processor outside of the sequestration pool to execute the processes which were identified as having been driven by less than the minimum count of interrupts over the period of elapsed time of the operation of the computer; and
automatically repeating the identifying, selecting, migrating and commanding, thereby migrating processes which have not been driven by at least a minimum count of interrupts over a period of elapsed time and have ceased to be interrupt-intensive out of the sequestration pool, thereby freeing processing resources in the sequestration pool.

### Claim 14 (depends on 13)

The system as set forth in claim 13 wherein the program instructions for migrating comprise program instructions for the relieving further comprise program instructions for relieving processing resources within the sequestration pool to accommodate execution of processes remaining in the sequestration pool.

### Claim 15 (depends on 13)

The system as set forth in claim 13 wherein the program instructions for commanding comprises program instructions for configuring an interrupt handler.

### Claim 16 (depends on 13)

The system as set forth in claim 13 wherein the program instructions for determining further comprise program instructions for:
establishing a counter starting value for each process which handles an interrupt; incrementing the counter for each handling of an interrupt by each process;
subsequent to the period of elapsed time, comparing each counter to a threshold; and responsive to a count meeting or exceeding the threshold, identifying the corresponding process to be interrupt intensive for migration to the sequestration pool.

### Claim 17 (depends on 13)

The system as set forth in claim 13 wherein the program instructions further comprise program instructions for periodically causing repeating the identifying, selecting, migrating on and commanding, thereby migrating additional processes which have become interrupt-intensive into the sequestration pool.

### Claim 18 (depends on 14)

The system method as set forth in claim 14 wherein the program instructions to automatically repeat the identifying, selecting, migrating and commanding are periodically repeated.
