SageTV Community  

Go Back   SageTV Community > SageTV Products > SageTV Software
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV Software Discussion related to the SageTV application produced by SageTV. Questions, issues, problems, suggestions, etc. relating to the SageTV software application should be posted here. (Check the descriptions of the other forums; all hardware related questions go in the Hardware Support forum, etc. And, post in the customizations forum instead if any customizations are active.)

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 05-03-2006, 07:25 PM
zz5's Avatar
zz5 zz5 is offline
Sage Aficionado
 
Join Date: May 2004
Posts: 332
flaws in the scheduling algorithm

This is a bug that's been in Sage since I started using it two years ago. When you have more than one thing scheduled to record at the same or close to the same time, and more than one recording drive, Sage will not always record things where there's room.

For example, I have 4 things set to record. 1 will need 1 gigabyte, 2 will need 2 gigabytes, and 1 will need 4 gigabytes. I have 5 recording drives. The first has 5GB's available, 3 have 2.5GB's, and the other has 1GB. There's plenty of space for all of these recordings, but Sage chooses to record everything but the 1GB recording on the drive with 5GB free.

Is there any way in Studio to set the location and encoder for a recording? I would really like to use my own scheduling algorithm. Even without this bug, it's the only way to make sure that certain things will be recorded if you're going to be gone a few days.
Reply With Quote
  #2  
Old 05-03-2006, 08:40 PM
Opus4's Avatar
Opus4 Opus4 is offline
Administrator
 
Join Date: Sep 2003
Location: NJ
Posts: 19,624
Quote:
Originally Posted by zz5
Is there any way in Studio to set the location and encoder for a recording?
No, but if you've got a reproducible problem with the scheduler and/or its recording placement, then I'm sure SageTV would like to hear about it from you.

- 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 05-03-2006, 09:11 PM
zz5's Avatar
zz5 zz5 is offline
Sage Aficionado
 
Join Date: May 2004
Posts: 332
I've sent this bug in a few times in the past. It's happened many times, but I can't really reproduce it, at least without a lot of work. I'm hoping to find some other people who've had this bug. If a recording runs out of space, but you had plenty of space on another drive, that would be this bug. This has happened to me many times. If I catch it fast enough, I can go ahead and delete something so there's enough space.
Reply With Quote
  #4  
Old 05-04-2006, 05:37 AM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
Does it throw a conflict, or just reschedule a recording for later?
Reply With Quote
  #5  
Old 05-04-2006, 11:02 AM
Narflex's Avatar
Narflex Narflex is offline
Sage
 
Join Date: Feb 2003
Location: Redondo Beach, CA
Posts: 6,349
Quote:
Originally Posted by zz5
This is a bug that's been in Sage since I started using it two years ago. When you have more than one thing scheduled to record at the same or close to the same time, and more than one recording drive, Sage will not always record things where there's room.

For example, I have 4 things set to record. 1 will need 1 gigabyte, 2 will need 2 gigabytes, and 1 will need 4 gigabytes. I have 5 recording drives. The first has 5GB's available, 3 have 2.5GB's, and the other has 1GB. There's plenty of space for all of these recordings, but Sage chooses to record everything but the 1GB recording on the drive with 5GB free.

Is there any way in Studio to set the location and encoder for a recording? I would really like to use my own scheduling algorithm. Even without this bug, it's the only way to make sure that certain things will be recorded if you're going to be gone a few days.
I just checked this out and it looks correct in SageTV so it should be doing what you're asking it to do. If you can reproduce the problem and send us the detailed information we'll gladly look into it. http://sagetv.com/bugs.html
__________________
Jeffrey Kardatzke
Google
Founder of SageTV
Reply With Quote
  #6  
Old 05-05-2006, 07:31 PM
zz5's Avatar
zz5 zz5 is offline
Sage Aficionado
 
Join Date: May 2004
Posts: 332
Thanks for the responses, everyone.

Let me give some more information about the situation that produced the bug above. I only use manual recordings. I don't use any favorites. So the question stanger89 is asking wouldn't apply. I know that most people do most of their recording with favorites, so most people wouldn't really notice this problem. I have seen a few people post about running out space and wondering why Sage scheduled a recording on a certain drive. I've sent in support requests in the past but so far they haven't been able to figure out the problem. It's just something I know can happen from time to time so I try to watch out for it, which is how I caught it this time.

Since this has happened many times in the past, I've taken notes on it to see if I could figure out what is happening. The thing that makes the problem difficult is that it doesn't happen every time. 3 out of 4 times it will work right. It's a pain to set up a test because you have to fill the drives up.

I have a few ideas about things to check:

The 4GB recording last night was a one hour show padded at the end by one hour. I pad all the shows by 2 minutes at the end and beginning. Is it possible Sage doesn't take into account padding when estimating recording space needed? The shows would have fit witout that extra 2GB worth of padding on that one show.

Is it possible there is some latency somewhere? Maybe Sage schedules ahead of time. Maybe when Sage queues resources, either because of Java or Windows there's some latency in reporting how much space is left.

Another idea is that maybe it's just something specific with my setup. Even though I've used Sage with three different motherboard chipsets and have always had this problem, I've almost always had a 350 mixed with 250's. This mix has caused problems and still has a few problems I have to work around. I have no specific reason to think so, but maybe the 350 is preventing proper resource queuing.

Another idea is that maybe Sage is just overestimating the space needed by a lot. If this is what it is, then it's not really a problem because I would just make sure I had more space.

Anyway, I'm just throwing out some ideas. Thanks for testing this out, Narflex.
Reply With Quote
  #7  
Old 05-05-2006, 07:36 PM
Narflex's Avatar
Narflex Narflex is offline
Sage
 
Join Date: Feb 2003
Location: Redondo Beach, CA
Posts: 6,349
SageTV does take padding into account when estimating the space needed: CHECK

Latency; SageTV does keep a little buffer of disk space, probably around 500MB per drive (depends upon a few things).

It may be overestimating the space...are you using VBR or CBR qualities to record? CBR is very accurate with estimation but VBR is usually off somewhat.
__________________
Jeffrey Kardatzke
Google
Founder of SageTV
Reply With Quote
  #8  
Old 05-09-2006, 12:18 PM
zz5's Avatar
zz5 zz5 is offline
Sage Aficionado
 
Join Date: May 2004
Posts: 332
Thanks Narflex.

The recordings in my example above were all in Great mode so that would be CBR.

I took a look at the notes I made when trying to figure out this problem in the past. I will have to do some more testing to see if the problem is just needing to have a little more free space per drive.
Reply With Quote
  #9  
Old 05-09-2006, 12:46 PM
jominor's Avatar
jominor jominor is offline
Sage Expert
 
Join Date: Dec 2003
Posts: 573
Quote:
Originally Posted by Narflex
SageTV does take padding into account when estimating the space needed: CHECK

Latency; SageTV does keep a little buffer of disk space, probably around 500MB per drive (depends upon a few things).

It may be overestimating the space...are you using VBR or CBR qualities to record? CBR is very accurate with estimation but VBR is usually off somewhat.
Does the setting that tells Sage to keep X amount of space free influence that buffer? I have all my drives set to keep 5gig free(for things defragging).
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


All times are GMT -6. The time now is 07:47 AM.


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