LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-16-2013, 06:56 PM   #1
cyberblitz
LQ Newbie
 
Registered: Mar 2012
Posts: 19

Rep: Reputation: Disabled
Raid 5 Write Speed Slowness


I have problems with severe write speed slowness after setting up a Raid 5 using mdadm.

First, list of hardware:

I have:
- 4 x Barracuda 3TB drives (all connected to below)
- Syba SATA II PCI-X 4 Port Host Raid Controller (not using it as a raid controller)
- this card is suppose to provide 3GB/s transfer rate.
- only required this card to support an additional 4 drives
- 8GB DDR Ram
- i5 Intel Processor

Analysis i have done:

Using hdparm showed on each drive:

- Before Raid set up:

Code:
 Timing cached reads:   12142 MB in  2.00 seconds = 6074.54 MB/sec
 Timing buffered disk reads: 320 MB in  3.01 seconds = 106.23 MB/sec
- After Raid Set up:

(now here's the problem, immediately after Raid had synced or the Server had restarted the readings are similar to above, but after 20mins or so being idle, hdparm shows

Code:
 Timing cached reads:   12142 MB in  2.00 seconds = 6074.54 MB/sec
 Timing buffered disk reads: 4 MB in  4 seconds = 1.2 MB/sec

dd has similar results:
Code:
sudo dd if=/dev/zero of=/mnt/Media/test.out bs=1M count=1024
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB) copied, 10.1847 s, 103.2 MB/s
then after a few minutes of idle,

Code:
/mnt/Media$ sudo dd if=/dev/zero of=/mnt/Media/test.out bs=1M count=1024
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB) copied, 185.886 s, 5.8 MB/s

What have i done to rectify this thus far:

- I have changed the block size of the array several times.
- I have changed the stripe cache size to different sizes (with marginal improvements)
- I have followed pretty good instructions from this link: http://dennisfleurbaaij.blogspot.com...rray-with.html
- using parted to format the drive
- specifying explicit`s of the array (using meta 1.0)
- specifying the File System parameters (no super user space/stripe sizes etc)
again with marginal improvements..



I am really pulling my hair out in this one. I have a 2nd Raid 5 array with no problems at all. But this is directly attached to the board. I wondering if is the card causing buffering issues. Can anyone assist????? Please!!!
 
Old 06-17-2013, 07:32 PM   #2
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora/Pop!_OS
Posts: 2,983

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
FRAID is always slow no matter how strong your system is. get rid of the FRAID (your software RAID) and put in on a proper hardware solution with true RAID capabilities and your performance will improve.
 
Old 06-23-2013, 06:34 PM   #3
cyberblitz
LQ Newbie
 
Registered: Mar 2012
Posts: 19

Original Poster
Rep: Reputation: Disabled
Unfortunately, I receive the same speed without RAID. I experimented with the drives in isolation and i get the same results. I attached two of the drives directly to the board and two to the 4xPort card. The ones I attached to the board are where you'd expect the speeds to be, but the ones on the card are around 1.5mb/s (rubbish).. I conclude then it is the bloody card. I don't know why. I will investigate further. I will post on here if i find anything.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Very slow Raid performance - Only write speed iSpaZZZ^ Linux - Server 10 11-07-2014 01:31 AM
[SOLVED] software raid: adding "write-intent bitmap" overwrites data on raid device wijte Linux - Software 1 03-27-2013 02:34 PM
Disk write speed occuda Linux - Newbie 12 06-21-2005 11:36 PM
CD write speed mushmaster Linux - Hardware 10 03-13-2005 06:05 AM
Slow RAID write speed in RH9 Phaethar Linux - Hardware 0 12-09-2003 10:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration