# US 2015/0178219 A1 · Application Startup Page Fault Management in a Hardware Multithreading Environment

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

- Number: US 2015/0178219 A1
- Document ID: US20150178219A1
- Status: Published application
- Kind: A1
- Application number: 14/134,472
- Filed: 2013-12-19
- Published: 2015-06-25
- Earliest claimed: 2013-12-19
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Vishal C. Aslot; Adekunle Bello; Gunisha Madan
- Web page: https://patentgrep.com/patent/US20150178219A1

## CPC

- G06F 9/4843: {by program, e.g. task dispatcher, supervisor, operating system}
- G06F 9/4881: {Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues}
- G06F 9/5038: {considering the execution order of a plurality of tasks, e.g. taking priority or time dependency constraints into consideration (scheduling strategies G06F9/4881 and subgroups)}
- G06F 11/30: Monitoring
- G06F 12/0891: using clearing, invalidating or resetting means
- G06F 12/08: in hierarchically structured memory systems, e.g. virtual memory systems
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method, system and computer-usable medium are disclosed for startup page fault management improves application startup performance by assigning startup tasks to a hardware thread 0 across plural processing cores in a simultaneous multithreading environment to provide more rapid processing of processor bound page faults. I/O bound page faults are flagged to associated with predetermined cache locations to improve data and text first reference page-in I/O response.

## Claims

### Claim 1

A computer-implemented method for application startup page fault management, comprising:
detecting of an application startup for an application designated to receive the application startup page fault management;
determining plural tasks associated with the application;
scheduling the plural tasks to a hardware thread 0 of each of plural processor cores;
executing application startup to a predetermined steady state; and
responsive to the predetermined steady state, scheduling tasks associated with the application to hardware threads in addition to thread 0.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
caching plural first reference page-in I/Os of the application in a predetermined cache in association with a flag;
detecting a first reference page-in I/O flag during the executing application startup; and
in response to detecting, retrieving the first reference page-in I/O from the predetermined cache.

### Claim 3 (depends on 2)

The method of claim 2, wherein caching plural first reference page-in I/Os of the application further comprises:
monitoring startup of the application to detect page faults; and
in response to detecting a page fault, caching the page-in I/O of the fault in association with the first reference page-in I/O flag.

### Claim 4 (depends on 3)

The method of claim 3, wherein the predetermined steady state comprises retrieval of predetermined cached first reference page-in I/Os.

### Claim 5 (depends on 1)

The method of claim 1, wherein detecting of an application startup for an application designated to receive the application startup page fault management further comprises detecting one of a fork, exec, or thread_create system calls.

### Claim 6 (depends on 1)

The method of claim 1, wherein the predetermined steady state comprises at least a predetermined number of dispatches of each of the plural tasks on their respective thread 0.

### Claim 7

A system comprising:
a processor;
a data bus coupled to the processor; and
a computer-usable medium embodying computer program code, the computer-usable medium being coupled to the data bus, the computer program code used for application startup page fault management and comprising instructions executable by the processor and configured for:
detecting of an application startup for an application designated to receive the application startup page fault management;
determining plural tasks associated with the application;
scheduling the plural tasks to a hardware thread 0 of each of plural processor cores;
executing application startup to a predetermined steady state; and
responsive to the predetermined steady state, scheduling tasks associated with the application to hardware threads in addition to thread 0.

### Claim 8 (depends on 7)

The system of claim 7, wherein the instructions executable by the processor are further configured for:
caching plural first reference page-in I/Os of the application in a predetermined cache in association with a flag;
detecting a first reference page-in I/O flag during the executing application startup; and
in response to detecting, retrieving the first reference page-in I/O from the predetermined cache.

### Claim 9 (depends on 8)

The system of claim 8, wherein caching plural first reference page-in I/Os of the application further comprises:
monitoring startup of the application to detect page faults; and
in response to detecting a page fault, caching the page-in I/O of the fault in association with the first reference page-in I/O flag.

### Claim 10 (depends on 9)

The system of claim 9, wherein the predetermined steady state comprises retrieval of predetermined cached first reference page-in I/Os.

### Claim 11 (depends on 7)

The system of claim 7, wherein detecting of an application startup for an application designated to receive the application startup page fault management further comprises detecting one of a fork, exec, or thread_create system calls.

### Claim 12 (depends on 7)

The system of claim 7, wherein the predetermined steady state comprises at least a predetermined number of dispatches of each of the plural tasks on their respective thread 0.

### Claim 13

A non-transitory, computer-readable storage medium embodying computer program code, the computer program code comprising computer executable instructions configured for:
detecting of an application startup for an application designated to receive the application startup page fault management;
determining plural tasks associated with the application;
scheduling the plural tasks to a hardware thread 0 of each of plural processor cores;
executing application startup to a predetermined steady state; and
responsive to the predetermined steady state, scheduling tasks associated with the application to hardware threads in addition to thread 0.

### Claim 14 (depends on 13)

The non-transitory, computer-readable storage medium of claim 13, wherein the instructions executable by the processor are further configured for:
caching plural first reference page-in I/Os of the application in a predetermined cache in association with a flag;
detecting a first reference page-in I/O flag during the executing application startup; and
in response to detecting, retrieving the first reference page-in I/O from the predetermined cache.

### Claim 15 (depends on 14)

The non-transitory, computer-readable storage medium of claim 14, wherein caching plural first reference page-in I/Os of the application further comprises:
monitoring startup of the application to detect page faults; and
in response to detecting a page fault, caching the page-in I/O of the fault in association with the first reference page-in I/O flag.

### Claim 16 (depends on 15)

The non-transitory, computer-readable storage medium of claim 15, wherein the predetermined steady state comprises retrieval of predetermined cached first reference page-in I/Os.

### Claim 17 (depends on 13)

The non-transitory, computer-readable storage medium of claim 13, wherein detecting of an application startup for an application designated to receive the application startup page fault management further comprises detecting one of a fork, exec, or thread_create system calls.

### Claim 18 (depends on 13)

The non-transitory, computer-readable storage medium of claim 13, wherein the predetermined steady state comprises at least a predetermined number of dispatches of each of the plural tasks on their respective thread 0.

### Claim 19 (depends on 13)

The non-transitory, computer-readable storage medium of claim 13, wherein the computer executable instructions are deployable to a client system from a server system at a remote location.

### Claim 20 (depends on 13)

The non-transitory, computer-readable storage medium of claim 13, wherein the computer executable instructions are provided by a service provider to a user on an on-demand basis.
