Global Information Lookup Global Information

Locality of reference information


In computer science, locality of reference, also known as the principle of locality,[1] is the tendency of a processor to access the same set of memory locations repetitively over a short period of time.[2] There are two basic types of reference locality – temporal and spatial locality. Temporal locality refers to the reuse of specific data and/or resources within a relatively small time duration. Spatial locality (also termed data locality[3]) refers to the use of data elements within relatively close storage locations. Sequential locality, a special case of spatial locality, occurs when data elements are arranged and accessed linearly, such as traversing the elements in a one-dimensional array.

Locality is a type of predictable behavior that occurs in computer systems. Systems that exhibit strong locality of reference are great candidates for performance optimization through the use of techniques such as the caching, prefetching for memory and advanced branch predictors of a processor core.

  1. ^ Not to be confused with the principle of locality o=s*v=411##sts in physics.
  2. ^ William., Stallings (2010). Computer organization and architecture : designing for performance (8th ed.). Upper Saddle River, NJ: Prentice Hall. ISBN 9780136073734. OCLC 268788976.
  3. ^ "NIST Big Data Interoperability Framework: Volume 1", [https://doi.org/10.6028/NIST.SP.1500-1r2 urn:doi:10.6028/NIST.SP.1500-1r2

and 23 Related for: Locality of reference information

Request time (Page generated in 0.9088 seconds.)

Locality of reference

Last Update:

computer science, locality of reference, also known as the principle of locality, is the tendency of a processor to access the same set of memory locations...

Word Count : 2326

Hash table

Last Update:

linked list of separate chaining implementation may not be cache-conscious due to spatial localitylocality of reference—when the nodes of the linked list...

Word Count : 5928

Locality

Last Update:

which a locality is a geographic subdivision in rural areas of Australia Locality (astronomy) Locality of reference, in computer science Locality (statistics)...

Word Count : 103

Memory access pattern

Last Update:

level of locality of reference and drastically affect cache performance, and also have implications for the approach to parallelism and distribution of workload...

Word Count : 1703

Memory hierarchy

Last Update:

programming constructs involving locality of reference. Designing for high performance requires considering the restrictions of the memory hierarchy, i.e. the...

Word Count : 1181

Processor register

Last Update:

releases of Pentium Pro, Cyrix 6x86, Nx586, and AMD K5. When a computer program accesses the same data repeatedly, this is called locality of reference. Holding...

Word Count : 1532

Free list

Last Update:

Free lists have the disadvantage, inherited from linked lists, of poor locality of reference and so poor data cache utilization, and they do not automatically...

Word Count : 263

Heapsort

Last Update:

The main advantage of quicksort is its much better locality of reference: partitioning is a linear scan with good spatial locality, and the recursive...

Word Count : 5718

Optimizing compiler

Last Update:

index range but each taking only a part of the loop's body. This can improve locality of reference, both of the data being accessed in the loop and the...

Word Count : 5670

Quadratic probing

Last Update:

better locality of reference than many other hash table such as chaining; however, for queries, quadratic probing does not have as good locality as linear...

Word Count : 884

File system fragmentation

Last Update:

refers to the lack of locality of reference (within the storing medium) between related files. Unlike the previous two types of fragmentation, file scattering...

Word Count : 2708

Dynamic array

Last Update:

Dynamic arrays benefit from many of the advantages of arrays, including good locality of reference and data cache utilization, compactness (low memory...

Word Count : 2136

Working set

Last Update:

program, and if it cannot acquire enough resources, it simply fails. Locality of reference Resident set size Working set size Denning, Peter J. (2021-02-02)...

Word Count : 1120

Swizzling

Last Update:

computer graphics, a way to store texture maps while respecting locality of reference. This disambiguation page lists articles associated with the title...

Word Count : 66

Scratchpad memory

Last Update:

in place of a cache for mirroring the state of slower main memory. The same issues of locality of reference apply in relation to efficiency of use; although...

Word Count : 1545

Linked list

Last Update:

optimal locality of reference and thus make good use of data caching. Another disadvantage of linked lists is the extra storage needed for references, which...

Word Count : 7835

Sieve of Eratosthenes

Last Update:

exhibiting almost no locality of reference. A solution to these problems is offered by segmented sieves, where only portions of the range are sieved at...

Word Count : 3035

Network interface controller

Last Update:

locality of reference and results in higher overall performance, reduced latency and better hardware utilization because of the higher utilization of...

Word Count : 1497

Hilbert curve

Last Update:

scheduling Hilbert R-tree Locality of reference Locality-sensitive hashing Moore curve Murray polygon Sierpiński curve List of fractals by Hausdorff dimension...

Word Count : 1227

Loop optimization

Last Update:

range, but each new loop takes only part of the original loop's body. This can improve locality of reference, both of the data being accessed in the loop and...

Word Count : 1501

Adjacency list

Last Update:

bytes of contiguous space, where |V| is the number of vertices of the graph. Besides avoiding wasted space, this compactness encourages locality of reference...

Word Count : 1190

Page replacement algorithm

Last Update:

exacerbates the previous problem. Locality of reference of user software has weakened. This is mostly attributed to the spread of object-oriented programming...

Word Count : 6235

Parallel array

Last Update:

have significantly worse locality of reference when visiting the records non-sequentially and examining multiple fields of each record, because the various...

Word Count : 1016

PDF Search Engine © AllGlobal.net