Here I am going to tell about Linux software RAID. If it’s very slow,you can test it with my way, hope it can help you.
So I had a ASUS P6T motherboard which has Intel ICH10R raid controller, 3x 1 Tb SATA 2 HDDs and Intel Core i7 920 processor. So I wanted to install Fedora 10 on that machine.
After configuring RAID 5 in the BIOS I booted the Fedora 10 installation DVD to start the installation. BUT! Suddenly I saw that Anaconda see 3 separate hard drives instead of 1 RAID device. After some googleing I figured out that my motherboard don’t have real RAID controller. Instead it is fakeraid controller. It is just software raid which software is located in BIOS. So I decided to use linux software raid, because it is definitely better than the from ASUS.
So installed Fedora 10 with linux software RAID 5 with LUKS encryption. After installation machine started to work very slowly. I thought it so because of the encryption, but after some googleing I understood that the encryption can’t slow down the machine that way. The thing was when you newly create RAID 5 array it needs to build the 3rd hard drive and it take a lot of time. It took from me approximately 4 hours to finish that operation on 1 Tb hard drives. You can check the rebuild status at any time invoking one of the following commands:
# cat /proc/mdstat
or
# mdadm --detail /dev/md0
After rebuild was over and after some tunings , I had ~90 Mb/s write and ~200 Mb/s read.
Tuning parameters was:
echo 32768 > /sys/block/md0/md/stripe_cache_size
blockdev --setra 65536 /dev/md0
Related Posts
- 10/06/2011 -- linux local privilege escalation on polkit-1 <= 0.101 (0)
- 08/04/2011 -- Linux Kernel < 2.6.37-rc2 ACPI custom_method Privilege Escalation (0)
- 04/07/2011 -- sniffer tools for Centos–dsniff (0)
- 01/18/2011 -- How do I view the information the process of IO to read and write on linux? (0)
- 03/08/2010 -- Tunning Kernel Parameters Improving Linux Network Performance (1)
- 03/07/2010 -- Linux Check Disk Space with the Commands du and df (2)
- 03/05/2010 -- Install DHCP-SERVER in Linux Debian (2)
- 03/02/2010 -- Iptables ip_conntrack table set-up and tunning for high load UDP traffic (0)
- 02/27/2010 -- Homemade Bench top Power Supply (0)
- 02/22/2010 -- Apache KeepAlive Timeout Tunning (1)
Um, not to be snarky or anything, but what do you expect the performance to be? Without anything to compare it to, you can’t really make a claim like “very slow”.
It’s like saying Pancakes are better. Sure, they are delicious and all that, but the question is: better than what and in what context? Pancakes are certainly not better than a car if the object of the comparison is to determine the optimal method of traveling between point A and point B.