×

Periodic process scheduling method

  • US 5,944,778 A
  • Filed: 03/26/1997
  • Issued: 08/31/1999
  • Est. Priority Date: 03/28/1996
  • Status: Expired due to Term
First Claim
Patent Images

1. A periodic process scheduling method of a computer system, said computer system including a plurality of process groups, each of said process groups including at least one periodically executed process, said plurality of process groups being executed in parallel, said periodic process scheduling method comprising the steps of:

  • specifying a wakeup interval period and a required CPU time per period for each of said process groups;

    securing a CPU allocation time so as to prevent collision between a CPU allocation time of a specified process group and a CPU allocation time of another specified process group, and adjusting said CPU allocation time and said wakeup period so as to maintain the wakeup interval period of each of said specified process groups;

    creating a table for registering therein an order of said process groups to which CPU time is allocated by utilizing a time slot as a unit;

    selecting a process group so as to allocate time slots to process groups in order starting from a process group having a shorter wakeup period;

    extracting adjacent empty time slots within the wakeup interval period of the selected process group;

    responding to the existence of adjacent empty time slots having a size of at least a required CPU time, obtaining, from adjacent empty time slots corresponding to at least the required CPU time and having a minimum size, adjacent empty time slots corresponding to the required CPU time beginning from the head thereof, and allocating the obtained adjacent empty time slots to the selected process group; and

    responding to the nonexistence of adjacent empty time slots having a size of at least a required CPU time, allocating all time slots belonging to adjacent empty time slots having a maximum size to the selected process group, and allocating a remaining time equivalent to the required CPU time minus the allocated time slots to said process group by using the previous responding step and the present responding step.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×