Writeback overhead reduction for workloads

US11914512B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-11914512-B2
Application numberUS-202117449217-A
CountryUS
Kind codeB2
Filing dateSep 28, 2021
Priority dateSep 28, 2021
Publication dateFeb 27, 2024
Grant dateFeb 27, 2024

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

An example system includes a memory, a processor in communication with the memory, and a supervisor. The supervisor is configured to allocate a memory space in the memory to a workload executing on the processor. The supervisor is configured to store data written by the workload as dirty memory in the memory space at least until the data is written back to a data storage. Based on a type of the workload being a first type, the supervisor is configured to trigger write back of at least a portion of the dirty memory into the data storage in response to the dirty memory exceeding a threshold level. Based on the type of the workload being a second type, the supervisor is configured to delay write back of the dirty memory into the data storage in response to the dirty memory exceeding the threshold level.

First claim

Opening claim text (preview).

What is claimed is: 1. A system comprising: a memory; a processor in communication with the memory; and a supervisor, wherein the supervisor is configured to: allocate a memory space in the memory to a workload executing on the processor; store, as dirty memory in the memory space allocated to the workload, data written by the workload at least until the data is written back into a data storage; based on a type of the workload being a first type, trigger write back of at least a portion of the dirty memory into the data storage in response to the dirty memory exceeding a first threshold level; and based on the type of the workload being a second type, delay write back of the dirty memory into the data storage in response to the dirty memory exceeding the first threshold level, and continue execution of at least one thread of the workload on the processor in response to the dirty memory exceeding a second threshold level greater than the first threshold level, wherein the workload of the first type is more sensitive to data loss and data consistency risks than the workload of the second type. 2. The system of claim 1 , wherein the first and second threshold levels are threshold ratios of amounts of the dirty memory of the workload relative to a total amount of the memory space allocated to the workload. 3. The system of claim 1 , further comprising: a node, wherein the processor and the memory are disposed in the node, wherein the workload includes a container deployed at the node, and wherein the type of the workload is based on a configuration parameter assigned to the container prior to deployment of the container at the node. 4. The system of claim 1 , wherein the supervisor is configured to: retrieve metadata associated with the workload, wherein the metadata includes a configuration parameter selected for the workload prior to dispatch of the workload for execution on the processor; and determine the type of the workload based on the configuration parameter in the metadata. 5. The system of claim 1 , wherein the memory is a random access memory (RAM). 6. The system of claim 5 , wherein the data storage is a disk, and wherein triggering the write back causes the supervisor to move at least a portion of the data from the RAM to the disk. 7. The system of claim 1 , wherein the supervisor is a hypervisor. 8. The system of claim 1 , wherein the supervisor is configured to: based on the type of the workload being the first type, delay execution of the at least one thread of the workload on the processor until the at least portion of the dirty memory is written back into the data storage in response to the dirty memory exceeding the second threshold level. 9. The system of claim 1 , wherein the supervisor is configured to: assign, to the workload, a third threshold level greater than the first threshold level based on the type of the workload being the second type; and in response to the dirty memory of the workload exceeding the third threshold level and the type of the workload being the second type, trigger the write back of the at least portion of the dirty memory of the workload into the data storage. 10. A method comprising: allocating memory space in a memory to a workload executing on a processor, wherein the processor is in communication with the memory; storing, as dirty memory in the memory space allocated to the workload, data processed by the workload at least until the data is written back to a data storage; based on a type of the workload being a first type, writing out at least a portion of the dirty memory to the data storage in response to the dirty memory exceeding a first threshold level; and based on the type of the workload being a second type, delaying write out of the dirty memory to the data storage in response to the dirty memory exceeding the first threshold level, and continue execution of at least one thread of the workload on the processor in response to the dirty memory exceeding a second threshold level greater than the first threshold level, wherein the workload of the first type is more sensitive to data loss and data consistency risks than the workload of the second type. 11. The method of claim 10 , wherein the first and second threshold levels are threshold ratios of amounts of the dirty memory of the workload relative to a total amount of the memory space allocated to the workload. 12. The method of claim 10 , further comprising: retrieving metadata associated with the workload, wherein the metadata includes a configuration parameter assigned to the workload; and determining the type of the workload based on the configuration parameter in the metadata. 13. The method of claim 10 , wherein the memory is a random access memory (RAM). 14. The method of claim 13 , wherein the data storage is a disk, and wherein writing out the at least portion of the dirty memory includes transferring at least a portion of the data from the RAM to the disk. 15. The method of claim 10 , further comprising: based on the type of the workload being the first type, delaying execution of the at least one thread of the workload in response to the dirty memory exceeding the second threshold level. 16. The method of claim 15 , wherein delaying the execution of the at least one thread of the workload includes delaying the execution until completion of the writing back of the at least portion of the dirty memory to the data storage. 17. The method of claim 10 , the method further comprising: assigning, to the workload, a third threshold level greater than the first threshold level based on the type of the workload being the second type; and in response to the dirty memory of the workload exceeding the third threshold level and the type of the workload being the second type, writing back the at least portion of the dirty memory of the workload to the data storage. 18. A non-transitory machine-readable medium storing instructions that, when executed by at least one processor of a computer system, cause the computer system to: allocate memory space in a memory to a workload executing on a processor, wherein the processor is in communication with the memory; store, as dirty memory pages in the memory space allocated to the workload, data from the workload at least until the data is written out to a data storage; based on a type of the workload being a first type, write at least a portion of the dirty memory pages to the data storage in response to the dirty memory pages exceeding a first threshold level; and based on the type of the workload being a second type, delay writing the dirty memory pages to the data storage in response to the dirty memory pages exceeding the first threshold level, and continue execution of at least one thread of the workload on the processor in response to the dirty memory exceeding a second threshold level greater than the first threshold level, wherein the workload of the first type is more sensitive to data loss and data consistency risks than the workload of the second type.

Assignees

Inventors

Classifications

  • with main memory updating (G06F12/0806 takes precedence) · CPC title

  • Hypervisor-specific management and integration aspects · CPC title

  • the resource being the memory · CPC title

  • Memory management, e.g. access or allocation · CPC title

  • Data transfer between cache memory and other subsystems, e.g. storage devices or host systems · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US11914512B2 cover?
An example system includes a memory, a processor in communication with the memory, and a supervisor. The supervisor is configured to allocate a memory space in the memory to a workload executing on the processor. The supervisor is configured to store data written by the workload as dirty memory in the memory space at least until the data is written back to a data storage. Based on a type of the…
Who is the assignee on this patent?
Red Hat Inc
What technology area does this patent fall under?
Primary CPC classification G06F12/0804. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Feb 27 2024 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 6 related publications on this page (citations in our corpus or others sharing the same primary CPC).