Map
Index
Random
Help
Topics
th

Topic: memory management by working sets

topics > computer science > operating system > Group: memory management



Topic:
data caching
Topic:
memory cache
Topic:
memory management by age
Topic:
memory management by paging
Topic:
memory management for programs and modules
Topic:
virtual memory

Summary

A working set contains the memory pages in active use. To avoid thrashing the working sets of running processes needs to be in memory. Typically, working sets change slowly with occassional abrut changes or phases. (cbb 12/07)
Subtopic: working set up

QuoteRef: dennPJ_1978 ;;72 "The working set is usually defined as a collection of recently referenced pages of a program's virtual address space.
QuoteRef: dennPJ_1978 ;;74 "Working set determination is best paging manager based on local performance of a program's page requests.
QuoteRef: dennPJ1_1980 ;;extensive bibliography on working sets

Subtopic: working sets and paging up

Quote: under paged, virtual memory, working-set strategies are better than FIFO disciplines [»oldeRR5_1985]
Quote: if the client working set changes slowly, its description will remain in the caches, adding little or no extra disk activity [»redeDD2_1980]
Quote: size working set--use an exact-fit cache of recently freed blocks; purge block after T allocations [»oldeRR5_1985]

Subtopic: multi-programming level up

Quote: shed load to stay below the maximum paging rate [»hoarCA_1971]

Subtopic: thrashing up

Quote: eliminate thrashing by monitoring the fault rate; keep damped counts of page faults, processor time, and I/O time [»hoarCA_1971]
Quote: in a paging system, the only important thing is to avoid thrashing; otherwise spend all of the time waiting for the disk [»lampBW10_1983]
Quote: least recently/frequently used (LRFU) block replacement policy; up to 30% better than LRU; uses linked list and priority heap based on threshold of recency and frequency value [»leeD9_1997]

Subtopic: reducing working set size up

Quote: reduce the hot working set by splitting structures into hot, frequently accessed portions and cold portions [»chilTM12_2000]

Subtopic: CLOCK vs. working sets up

Quote: even though working sets are better, most modern multiprogramming system use the CLOCK memory policy [»dennPJ9_1980]

Subtopic: LRU and working sets up

Quote: bounded locality interval: top elements of LRU with at least one additional reference; corresponds to phase [»hendDA7_1986]
Quote: least recently/frequently used (LRFU) block replacement policy; up to 30% better than LRU; uses linked list and priority heap based on threshold of recency and frequency value [»leeD9_1997]
Quote: the adaptive replacement cache balances recency and frequency; ignores one-time sequential requests and low temporal locality; outperform LRU on most traces and cache sizes [»megiN4_2004]

Subtopic: reuse distance up

Quote: reuse distance is the number of distinct data elements between accesses of the same data element; also called LRU stack distance [»shenX1_2007]
Quote: approximate program locality with easily-obtained time distance histograms; 17x faster, 99% accurate for cache reuse, 94% for element reuse

Subtopic: problems with working sets up

Quote: if organize data for predictable working set size, get unpredictable response times in interactive systems; need random storage access
[»bereG9_1982]

Related Topics up

Topic: data caching (35 items)
Topic: memory cache (29 items)
Topic: memory management by age (18 items)
Topic: memory management by paging (23 items)
Topic: memory management for programs and modules (12 items)
Topic: virtual memory
(32 items)

Updated barberCB 8/04
Copyright © 2002-2008 by C. Bradford Barber. All rights reserved.
Thesa is a trademark of C. Bradford Barber.