×

Real-time open file cache hashing table restructuring in a server computer

  • US 5,835,756 A
  • Filed: 11/27/1996
  • Issued: 11/10/1998
  • Est. Priority Date: 06/04/1993
  • Status: Expired due to Term
First Claim
Patent Images

1. A method of operating a storage system, comprising the steps of:

  • periodically determining (1) a number n of file header structure elements stored in a hashing table in a memory in the storage system, each element containing a copy of file header information from a corresponding file stored on a mass storage device in the storage system coupled to the memory in which the hashing table is stored, and (2) a number ns representing an average number of elements in the hashing table that are searched in response to file access requests before the element required by each request is found, ns being a function of both n and the structure of the hashing table;

    calculating a moving average value ns-avg-t equal to the moving average of ns, over a number of most recent periods;

    recording the values of ns-avg-t over multiple periods;

    determining from the recorded values of ns-avg-t whether ns-avg-t is exhibiting saturation behavior;

    if ns-avg-t is exhibiting saturation behavior, then performing the following steps;

    a) selecting a value of ns-avg-t from a recent period during which ns-avg-t was not exhibiting saturation behavior;

    b) determining a new structure for the hashing table using the most recently determined value for n and the selected value of ns-avg-t, the new structure being such that the average number of elements in such a newly-structured hashing table that would be searched in response to file access requests before the element required by each request would be found is equal to ns-avg-t when the number of elements in such a newly-structured hashing table is n; and

    c) changing the structure of the hashing table to the determined new structure; and

    if ns-avg-t is not exhibiting saturation behavior, then refraining from so changing the structure of the hashing table.

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