SageTV Community  

Go Back   SageTV Community > Hardware Support > Hardware Support
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

Hardware Support Discussions related to using various hardware setups with SageTV products. Anything relating to capture cards, remotes, infrared receivers/transmitters, system compatibility or other hardware related problems or suggestions should be posted here.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 04-25-2008, 07:46 AM
gcrafton gcrafton is offline
New Member
 
Join Date: Apr 2008
Posts: 1
Disk selection recording algorithm

I'm new to SageTv so this may have already been discussed before.

I have 2 recording drives (formatted for 64K clusters) and was recording 3 HD channels last night starting at 8:00 and 9:00 while watch one of the channels. I was having some intermittent stutter, which I hadn't seen before.

When trying to figure out what the problem was I noticed that all 3 tuners were recording on one disk at 8:00 and then they all switched to the other disk at 9:00. So SageTV was recording 3 HD streams and reading 1 HD stream from single drive while the other was Idle. This is pretty I/O intensive for a single disk.

In looking at the documentation for SageTV it states that it will use the disk with the most free space to start the next recording (which is what it did). If I had 10 tuners and 10 disks with 10 shows recording all starting at the same time, SageTV would be writing 10 streams to 1 disk while the other 9 are Idle. It seems that this algorithm should be changed to better share the disk I/O load over the available disks.

Two possible solutions are:

1) As each tuner starts, it calculates how much space it will use and removes that from the free space on the disk that it is using. This would help spread the load once the disk have about the same free space, but would still have problems when adding a new large disk to your system unless you moved some files around manually to balance the disks free space.

2) Add a couple of properties to each disk to denote the number of recording streams it can handle, Standard and Max. Still use the free space rule to determine which disk gets picked to record on, but also check to see if the Standard number of recording streams has been reached to move to the next most free disk. After all of the disks are at their Standard number of recordings streams, switch disks for each new recording until the Max is reached.

I really love all the neat features that SageTV has, but the ability to function as a PVR without stuttering should be a priority.
Reply With Quote
  #2  
Old 04-25-2008, 09:15 AM
Opus4's Avatar
Opus4 Opus4 is offline
Administrator
 
Join Date: Sep 2003
Location: NJ
Posts: 19,624
You could try playing with this property:
mmc/encoders/<some#>/forced_video_storage_path_prefix=

A couple links to previous discussions of its use are here and here.

- Andy
__________________
SageTV Open Source v9 is available.
- Read the SageTV FAQ. Older PDF User's Guides mostly still apply: SageTV V7.0 & SageTV Studio v7.1.
- Hauppauge remote help: 1) Basics/Extending it 2) Replace it 3) Use it w/o needing focus
- HD Extenders: A) FAQs B) URC MX-700 remote setup
Note: This is a users' forum; see the Rules. For official tech support fill out a Support Request.
Reply With Quote
  #3  
Old 04-25-2008, 11:30 AM
White94Cobra's Avatar
White94Cobra White94Cobra is offline
Sage Expert
 
Join Date: May 2003
Location: West Coast
Posts: 557
I agree that Sage could use some work on what drive(s) it uses when recording multiple streams at the same time. As quasi work-around for this, I stagger the start time of shows that I know are on at the same time. On some nights I have 5 shows start at the same time. If I don't stagger their start time, sometimes 1 or 2 of the shows fails to start recording (I guess too much activity on one drive at one time). Assuming Sage is keeping free space on each drive balanced, this usually (but not always) allows for Sage to use more than one drive for simultaneous recordings.
__________________
----------------------------------------------
Core2Quad Q6600 @ 3GHz, 4 Gig DDR2-800, 8.5 TB storage, 8800GTS PCIe, Windows 7 32bit, Hauppauge HD-PVR, Hauppauge HVR-2250, HD-HomeRun, Fusion 5 USB Gold ATSC, SageTV v7.x, HD100, HD200, HD300, 60" Mitsubishi DLP
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
SageTV FAQ Narflex SageTV Software 45 04-15-2011 08:34 AM
Feature idea: Wrong recording while the program is running Nadim SageTV Beta Test Software 1 07-08-2007 06:07 PM
Stop Recording joe123 SageTV Software 6 02-02-2006 05:26 PM
Recording artefacts upon editing. Freerider4 SageTV Software 0 02-01-2006 09:13 PM
SageTV Recording NOT showing Movies on Disk joe123 SageTV Software 5 01-13-2006 12:18 AM


All times are GMT -6. The time now is 06:43 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.