Ticket #11 (new defect)

Opened 3 years ago

Last modified 2 years ago

Improve eviction policy

Reported by: jtv Assigned to: somebody
Priority: normal Milestone:
Component: component1 Version:
Severity: normal Keywords:
Cc:

Description (Last modified by jtv)

Work on the algorithm that chooses which swapfile to deallocate first. Current algorithm picks largest active swapfile that doesn't bring it below the target state.

Other options might be:

  1. Free file with least used pages to minimize "swapback" activity.
  2. Look for "best fit," i.e. plan a combination of swapfiles that can be freed to get as close as possible to the target state. Assuming nothing else changes in the meantime, the current scheme may actually be an efficient, greedy implementation of this.
  3. Try to balance swapback load and approximation of target state.

Change History

08/08/06 06:11:02 changed by jtv

  • description changed.