Method and device for setting priority of processes in container
The embodiment of the invention provides a method and device for setting the priority of processes in a container, and the method comprises the steps: receiving a container request issued by a client when a container arrangement system or a container runs, and setting the priority of the processes i...
Gespeichert in:
Hauptverfasser: | , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The embodiment of the invention provides a method and device for setting the priority of processes in a container, and the method comprises the steps: receiving a container request issued by a client when a container arrangement system or a container runs, and setting the priority of the processes in the container according to the container request and a pre-established priority as a mapping relation between system resources and the container. Through the embodiment of the invention, the problem that the setting of the process priority cannot be well compatible with the container ecology in the related technology can be solved, the static setting and the dynamic adjustment of the process priority in the container are realized through the system resource management of bringing the priority into the container ecology, and the container ecology can be well compatible.
本申请实施例提供了一种容器内进程优先级设置方法及装置,该方法包括:接收容器编排系统或容器运行时的客户端下发的容器请求,根据容器请求和预先建立的优先级作为系统资源与容器的映射关系对容器内进程的优先级进行设置。通过本申请实施例可以解决相关技术中对进程优先级的设置不能较好兼容容器生态的问题,通过将 |
---|