Opened 15 years ago

Last modified 9 years ago

#11 new defect

Improve eviction policy

Reported by: jtv Owned by: somebody
Priority: normal Milestone:
Component: component1 Version:
Severity: Ugly Keywords:

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 (2)

comment:1 Changed 14 years ago by jtv

  • Description modified (diff)

comment:2 Changed 9 years ago by jtv

  • Severity changed from normal to Ugly
Note: See TracTickets for help on using tickets.