The priority logic I used followed from the idea that it's good to use the
same priority when swapping to multiple devices with the same performance
characteristics such that the swap space is effectively striped across them.

Which I suppose doesn't make as much sense with VDisk, since it's either
backed by real memory (where you wouldn't be waiting on high-latency seeking
and spinning) or by page (which I imagine VM is already striping across its
page volumes).

But is there any performance advantage to filling one VDisk before making
use of the next (or, for that matter, in using multiple small VDisks rather
than keeping things simple and using one large VDisk)? I would think that,
since it's all backed by the same underlying store, it wouldn't really
matter how you fill it so long as you're making sure you use that fast VDisk
space before falling back to slower media.

On Fri, Aug 5, 2011 at 7:14 PM, Rob van der Heij <[email protected]> wrote:

> On Fri, Aug 5, 2011 at 8:55 PM, Christian Paro <[email protected]>
> wrote:
>
> > ...also setting swap priorities such that your (fast) VDisk swap space
> will
> > be used before any TDisk swap space is used, and your TDisk swap space
> will
> > be used before any static swap files or partitions (assuming those are
> > brought up with without specifying a priority level, or with a priority
> > level of < 255 specified).
>
> Your implementation seems to miss setting different priorities for the
> VDISKs to steer swap replacement.
>
> Rob
>
> ----------------------------------------------------------------------
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO LINUX-390 or
> visit
> http://www.marist.edu/htbin/wlvindex?LINUX-390
> ----------------------------------------------------------------------
> For more information on Linux on System z, visit
> http://wiki.linuxvm.org/
>

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/

Reply via email to