ขอบุณนะครับ ที่มีเรื่องน่าสนใจมาฝาก ผมเคยแต่ RAID 1 ไม่มีหลายดิสด์ที่จะทำ RAID5
สรุปคร่าวๆ ดังนี้นะครับ
Software RAID can be organized with the help of the OS and it doesn’t need anything except additional CPU time for its support. But, CPU time is the cheapest resource among all that we have
มันใช้ CPU มากหน่อย แต่ CPU เป็นอันที่ถูกที่สุดแล้ว ในบรรดา HW ทั้งหลาย
คนส่วนใหญ่มักบอกว่า HW RAID ดีกว่า และเร็วกว่า SW RAID แต่ …
Beyond that, software RAID works with the paritions of a hard drive, not with whole disks, and provides more flexibility. In some cases, well-constructed and organized software RAID works much faster than hardware RAID, and with less cost.
เนื่องจาก SW RAID มันจัดการกับ partition ไม่ใช่ทั้ง disk จึงอ่อนตัวกว่า หากทำดีๆ ก็จะเร็วกว่า …ครับ
In general, two things: high speed or high reliability. And, if we can, both of them.
เรามักอยากได้ ความเร็ว ความไว้ใจได้ และทั้งสองอย่างถ้าทำได้
ต้องการความเร็วนี้ มันต้องอยู่คนละ controller นะครับ (IDE) ไม่ต้องเอา slave มาเลย
เขาบอกว่า backup , backup อย่านึกว่ามี RAID แล้วจะปลอดภัย
The speed of the RAID seems to be about the same as the SW RAID - I’m
getting 50-25MB/s from the IDE to the RAID partition on GB sized
files.
เขาบอกว่า about the same —ใกล้เคียงกัน
This overall looks to be slightly /slower/ than the SW RAID, but I
never tested the SW RAID under heavy load - theoretically, it should
degrade faster than the HW controller. นี่ตามที่คุณ pizzaman บอกว่าหากโหลด มีสิทธิ์อืด
So the upshot according to my limited experience: Linux SW RAID is
cheaper than dirt, works extremely well, is surprisingly fast, is
well supported in the Kernel for a variety of disk controllers (both
RAID and cheap nonRAID). แต่มันถูกกว่ามาก และ เคอร์เนลสนับสนุนอย่างดีเลย
ติดตั้งลำบากกว่า ครับ HW ก็ตรงข้าม แต่เร็วไม่ต่างกัน
Hardware raid, using the 3Ware card
Level 5 นะ
The filesystem differences are relatively small, with ReiserFS appearing to win over EXT3 under these conditions, especially for relatively small files. Even though Bonnie++ must be told to use only a fraction of the machine’s 1G RAM for the first three tests, the OS is clearly caching; only for 2G+ files does the actual RAID performance become visible. Needless to say, we were quite disappointed with these results; 20 Mb/sec block output for large files is slower than we would expect from a single drive.
ReiserFS เร็วกว่า EXT3 เล็กน้อย เขาค่อนข้างจะผิดหวังที่ได้แค่ 30 Mb/sec
Level 10 เขาบอกดีขึ้นหน่อย
ขณะที่ SW RAID 5 เร็วเป็น 2 เท่าตัว
Summary
We’re going with software RAID 5 from here. สรุปว่าเขาเลือก SW RAID5
That’s why - the 3Ware card’s performance on Raid 5 varies with the number of drives attached. This suggests that using two 4-drive hardware RAID cards and striping them via software might be competitive with the all-software solution above, but it would depend very much on the performance of the RAID cards.
อันนี้ผม พูดเองว่า หาก HW RAID ห่วยๆ ก็ไม่ได้ดีเท่าไหร่
อีกเว็บผมเข้าไม่ได้