CALCULATOR AND JOB SCHEDULING METHOD THEREOF
First Claim
1. A job scheduling method performed in a computing system including a first-type processor and a second-type processor, the method comprising:
- measuring core utilization of the second-type processor;
when the measured core utilization is less than a reference value, transmitting, by the first-type processor, a job suspension instruction to suspend a first job, which is currently being executed, to the second-type processor;
in response to the job suspension instruction, copying data of a region occupied by the first job in a memory of the second-type processor to a main memory;
copying data of a second job stored in the main memory to the memory of the second-type processor; and
transmitting, by the first-type processor, an instruction to execute the second job to the second-type processor.
1 Assignment
0 Petitions
Accused Products
Abstract
A method for scheduling jobs for the calculator includes measuring core utilization of the second-type processor, when the measured core utilization is less than a reference value, transmitting, by the first-type processor, a job suspension instruction to suspend a first job, which is currently being executed, to the second-type processor, in response to the job suspension instruction, copying data of a region occupied by the first job in a memory of the second-type processor to a main memory, copying data of a second job stored in the main memory to the memory of the second-type processor, and transmitting, by the first-type processor, an instruction to execute the second job to the second-type processor.
0 Citations
19 Claims
-
1. A job scheduling method performed in a computing system including a first-type processor and a second-type processor, the method comprising:
-
measuring core utilization of the second-type processor; when the measured core utilization is less than a reference value, transmitting, by the first-type processor, a job suspension instruction to suspend a first job, which is currently being executed, to the second-type processor; in response to the job suspension instruction, copying data of a region occupied by the first job in a memory of the second-type processor to a main memory; copying data of a second job stored in the main memory to the memory of the second-type processor; and transmitting, by the first-type processor, an instruction to execute the second job to the second-type processor. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17)
-
-
18. A job scheduling method performed in a computing system including a first-type processor and a second-type processor, the method comprising:
-
repeatedly loading jobs dequeued from a job queue into a memory of the second-type processor until no more job can be loaded; measuring core utilization of the second-type processor; when the measured core utilization is less than a reference value, selecting, by the first-type processor, one suspension job from among jobs currently being executed in the second-type processor and transmitting a job suspension instruction to suspend the selected suspension job to the second-type processor; in response to the job suspension instruction, copying data of a region occupied by the selected suspension job in the memory of the second-type processor to a main memory; copying data of a new job, which is selected from the job queue as a job constituting a job switching group together with the suspension job, to the memory of the second-type processor; transmitting, by the first-type processor, an instruction to execute the new job to the second-type processor; and monitoring the core utilization of the second-type processor and sequentially executing jobs belonging to the job switching group in the second-type processor every time the core utilization is less than the reference value.
-
-
19. A calculator comprising:
-
a main memory to which a plurality of instructions are loaded; a first-type processor configured to execute the plurality of instructions loaded into the main memory; and a second-type processor including a dedicated memory, wherein the plurality of instructions include; an instruction to measure core utilization of the second-type processor; an instruction to transmit a job suspension instruction to suspend a first job, which is currently being executed, to the second-type processor when the measured core utilization is less than a reference value; an instruction to copy data of a second job stored in the main memory to the memory of the second-type processor when data of a region occupied by the first job in the memory of the second-type processor is copied to the main memory in response to the job suspension instruction; and an instruction to transmit an instruction to execute the second job to the second-type processor.
-
Specification