LinuxMCE Forums
May 22, 2013, 07:18:12 am GMT-1 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com
 
   Home   Help Search Chat Login Register  
Pages: [1]
  Print  
Author Topic: SOLVED - RAID 5 problem - TOO slow - Pls help!  (Read 1227 times)
pw44
Addicted
*
Posts: 651


View Profile
« on: February 04, 2010, 01:48:44 pm »

Hya,
after upgrading my hybrid (Asus M3N78-VM with AMD 955 and 2 GB), i've installed 4 drives:
1 with 320 GB for boot and system and 3 drives with 500 GB each and configured these 3 drives with mdadm making a RAID 5 array (/dev/md0).
My problem:
after transfering almost all my videos (avi, mkv, mpg, etc), when trying to play any of them, i get freezing during the playback, at the very beginning... then it accelerates the play and stops again.... during this freezings, the mouse also stops for a while.
The drive led indicator remains lit during this freezings.
I think that the array is simply too slow transfering the files... and that it's management drains all the resources.
Did anyone had such an experience or knows what could be happening?
It's the first time i'm trying to use mdadm and a RAID 5 array.
TIA

Paulo
« Last Edit: February 10, 2010, 02:26:05 pm by pw44 » Logged
jimbodude
Guru
****
Posts: 372


View Profile
« Reply #1 on: February 04, 2010, 03:53:20 pm »

I have never had performance issues of that magnitude while using mdadm - and I've been using it for years.  You may want to check the SMART status on those drives - if you're having read errors, then things will slow down to a crawl quickly.
Logged
pw44
Addicted
*
Posts: 651


View Profile
« Reply #2 on: February 04, 2010, 04:54:33 pm »

Could it be related with rebuild or resync? Because it was build with mdadm, and after build, i transfered around 250 GB of files. After this initial transfer, the computer was shut down. The next day, i started lmce and imediately tryed to play movies. The computer slowed down up to freeze the mouse. I restarded the computer again, thinking something hanged. Tryed to start the other partition, with a kubuntu only. The same happened, slowing down up to freeze the mouse. I shutted it down again.
I suspect that after transfering files, the raid system needs a time to rebuild or resync. Am i right?
Logged
jimbodude
Guru
****
Posts: 372


View Profile
« Reply #3 on: February 04, 2010, 04:57:58 pm »

well, it's easy to check that theory:
Code:
mdadm --detail /dev/md0
Logged
pw44
Addicted
*
Posts: 651


View Profile
« Reply #4 on: February 04, 2010, 05:06:02 pm »

Thx, i will try and give a feedback.
BTW, how do i create a wiki with my configuration, experience and workarounds?
Logged
jimbodude
Guru
****
Posts: 372


View Profile
« Reply #5 on: February 04, 2010, 05:09:41 pm »

...log in to wiki, click your username, type what you like.  Look at the source for some other peoples' to see how to tag it with categories and such.
Logged
pw44
Addicted
*
Posts: 651


View Profile
« Reply #6 on: February 10, 2010, 02:25:32 pm »

The problem was RAID sync.. it took almost 1 day running (3 x 500 GB drives in a RAID 5), making file access very slow and freezing for a period of time.....
It now runs as it should... Smiley
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!