NAS
NAS How To
How To Build a Really Fast NAS - Part 4: Ubuntu Server | How To Build a Really Fast NAS - Part 4: Ubuntu Server |
|
|
| Tim Higgins | |
| September 17, 2008 | |
IntroductionIn our last installment, I found that the combination of Windows Home Server as a NAS and Vista SP1 as a client could achieve read performance of almost 80 MB/s. But that impressive speed was reached only with filesizes that were smaller than the amount of RAM in both the client and NAS systems. Once caches were exceeded, performance fell to slightly under 60 MB/s, limited by the speed of a single SATA drive; WHS' key weakness. I then made a detour into the low end to see how much performance could be squeezed from Intel's Atom mini-ITX board. I used both FreeNAS and Ubuntu Sever as OSes and found the latter able to get me up to read speeds of just shy of 60 MB/s with a RAID 0 array. So I had high hopes of achieving significantly better performance when I installed the Ubuntu Server, mdadm and Webmin combination on the former WHS test bed. But try as I might, despite days of testing, I'm still far from the 100 MB/s read / write goal. The problem isn't due to any limitation on the machine running iozone. It's a Core 2 Duo machine with a PCIe gigabit Ethernet connection that has been tested to read and write data at over 100 MB/s. And iozone doesn't access the system hard drive during testing, so that's not what is holding me back. So I asked iozone's creator and filesystem expert Don Capps for any wisdom that he could shed on the subject. His response was illuminating, as usual:
Don also provided some insight into how other RAID modes can affect filesystem performance. RAID 1
Write performance is the same or lower than that of a single drive. However, read performance might be improved, depending on how well the controller overlaps seeks. RAID 5
Performance can be limited by disk 1, or disk 2 or disk 3. Parity is generated by doing an XOR of block 1 and block 2. This permits the reconstruction of either block 1 or block 2 by doing an XOR with the remaining good disk and the parity disk. However, the XOR operation takes time and CPU resources. It can easily become a bottleneck unless there is a hardware assist for the XOR. Performance is also greatly improved by having multiple parity engines and NVRAM to permit asynchronous writes of the data blocks and the parity blocks. RAID 10
A reader can read block 1 from either disk 1 or disk 2, which permits load balancing. The striping permits more than 2 disks to participate in the mirroring.
Related Articles:New to the Charts: Promise NS2300N SmartStor Home Digital Media ServerBuild Your Own Atom-based NAS - Part 1 Thecus YES Box N2100 Retest NAS Basics Slideshow - LaCie Ethernet Disk RAID drive fail and recovery |
|
Are Cat6 and Cat5e not perfectly compatible?
Captive portal for security
D-Link DNS-323 Mysteries
Gigabit Network Help!
Synology DS-209+ review up!!
|
|
|
|
|
|
|
|
More |
|
You could win a Trendnet TEW-633GR Wireless N Gigabit Router and two TEW-621PC 300Mbps Wireless N-Draft PC Cards |
| Wireless Performance Charts: Belkin N+ Wireless Router |
| Router Performance Charts: Belkin N+ Wireless Router |
|
SearchWiki Search personalized by Google Analyst firm cuts 2009 PC growth expectations by 64% Graphene-based memory eyed by researchers to replace flash |
Cooper Wiring Devices intros Aspire RF Home Controller