Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to partition my RAID 5 array to put a linux swap on it. Does partitioning a raid array affect performance of the overall system? Are there any disadvantages of doing it?

share|improve this question
@Moab I have a SSD for my OS. That wasnt the question. – Tom Squires Aug 8 '11 at 17:14
up vote 1 down vote accepted

No; partitioning a raid array has no affect on performance, when done correctly. Older partitioning tools were not careful about alignment and so they could create partitions that were not aligned to the stripe width, but up to date tools should handle this automatically.

Also I would suggest using LVM to manage the raid array instead of a conventional partition table. It provides much more flexibility.

share|improve this answer

RAID 5 doesn't handle small random writes very well - it's a relatively slow operation on a RAID 5 array - and so having your swap space there may hit system performance quite a bit.

share|improve this answer
choosing a proper chunk size can improve write – Moab Aug 8 '11 at 16:48
Im intending to dual boot and under linux I wont be doing anything heavy. Will partitioning the drive affect performance even when the swap is not in use? – Tom Squires Aug 8 '11 at 16:50

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .