×

System and method for evaluating paging behavior

  • US 3,921,153 A
  • Filed: 08/02/1973
  • Issued: 11/18/1975
  • Est. Priority Date: 08/02/1973
  • Status: Expired due to Term
First Claim
Patent Images

1. A system for use in data processing apparatus which is operated as a paging machine and wherein a program is considered as a page reference string, for determining the minimum memory capacities for the pages of said string, said data processing apparatus including means for maintaining a first list of the names of the pages of said program weighted in accordance with a least recently used (LRU) criterion, said first list being constituted by the names of said pages and LRU integers respectively therewith having one of the different discrete values of 1 to n, wherein n is equal to the total number of said pages in said program, said system comprising:

  • means for maintaining a second list of said names, said second list being constituted by an ordered sequence of n addresses, each of said addresses respectively having one of the different discrete values of 1 to n, there being located at each of said addresses, a different integer, C, associated therewith from which the minimum memory capacity (MMC) of said page can be determined, each of the integers in said second list having a different discrete value of 1 to n;

    means responsive to said means for maintaining said second list for determining said minimium memory capacity (MMC) of a given referenced page comprising;

    means responsive to the referencing of said given page for dividing said second list into a first group of addresses having the values of 1 to (l-1) respectively, and a second group of addresses having the values of l to n respectively, wherein l is equal to the integer associated with said referenced page in said first list, means responsive to said means for dividing said second list for ascertaining the address, k, in said second group whereat there is present the lowest value MMC integer;

    means responsive to said means for ascertaining said address, k, for making the series of addresses in said second group which are included in the subgroup containing addresses l, (l+1), . . . , (k-1) which have the following values, viz. (l+a), (l+b), (l+c), . . . , to address (k-1), if necessary, wherein (l+a) has the smallest address value greater than l such that C(l+a) <

    C(l), wherein (l+b) has the smallest address value greater than (l+a) such that C(l+b) <

    C(l+a), etc., wherein C(i) is the value of integer, C, at location i. means responsive to said means for dividing said second list for generating the smallest missing number in the groiup of integers comprising 2 to (Cmax+1) wherein Cmax is the largest integer C of those contained at addresses 2 to (l-1), said generated smallest missing number being the minimum memory capacity of said referenced page, means responsive to said means for dividing said second list for incrementing each of the addresses 2 to (l-1) of said first group by 1 whereby they respectively have the address values of 3 to l, means responsive to said means for generating said smallest missing number for assigning the address value of 2 to said generated smallest missing number, and means responsive to said means for marking said series of addresses for assigning to each of the series of said marked addresses, the value of the next address in said series, the highest value address in said series being assigned the value of k, said integer originally at said address k being discarded.

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