View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 12 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Wed May 17, 2006 10:41 pm 
Offline
Joined: Tue Feb 21, 2006 10:55 am
Posts: 98
I brought my second HD5000 (QAM from Comcast cable) tuner online for the first time tonight and set Myth up to record Lost and Amazing race at the same time. And in addition, my PVR500 was recording a show on one tuner and my son was watching liveTV on the other tuner on a different frontend. At about 8:30, I started watching Amazing Race and the performance hit a nasty brick wall.

Playback was horrible, as the recording would pause every few seconds. Once the 2 HD recordings ended at 9pm, everything started playing back beautifully.

CPU on both the Frontend and the Backend systems looked fantastic. My hard drive on the otherhand was getting hammered, obviously writing 2 HD streams from the HD5000 and 2 from the PVR500 and then trying to read the HD stream for one frontend and read an SD stream on the other frontend was just too much for the drive to handle.

I did confirm that I have DMA enabled, that isnt the problem.

Has anyone else pushed their system this hard? Any ideas? I'm thinking of a Raid0 stripe to distribute the disk IO load across multiple spindles might do the trick. Right now my LVM setup is a basic concat and thus all IO tends to go to the first drive until it's filled up.

Would putting the second HD tuner in a slave backend make any difference? They still need to write to the same disk in the end.

Thanks for any ideas.


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 17, 2006 11:17 pm 
Offline
Joined: Sun Sep 05, 2004 7:06 pm
Posts: 690
I say that Raid is the way to go. You could start with Raid 0 but it's risky if you lose a drive then you lose everything.

Brandon gives a lot of good info on his site

http://www.linuxis.us/linux/media/howto ... rives.html

I'd recommed Raid V and use bonnie++ to run a benchmark test

If you can please post your results


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 18, 2006 12:19 am 
Offline
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location: Nashville, TN
My bet is that you have commflag enabled. I run just about as much stuff as you were talking about, and I never have any problems unless an hd program is getting commflagged. Then I have the exact issues you described.

_________________
Have a question search the forum and have a look at the KnoppMythWiki.

Xsecrets


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 26, 2006 8:25 pm 
Offline
Joined: Thu Feb 09, 2006 2:42 pm
Posts: 11
Xsecrets wrote:
My bet is that you have commflag enabled. I run just about as much stuff as you were talking about, and I never have any problems unless an hd program is getting commflagged. Then I have the exact issues you described.


I second that. I have 2 HD cards and dual record and watch with a seperate frontend. I don't have the 500 like you do, but the only time I ever had an issue of choppy was when it was auto set to find commercials. I never search for them now and have had 0 problems.

My backend is a AMD 1900 w/ 2 Air2PC HD5000 cards. Frontend is a AMD 3000.

-duhasst


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 27, 2006 9:11 am 
Offline
Joined: Sun Jul 09, 2006 7:54 pm
Posts: 29
Mythcommflag has a nasty issue, at least when used with the 'ck' kernel patchset (which I believe Knoppmyth R5D1 kernel chw-8 contains):

It tries to be "nice" by decoding one frame and then sleeping for 10 milliseconds. Unfortunately, this causes the scheduler to raise its priority, usually to above that of the poor hardworking decoder task. So next time it runs, it blocks the decoder task and you get your pause.

Paradoxically, _removing_ the sleep removes the problem. Then mythcommflag appears to the system to be the CPU-hog it is, and it's left at low priority.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Dec 16, 2006 11:49 am 
Offline
Joined: Mon Apr 10, 2006 3:48 pm
Posts: 997
Location: Lexington, Ky
From the last post:

Quote:
Paradoxically, _removing_ the sleep removes the problem. Then mythcommflag appears to the system to be the CPU-hog it is, and it's left at low priority.

How would one go about doing this?


Top
 Profile  
 
 Post subject:
PostPosted: Sun Dec 17, 2006 12:20 pm 
Offline
Joined: Fri Nov 25, 2005 10:22 pm
Posts: 73
This was discussed previously:
http://mysettopbox.tv/phpBB2/viewtopic.php?t=11706&

My solution was to just change the allowed time to start commflag jobs to when I'm sleeping. (This is done in mythtv-setup).

-Sean


Top
 Profile  
 
 Post subject:
PostPosted: Sun Dec 17, 2006 12:46 pm 
Offline
Joined: Mon Apr 10, 2006 3:48 pm
Posts: 997
Location: Lexington, Ky
Thanks! I'll give it a try!


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jan 08, 2007 11:49 pm 
Offline
Joined: Tue Jul 12, 2005 8:01 am
Posts: 670
Location: Salem, MA
Is there anyway to have commflag run only during specific time periods? I would like all my comflagging to run from 1am to 4am, but I don't know how to do this or if it can even be done.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jan 08, 2007 11:58 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
I believe that mythtv-setup lets you select a time window for this under the "General" screens.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 09, 2007 8:54 am 
Offline
Joined: Mon Apr 10, 2006 3:48 pm
Posts: 997
Location: Lexington, Ky
tjc is correct. I Just changed the time to allow jobs between 0:00 and 12:00


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 09, 2007 4:19 pm 
Offline
Joined: Tue Jul 12, 2005 8:01 am
Posts: 670
Location: Salem, MA
Cool, I'll have to try this...

Now that I'm recording HD, i'd rather it didn't start commflagging while it's recording another show...


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 12 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 60 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu