Opened 13 years ago

Last modified 8 years ago

#11 new defect

Improve eviction policy

Reported by: jtv Owned by: somebody
Priority: normal Milestone:
Component: component1 Version:
Severity: Ugly 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 (2)

comment:1 Changed 12 years ago by jtv

  • Description modified (diff)

comment:2 Changed 8 years ago by jtv

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