# US 2017/0251082 A1 · Dynamic cache-efficient event suppression for network function virtualization

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

- Number: US 2017/0251082 A1
- Document ID: US20170251082A1
- Status: Published application
- Kind: A1
- Application number: 15/056,518
- Filed: 2016-02-29
- Published: 2017-08-31
- Earliest claimed: 2016-02-29
- Assignees: Red Hat Israel, Ltd.
- Applicants: Red Hat Israel, Ltd.
- Inventors: Michael Tsirkin
- Web page: https://patentgrep.com/patent/US20170251082A1

## CPC

- H04L 67/568: Storing data temporarily at an intermediate stage, e.g. caching
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A system and method for dynamic cache-efficient event suppression includes recording, by a system processor, a quantity of messages received from a client during an interval of time between at least two events of a plurality of events. The system processor is in communication with a shared memory having a register with a first field, a second field, and a third field. The system processor and the shared memory are included in a client-server system. The method further includes predicting whether an expected number of messages to be received from the client before a next event exceeds a first predetermined threshold value and selecting, based on the prediction, a value that is used to selectively operate the second field and the third field. The method also includes selectively operating the second field and the third field based on the selected value and storing the value to the first field.

## Claims

### Claim 1

A client-server system comprising:
a shared memory having a register, the register including a first field, a second field, and a third field; and
a system processor, in communication with the shared memory,
wherein the system processor is configured to:
receive a plurality of messages and a plurality of events from a client,
record a quantity of messages received from the client during an interval of time between at least two events of the plurality of events, wherein the shared memory is in communication with the client,
predict whether an expected number of messages to be received before a next event exceeds a first predetermined threshold value,
select based on the prediction a value that is used to selectively operate the second field and the third field,
selectively operate the second field and the third field based on the selected value, and
store the value to the first field.

### Claim 2 (depends on 1)

The client-server system of claim 1, wherein the client is configured to read the register to determine whether to send one of the plurality of events to the system processor.

### Claim 3 (depends on 1)

The client-server system of claim 1, further comprising a counter having a set value, the counter being located in the shared memory, wherein the system processor is configured to decrement the set value when the expected number of messages for the next event does not exceed the first predetermined threshold value.

### Claim 4 (depends on 3)

The client-server system of claim 3, wherein the system processor is configured to select the third field when the set value exceeds a second predetermined threshold value.

### Claim 5 (depends on 3)

The client-server system of claim 3, wherein the system processor is configured to select the second field when the set value does not exceed the second predetermined threshold value.

### Claim 6 (depends on 5)

The client-server system of claim 5, wherein the second predetermined threshold value is 0.

### Claim 7 (depends on 1)

The client-server system of claim 1, wherein the first predetermined threshold value is 1.

### Claim 8 (depends on 1)

The client-server system of claim 1, wherein the second field is configured to be written by the system processor to disable one of the plurality of events when the system processor starts polling the shared memory, and configured to be written by the system processor to enable one of the plurality of events when the system processor stops polling the shared memory.

### Claim 9 (depends on 1)

The client-server system of claim 1, wherein the third field is configured to automatically disable one of the plurality events when the system processor starts polling the shared memory, and configured to be written by the system processor to enable one of the plurality events when the system processor stops polling the shared memory.

### Claim 10 (depends on 1)

The client-server system of claim 1, wherein the first field is a mode register.

### Claim 11 (depends on 1)

The client-server system of claim 1, wherein the second field is an enable/disable register.

### Claim 12 (depends on 1)

The client-server system of claim 1, wherein the third field is an enable/auto-disable register.

### Claim 13 (depends on 1)

The client-server system of claim 1, wherein the first field comprises a value in the second field.

### Claim 14

A method, comprising,
recording, by a system processor, a quantity of messages received from a client during an interval of time between at least two events of a plurality of events, wherein the system processor is in communication with a shared memory having a register with a first field, a second field, and a third field, wherein the system processor and the shared memory are included in a client-server system, wherein the shared memory is in communication with the client;
predicting, by the system processor, whether an expected number of messages to be received from the client before a next event exceeds a first predetermined threshold value;
selecting, by the system processor, based on the prediction, a value that is used to selectively operate the second field and the third field;
selectively operating, by the system processor, the second field and the third field based on the selected value; and
storing the value to the first field.

### Claim 15 (depends on 14)

The method of claim 14, further comprising,
reading, by the client, the register to determine whether to send one of the plurality of events.

### Claim 16 (depends on 14)

The method of claim 14, further comprising,
setting, by the system processor, a counter for a set value, wherein the counter is located in the shared memory; and
decrementing, by the system processor, the set value when the expected number of messages for the next event does not exceed the first predetermined threshold value.

### Claim 17 (depends on 16)

The method of claim 16, wherein the system processor is configured to select the third field when the set value exceeds a second predetermined threshold value.

### Claim 18 (depends on 16)

The method of claim 16, wherein the system processor is configured to select the second field when the set value does not exceed the second predetermined threshold value.

### Claim 19 (depends on 18)

The method of claim 18, wherein the first predetermined threshold value is 1 and the second predetermined threshold value is 0.

### Claim 20

A computer readable medium including instructions that, when executed by a system processor that is in communication with a shared memory, causes the system processor to:
record a quantity of messages received from a client during an interval of time between at least two events of a plurality of events, wherein the shared memory includes a register with a first field, a second field, and a third field, wherein the system processor and the shared memory are included in a client-server system, wherein the shared memory is in communication with the client;
predict whether an expected number of messages to be received from the client before a next event exceeds a first predetermined threshold value;
select based on the prediction, a value that is used to selectively operate the second field and the third field;
selectively operate the second field and the third field based on the selected value; and
store the value to the first field.
