Re: Swap vs No Swap.

James A Sutherland (jas88@cam.ac.uk)
Thu, 22 Nov 2001 20:37:20 +0000


On Thursday 22 November 2001 7:36 pm, G . Sumner Hayes wrote:
> On Thu, Nov 22, 2001 at 08:17:43PM +0100, François Cami wrote:
> > James A Sutherland wrote:
> > > Hmm... if you've experimented with this, how does this setup compare
> > > to a striped RAID of hda+hdc used for root and swap? (i.e. is the
> > > speedup down to splitting accesses between two spindles?)
> >
> > I haven't, but it's a good idea, I may give it a try, but not very soon.
>
> You shouldn't need striping for this--if you have two swap partitions
> with equal priority, the kernel will "stripe" them itself.
>
> At least that's my understanding.

It'll stripe the SWAP area, but not the root FS; what I'm interested in is
how performance is affected by splitting both across two devices, compared to
putting one on each.

James.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/