Monday, September 8, 2008

swap areas and priorities

Swap areas are prioritized. The kernel will swap first to areas of high priorities, and
then go down the list. Areas of the same priority get striped between.

The exact number really doesn't matter: it's all about RELATIVE priority. The highest priority partition gets swapped-to first, but if two (or more) partitions have the same priority, then the kernel alternates swapping between them. When they are on multiple disks, this has the effect of distributing the swap load, improving performance.

No comments:

Post a Comment