Interleaved swap

Freddie Cash fjwcash at
Mon May 2 09:17:20 PDT 2016

On Mon, May 2, 2016 at 12:56 AM, PeerCorps Trust Fund <
ipc at> wrote:

> Reading the online man pages concerning swapcache, there are a few
> references to the interleaving of swap devices.
> I am curious as to how this works in practice and how is it set up? Is
> this somehow similar to striping swap across the two devices?

​Create a swap partition on diskA.
Create a swap partition on diskB.
Create a swap partition on diskC.

Kernel will write swap data out to ​

​diskA, then diskB, then diskC, in parallel, similar to how a RAID0 stripe
works.​  It's all handled automatically inside the kernel swap subsystem.

Freddie Cash
fjwcash at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Users mailing list