Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

2 Answers

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
add comment

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 performance...raid.wiki.kernel.org/index.php/RAID_setup#RAID-5 –  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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.