>>> On Mon, Dec 3, 2007 at  1:05 PM, in message
<[EMAIL PROTECTED]>,
"Romanowski, John (OFT)" <[EMAIL PROTECTED]> wrote: 
> Rob said earlier that after linux starts using a lower priority swap
> area it doesn't "migrate back from swap2 to swap1 when stuff is freed
> later."

To be more explicit, if swap1 fills up, then swap2 starts being used.  If pages 
on swap1 get freed up, the pages that were written to swap2 will never be 
migrated to swap1, even if if they are paged in by Linux and then paged out 
again.

> So do you find after swapoff/on a high priority VDISK that linux starts
> using it? or does it ignore it and keep filling the dasd swap?

Yes, but you could force the same behavior by doing a swapoff/swapon on the 
lower priority disk.  Since there are (presumably the reason why you did this) 
free pages on the VDISK, they'll be used first.


Mark Post

Reply via email to