Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Note: I'm fairly new to using Linux so it is more than likely that I just simply have missed some configuration I need to setup correctly but here is my problem.
I am building a small RAID based device using 8x1TB SATA disks, a LSI-MegaRAID 9260-8i PCIe adapter and T7400 Core2 2.16GHz based mboard with 4GB Ram running Ubuntu 9.04. I have configured the disks as RAID-0, for testing purposes, and formatted a 1.8TB partition with ext2. I have written a simple app to just write/read 8MB files but do not get the performance levels expected.
When using file descriptors I get approx only 200MBs write and 220MBs read performance.
When using streams I get approx 490MBs write and 217MBs read performance.
I have also run bonnie++ and get approx 670MBs sequential block out and only 255MBs sequential read performance.
As a benchmark I have run the same configuration under windows (with NTFS) and achieved over 670MBs for both read and write, which is near what I would expect this combination of drives to be achieving (each drive is individually capable of near 120MBs on outer cylinders). I'm totally confused why I should be getting such differences and would really appreciate any advice as to the best way to achieve the fastest possible data throughput.
Have you updated to the most recent kernel and made sure the raid driver configuration in the kernel is optimal? You didn't specify if you were using a software raid or hardware raid... which are you currently using?
Hi,
I'm using a hardware raid, I think. I haven't set any kernel configuration really, not sure how but would appreciate any info on this if this is what I need to do. The raid array was built under windows and I simply reformatted the array (1.8TB) from NTFS to ext2 using gparted. I have assumed the driver is part of the Kernel build (I have Kernel 2.6.28-18-generic), dmesg indicates that I have "scsi4:LSI SAS based MegaRAID driver".
The MegaRaid controller is a PCIe x8 lane card with two 4 port connectors. There doesn't seem to be a driver for my distro for this card but as it appears to work I assumed the driver was part of the Kernel. Is this assumption correct and if so would it be a basic driver and possibly not be using DMA etc?
Also there may be some other issue I can't remember exactly. It is how the block starts. Some issue like data blocks are not started correctly and then every other write read is a two step process instead of a single block issue. Dunno where I saw that.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.