# US 2024/0192851 A1 · Shared memory autonomic segment size promotion in a paged-segmented operating system

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

- Number: US 2024/0192851 A1
- Document ID: US20240192851A1
- Status: Published application
- Kind: A1
- Application number: 18/063,278
- Filed: 2022-12-08
- Published: 2024-06-13
- Earliest claimed: 2022-12-08
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Jaime JALOMA; Mark ROGERS; Arnold FLORES; Mysore S. SRINIVAS
- Web page: https://patentgrep.com/patent/US20240192851A1

## CPC

- G06F 3/061: {Improving I/O performance}
- G06F 3/0644: {Management of space entities, e.g. partitions, extents, pools}
- G06F 3/0673: {Single storage device}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A system and methods are provided for implementing a selected segment size of a shared memory object in a paged-segmented operating system. A user selected shared memory object autonomic promotion feature enables a selected segment size of a shared memory object for a user application. A paged-segmented operating system receiving a request for a shared memory object of a user application, accesses the user selected shared memory object autonomic promotion feature to identify a user selection. An identified user selection is evaluated with secondary criteria for the request shared memory object for the user application and a segment size is set. The operating system creates a shared memory object with the set segment size for the user application. Enabling shared memory objects to be supported by a large segment size reduces the number of segments used for a single shared memory object and application performance can be significantly improved.

## Claims

### Claim 1

A method comprising:
providing a user selected shared memory object autonomic promotion feature to receive a user input enabling a selected segment size;
receiving a request for a shared memory object of a user application;
accessing the user selected shared memory object autonomic promotion feature to identify a user selection;
setting a segment size for the request for the shared memory object based on the user selected shared memory object autonomic promotion feature, and
creating the shared memory object having one or more segments with the set segment size.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
receiving a second request for a second shared memory object of a second user application; and
creating the shared memory object having one or more segments with a default segment size when a user selection is not found from accessing the user selected shared memory object autonomic promotion feature.

### Claim 3 (depends on 1)

The method of claim 1, wherein providing a user selected shared memory object autonomic promotion feature further comprises enabling the user selected segment size of a shared memory object for a specific user process type for the user.

### Claim 4 (depends on 1)

The method of claim 1, wherein providing a user selected shared memory object autonomic promotion feature further comprises enabling the user selected segment size of a shared memory object for an execution environment of the user.

### Claim 5 (depends on 1)

The method of claim 1, wherein providing a user selected shared memory object autonomic promotion feature further comprises enabling the user selected segment size of a shared memory object for multiple user process types for the user.

### Claim 6 (depends on 1)

The method of claim 1, wherein accessing the user selected shared memory object autonomic promotion feature comprises checking for one or more predefined control mechanisms being active.

### Claim 7 (depends on 6)

The method of claim 6, wherein checking for one or more predefined control mechanisms being active comprises checking for an active tunable knob.

### Claim 8 (depends on 6)

The method of claim 6, wherein checking for one or more predefined control mechanisms being active comprises checking for an active environment variable.

### Claim 9 (depends on 1)

The method of claim 1, wherein setting a segment size for the request for the shared memory object based on the user selected shared memory object autonomic promotion feature further comprises checking secondary promotion criteria for the shared memory object, wherein the secondary promotion criteria comprises one or more of a page size used by the shared memory object, a size of the shared memory object and a process type of the user application.

### Claim 10 (depends on 1)

The method of claim 1, wherein setting a segment size for the request for the shared memory object based on the user selected shared memory object autonomic promotion feature further comprises setting a promoted segment size to create the shared memory object when the shared memory object meets predefined secondary promotion criteria.

### Claim 11

A system, comprising:
a processor; and
a memory, wherein the memory includes a computer program product configured to perform operations for implementing a selected segment size of a shared memory object in a page segmented operating system, the operations comprising:
providing a user selected shared memory object autonomic promotion feature to receive a user input enabling a selected segment size;
receiving a request for a shared memory object of a user application;
accessing the user selected shared memory object autonomic promotion feature to identify a user selection;
setting a segment size for the request for the shared memory object based on the user selected shared memory object autonomic promotion feature, and
creating the shared memory object having one or more segments with the set segment size.

### Claim 12 (depends on 11)

The system of claim 11, further comprising:
receiving a second request for a second shared memory object of a second user application; and
creating the shared memory object having one or more segments with a default segment size when a user selection is not found from accessing the user selected shared memory object autonomic promotion feature.

### Claim 13 (depends on 11)

The system of claim 11, wherein providing a user selected shared memory object feature comprises enabling the user selected segment size of a shared memory object for multiple user processes for the user.

### Claim 14 (depends on 11)

The system of claim 11, wherein accessing the user selected shared memory object feature comprises checking for one or more predefined control mechanisms being active, wherein the predefined control mechanisms comprise one or more of an environment variable, a predefined parameter, and a tunable knob.

### Claim 15 (depends on 11)

The system of claim 11, wherein setting a segment size for the request for the shared memory object based on the user selected shared memory object feature further comprises checking secondary promotion criteria for the shared memory object, wherein the secondary promotion criteria comprises one or more of a page size used by the shared memory object, a size of the shared memory object and a process type of the user application.

### Claim 16

A computer program product for implementing a selected segment size of a shared memory object in a paged-segmented operating system, the computer program product comprising:
a computer-readable storage medium having computer-readable program code embodied therewith, the computer-readable program code executable by one or more computer processors to perform an operation comprising:
providing a user selected shared memory object autonomic promotion feature to receive a user input enabling a selected segment size;
receiving a request for a shared memory object of a user application;
accessing the user selected shared memory object autonomic promotion feature to identify a user selection;
setting a segment size for the request for the shared memory object based on the user selected shared memory object autonomic promotion feature, and
creating the shared memory object having one or more segments with the set segment size.

### Claim 17 (depends on 11)

The computer program product of claim 11, wherein the computer-readable program code is further executable to:
receiving a second request for a second shared memory object of a second user application; and
creating the shared memory object having one or more segments with a default segment size when a user selection is not found from accessing the user selected shared memory object autonomic promotion feature.

### Claim 18 (depends on 16)

The computer program product of claim 16, wherein providing a user selected shared memory object feature comprises enabling the user selected segment size of a shared memory object for multiple user processes for the user.

### Claim 19 (depends on 16)

The computer program product of claim 16, wherein accessing the user selected shared memory object autonomic promotion feature comprises checking for one or more predefined control mechanisms being active, wherein the predefined control mechanisms comprise one or more of an environment variable, a predefined parameter, and a tunable knob.

### Claim 20 (depends on 16)

The computer program product of claim 16, wherein providing a user selected shared memory object autonomic promotion feature comprises enabling a user input of an autonomic segment size promotion control for the user application, without modifying the user application.
