The application relates to a multi-core
server job quick scheduling and core
allocation method and
system, which comprises the following steps: step 1: a
client sends a job request to a
server, and the
server receives and caches the job request; step 2: a scheduler takes out the job request and allocates a pre-created container
pool to execute the job; step 3: a scheduling strategy is defined, and cores are dynamically allocated according to core load and the number of jobs; when the cores are transferred, the scheduler reallocates the cores; when the cores are preempted, a
recovery mechanism is used to recover and execute the jobs, and the execution result is returned to the
client. The application introduces an event-driven strategy customization interface, supports users to quickly define and apply personalized scheduling strategies, and designs a
microsecond-level, low-overhead core
preemption and reallocation mechanism, so that efficient dynamic adjustment of resources can be realized in multi-program parallel jobs, and therefore the
system performance and
resource utilization can be significantly improved.