×

Method for dynamically remapping a virtual address to a physical address to maintain an even distribution of cache page addresses in a virtual address space

  • US 6,026,475 A
  • Filed: 11/26/1997
  • Issued: 02/15/2000
  • Est. Priority Date: 11/26/1997
  • Status: Expired due to Term
First Claim
Patent Images

1. In a computer system having a cache memory, a method of re-mapping a virtual address to a physical address to improve performance comprising the steps of:

  • identifying a virtual address that is incurring delay in the computer system;

    determining a physical address mapped to the virtual address, wherein the physical address includes a cache page address for the cache memory;

    selecting an unmapped new physical address for mapping the virtual address, wherein the new physical address is selected to maintain a substantially even distribution of cache page addresses included in physical addresses of memory pages mapped to a plurality of virtual addresses in virtual address space;

    copying data located at the physical memory page indicated by the determined physical address to the physical memory page indicated by the new physical address, and mapping the virtual address to the new physical address;

    recording in a list, for each of plurality of faults that occur during operation of the computer system, virtual address that is being referenced in the computer system;

    maintaining, for each of a plurality of cache page addresses, a count of the number of virtual addresses in the list that map to physical addresses including the cache page address; and

    selecting as the virtual address virtual address in the list associated with the cache page address having the highest count.

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