Managing Container Pause And Resume
First Claim
Patent Images
1. A method comprising:
- receiving a first request to pause one of multiple containers of a computing device;
suspending, in response to the first request, the container by no longer scheduling processes in the container for execution;
receiving, subsequent to suspending the container, a second request to resume the container; and
resuming, in response to the second request, scheduling of processes in the container for execution.
1 Assignment
0 Petitions
Accused Products
Abstract
An operating system running on a computing device uses containers for hardware resource partitioning. Using the techniques discussed herein, pausing and resuming of containers is managed to reduce the pressure a container exerts on system resources when paused. Resuming of containers can further be managed to reduce the startup time for containers. This managing of containers can implemented various different techniques, such as stopping scheduling of virtual processors, stopping scheduling of processes or threads, compressing memory, swapping pages of memory for the container to a page file on a hard drive, and so forth.
35 Citations
20 Claims
-
1. A method comprising:
-
receiving a first request to pause one of multiple containers of a computing device; suspending, in response to the first request, the container by no longer scheduling processes in the container for execution; receiving, subsequent to suspending the container, a second request to resume the container; and resuming, in response to the second request, scheduling of processes in the container for execution. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A system in a computing device, the system comprising:
-
a container scheduler configured to schedule processes in multiple containers of the computing device for execution; a host compute service configured to receive, from a command interface, an indication of a request to pause a particular container of the multiple containers, the host compute service being further configured to communicate a first notification to the container scheduler to cease scheduling processes of the particular container for execution in response to the request to pause the particular container; the container scheduler being further configured to cease scheduling processes in the particular container for execution in response to the first notification from the host compute service; the host compute service further configured to receive, after receipt of the indication of the request to pause the particular container, from the command interface an indication of a request to resume the particular container, the host compute service being further configured to communicate a second notification to the container scheduler to resume scheduling processes of the particular container for execution in response to the request to resume the particular container; and the container scheduler being further configured to resume scheduling processes in the particular container for execution in response to the second notification from the host compute service. - View Dependent Claims (12, 13, 14, 15)
-
-
16. A computing device comprising:
-
one or more processors; and a computer-readable storage medium having stored thereon multiple instructions that, responsive to execution by the one or more processors, cause the one or more processors to; receive a first request to pause one of multiple containers of the computing device; suspend, in response to the first request, the container by ceasing scheduling processes in the container for execution; receive, after suspending the container, a second request to resume the container; and resume, in response to the second request, scheduling of processes in the container for execution. - View Dependent Claims (17, 18, 19, 20)
-
Specification