Optimization method and optimization system for task scheduling in large-scale virtualization environment

A technology for virtualized environment and task scheduling, applied in the field of task scheduling optimization and optimization system in large-scale virtualized environment, can solve the problems of consuming system resources, inability to centrally monitor and track, task process suspension, etc., to simplify configuration The effect of managing and reducing the burden on the database

Active Publication Date: 2017-07-11
MASSCLOUDS
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The crond program in a UNIX-like system can realize the scheduled execution of tasks, but it uses plain text to define and manage, which is not convenient for task definition, retrieval, and operation monitoring, and lacks fine control over task execution
[0004] There is no additional control on the concurrent execution of tasks. When a large number of tasks are concurrently executed, the system resources are greatly impacted, which may cause the system to be unresponsive for a short time.
[0005] There is no control over the execution time limit of the task, and the task process may hang indefinitely, continuously consuming system resources and losing control
[0006] There is no concept of priority for tasks, all tasks have the same priority, and the weight of tasks cannot be distinguished
[0007] The log information of all tasks is mixed together, which is difficult to track
[0008] It is not convenient to monitor the running status of the task intuitively in real time. You can view the running status of the process through the ps command, but it cannot be associated with the description information when the task is defined
[0009] For tasks that are executed on multiple hosts, centralized monitoring and tracking cannot be performed

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Optimization method and optimization system for task scheduling in large-scale virtualization environment
  • Optimization method and optimization system for task scheduling in large-scale virtualization environment
  • Optimization method and optimization system for task scheduling in large-scale virtualization environment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0068] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.

[0069] The database product adopts MySQL, and the shared memory mechanism adopts the shared memory of the System V standard built into UNIX-like systems. In order to coordinate the synchronous access of multiple processes to the shared memory, the System V standard semaphore is used as the lock synchronization mechanism. The scheduling queue adopts the System V standard message queue and supports message priority.

[0070] In order to improve the concurrency of task information shared memory access, two signal lights are used to control memory synchronous access: one "refresh light" and one "read light". The target effect has three points: multiple processes can read the shared memory at the same time, prohibit other processes from accessing the memory when the memory is refreshed, and prohibit the refresh operation when other processes are accessing t...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses an optimization method and an optimization system for task scheduling in a large-scale virtualization environment, including centralized management of tasks, distributed execution, smooth control during concurrency, execution time limit control, priority definition, operation monitoring, self-diagnosis, etc. Provide a friendly and efficient operation interface for task scheduling. It is implemented like the crond program in the UNIX-like system, enhances the fine control function, and supports the cooperation between hosts to realize the distributed execution and centralized monitoring of tasks. The database is used to centrally manage the task definitions governed by multiple hosts to simplify configuration operations. To reduce the burden on the database, the task definitions are imported into the shared memory, and subsequent scheduling does not access the database. The scheduling platform has self-diagnosis capability to ensure the continuous and stable operation of the scheduling work.

Description

technical field [0001] The invention relates to an optimization method and an optimization system for task scheduling in a large-scale virtualization environment. Background technique [0002] There are a large number of management tasks that need to be performed periodically in a virtualized environment, such as starting and stopping of virtual machines, change detection of configuration parameters, abnormal detection of hosts and application systems, collection and analysis of performance indicators, data backup and cleaning of expired data, etc. . [0003] The crond program in a UNIX-like system can realize the scheduled execution of tasks, but it is defined and managed in plain text, which is not convenient for task definition, retrieval, and operation monitoring, and lacks fine control over task execution. [0004] There is no additional control over the concurrent execution of tasks. When a large number of tasks are concurrently executed, the system resources are grea...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): G06F9/48G06F9/54
Inventor 张从国石磊王进程栋刘毅峰
Owner MASSCLOUDS
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products