File system resource isolation method for Docker container
A docker container and file system technology, applied in the field of virtualized systems, can solve the problem of inability to solve the problem of shared kernel isolation, isolation is not suitable for Docker containers, etc., to achieve the effect of simple and flexible isolation mechanism, small modification, and improved isolation
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0041] Aiming at the isolation problem caused by the lock competition in the container sharing kernel and the file system resource competition, the present invention proposes a file system resource isolation system for Docker containers. The system analyzes the locks used in the file system operation and finds out A set number of coarse-grained locks can be issued, and a fine-grained lock can be assigned to each container as a copy of the coarse-grained lock, thereby avoiding the problem of multiple containers competing for the same coarse-grained lock. At the same time, the above modification will not bring about consistency problems. Allocate file system resources to each container file system instance to avoid sharing, thereby preventing performance interference caused by competition and improving isolation.
[0042] Specifically, such as figure 1 As shown, the file system resource isolation system includes at least several containers 1 , a file operating system calling mo...
Embodiment 2
[0049] This embodiment is a further improvement on Embodiment 1, and repeated content will not be repeated here.
[0050] The present invention also provides a method for isolating file system resources facing Docker containers, which at least includes the following steps:
[0051] S1: The file system resource allocation module 302c allocates the host file system resources according to the requirements of the container 1, and distinguishes the containers allocated with different host file system resources by marking the containers.
[0052] Specifically, when a container is created by, for example, Docker, a requirement for file system resources will be proposed according to the characteristics of the load run by the container. Different containers have different needs for file system resources. For example, when a container runs intensive loads such as database or web server I / O, the container will perform a large number of file creation operations, so that the container req...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com