Interleaved swap

PeerCorps Trust Fund ipc at peercorpstrust.org
Mon May 2 10:46:34 PDT 2016


Thanks!

On 05/02/2016 07:17 PM, Freddie Cash wrote:
> On Mon, May 2, 2016 at 12:56 AM, PeerCorps Trust Fund <
> ipc at peercorpstrust.org> 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.
>
>


More information about the Users mailing list