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 04-23-2017, 09:25 AM
Doubledose's Avatar
Doubledose Doubledose is offline
Sage Aficionado
 
Join Date: Feb 2010
Location: N. E. Indiana
Posts: 309
Sage startup time

How long does it normally take sage tv to load up? I am taking about 1 1/2 minutes to load up. I thought it was because I had 2 old tuners that I had disabled. I pulled them out this morning and took all references to the cards out of sage properties file ( see post below ) but still takes forever for sage to load. Is this normal for version 9? I don't remember it taking as long when I was running v7. V9 was an update install.
Thanks for any info
Wayne
__________________
New setup 1-22
GIGABYTE B560 HD3 MB | Intel I5 6 core CPU | 500 GB WD SSD system drive | (2) 2TB Western Digital SSD drives pooled | 16 GB DDR ram | UHD 630 on board graphics| Win 10 64 bit | SageTV 9 | (5) Sage HD TV extenders | (1) HDHomeRun quad tuner HD OTA | (1) HDHomeRun Dual tuner HD OTA | (2) 1512 HD-PVR2s recording from 2 Dish Network VIP 211K's with Uirt ir control | MX-700 Home theater remote | 60" LED TV | (4) 32" Lcd TV's

Last edited by Doubledose; 04-23-2017 at 09:27 AM.
Reply With Quote
  #2  
Old 04-23-2017, 11:45 AM
NetworkGuy NetworkGuy is offline
Sage Fanatic
 
Join Date: Dec 2009
Location: Central NJ
Posts: 869
See this post for a possible solution. https://forums.sagetv.com/forums/sho...light=start-up
__________________
Hardware: Intel Core i5-3330 CPU; 8GB (2 x 4GB); 2-4TB WD Blue SATA 6.0Gb/s HDD; Windows 7
Servers: ChannelsDVR, Plex, AnyStream, PlayOn,
Tuner: HDHomeRun Connect Quatro
Tuner: HDHomeRun Connect Duo
Sources: OTA, Sling Blue, Prime, Disney+,
Clients: ShieldTV (2), Fire TV Stick 4K (4)
Reply With Quote
  #3  
Old 04-23-2017, 01:20 PM
Doubledose's Avatar
Doubledose Doubledose is offline
Sage Aficionado
 
Join Date: Feb 2010
Location: N. E. Indiana
Posts: 309
Thanks for the info. That seams to have made a big difference. I looked right by that post, did not put initializing with long boot time.
Thanks
Wayne
__________________
New setup 1-22
GIGABYTE B560 HD3 MB | Intel I5 6 core CPU | 500 GB WD SSD system drive | (2) 2TB Western Digital SSD drives pooled | 16 GB DDR ram | UHD 630 on board graphics| Win 10 64 bit | SageTV 9 | (5) Sage HD TV extenders | (1) HDHomeRun quad tuner HD OTA | (1) HDHomeRun Dual tuner HD OTA | (2) 1512 HD-PVR2s recording from 2 Dish Network VIP 211K's with Uirt ir control | MX-700 Home theater remote | 60" LED TV | (4) 32" Lcd TV's

Last edited by Doubledose; 04-23-2017 at 01:24 PM.
Reply With Quote
  #4  
Old 04-23-2017, 06:15 PM
waynedunham waynedunham is offline
Sage Icon
 
Join Date: Sep 2004
Posts: 1,469
Quote:
Originally Posted by Doubledose View Post
How long does it normally take sage tv to load up? I am taking about 1 1/2 minutes to load up. I thought it was because I had 2 old tuners that I had disabled. I pulled them out this morning and took all references to the cards out of sage properties file ( see post below ) but still takes forever for sage to load. Is this normal for version 9? I don't remember it taking as long when I was running v7. V9 was an update install.
Thanks for any info
Wayne
Wow, I wish I could get startup times even remotely close to that! Startup from starting the SageTV service until I can "see" the server on my extenders is over 20 minutes for me on both of my SageTV servers.

I can't use the info in the link given because I DO use Intelligent Recording so I can't really delay that. Probably contributing to the slow startup for me is the # of tuners I have on each server (8 on one and 9 on the other) with multiple lineups on each server as well. (Cable for STB/HD-PVR, Cable limited for HDHR Prime and OTA)

I don't know why, but V9 is even slower than V7 was. Same # of tuners, same lineups yet my startup time has almost doubled.
__________________
Wayne Dunham
Reply With Quote
  #5  
Old 04-23-2017, 07:22 PM
egeller egeller is offline
Sage Aficionado
 
Join Date: Feb 2006
Location: Drexel Hill, PA
Posts: 334
For me, restarting SageTV has to be a planned event. Before restarting, I go through the schedule of upcoming recordings for the next 12 hours, mark the intelligent recordings I want to record as manual recordings, then restart Sage, using the fast-restart option. Sage comes back quick, recording favorites and manual recordings. However, intelligent recordings are not scheduled for about 7 hours or so. I do not remember it being much different with V7. I recently moved SageTV from Windows 10 to Unraid, and it still takes about the same 7 hours or more.
__________________
Server:UnRaid;2x Intel Xeon E5; SuperMicro moboard;Also:BM3000 w/ WMC; 2x Ceton ETH 6; OpenDCT
SageTV Extender:3x HD200 1x HD300 1xFireTV
Sage TV: 9.2 on Java 11, Standard STVi, Comskip Playback, Web Interface, 24 Hour Clock, SRE, Playon
All in lovely Drexel Hill, PA
Reply With Quote
  #6  
Old 04-24-2017, 05:47 AM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
Quote:
Originally Posted by NetworkGuy View Post
See this post for a possible solution. https://forums.sagetv.com/forums/sho...light=start-up
That's the setting you want, if you've got a lot of history, it can take Sage a very long time to initialize without it.
Reply With Quote
  #7  
Old 04-24-2017, 06:47 AM
Tiki's Avatar
Tiki Tiki is offline
Sage Icon
 
Join Date: Feb 2005
Location: Southwest Florida, USA
Posts: 2,009
Quote:
Originally Posted by waynedunham View Post
Wow, I wish I could get startup times even remotely close to that! Startup from starting the SageTV service until I can "see" the server on my extenders is over 20 minutes for me on both of my SageTV servers.

I can't use the info in the link given because I DO use Intelligent Recording so I can't really delay that. Probably contributing to the slow startup for me is the # of tuners I have on each server (8 on one and 9 on the other) with multiple lineups on each server as well. (Cable for STB/HD-PVR, Cable limited for HDHR Prime and OTA)

I don't know why, but V9 is even slower than V7 was. Same # of tuners, same lineups yet my startup time has almost doubled.
I don't understand the logic here. Changing this property won't disable intelligent recordings, it just delays them a bit. IR is just meant to fill in the gaps and catch some additional shows you might be interested in. Nothing it records should be considered critical (if something you really care about is on, it should be set as a Favorite or Manual Recording).
__________________
Server: Ryzen 2400G with integrated graphics, ASRock X470 Taichi Motherboard, HDMI output to Vizio 1080p LCD, Win10-64Bit (Professional), 16GB RAM
Capture Devices (7 tuners): Colossus (x1), HDHR Prime (x2)
,USBUIRT (multi-zone)
Source:
Comcast/Xfinity X1 Cable
Primary Client: Server Other Clients: (1) HD200, (1) HD300
Retired Equipment: MediaMVP, PVR150 (x2), PVR150MCE,
HDHR, HVR-2250, HD-PVR
Reply With Quote
  #8  
Old 04-24-2017, 10:36 AM
EnterNoEscape's Avatar
EnterNoEscape EnterNoEscape is offline
SageTVaholic
 
Join Date: Jun 2010
Location: Harrisburg, PA
Posts: 2,657
Quote:
Originally Posted by waynedunham View Post
Wow, I wish I could get startup times even remotely close to that! Startup from starting the SageTV service until I can "see" the server on my extenders is over 20 minutes for me on both of my SageTV servers.

I can't use the info in the link given because I DO use Intelligent Recording so I can't really delay that. Probably contributing to the slow startup for me is the # of tuners I have on each server (8 on one and 9 on the other) with multiple lineups on each server as well. (Cable for STB/HD-PVR, Cable limited for HDHR Prime and OTA)

I don't know why, but V9 is even slower than V7 was. Same # of tuners, same lineups yet my startup time has almost doubled.
I am finishing up a massive optimization for Carny that I will be submitting soon to the core project. It took me from 6 minutes for full init on startup down to 2 seconds which then makes limited init almost pointless. Through verification I can also say that the results were exactly the same as what I would have seen via the "long" way. This is achieved by making maps of airings based on what the agents will want to look up instead of processing each airing sequentially across all of the agents. It's also multi-threaded which gives it an additional boost that's almost linear on the quad core I am testing on.
__________________
SageTV v9 Server: ASRock Z97 Extreme4, Intel i7-4790K @ 4.4Ghz, 32GB RAM, 6x 3TB 7200rpm HD, 2x 5TB 7200rpm HD, 2x 6TB 7200rpm HD, 4x 256GB SSD, 4x 500GB SSD, unRAID Pro 6.7.2 (Dual Parity + SSD Cache).
Capture: 1x Ceton InfiniTV 4 (ClearQAM), 2x Ceton InfiniTV 6, 1x BM1000-HDMI, 1x BM3500-HDMI.

Clients: 1x HD300 (Living Room), 1x HD200 (Master Bedroom).
Software: OpenDCT :: WMC Live TV Tuner :: Schedules Direct EPG
Reply With Quote
  #9  
Old 04-24-2017, 03:00 PM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,491
(This seems to be the Wayne thread so I guess I have to contribute)
I don't have excessive startup times despite the fact that my primary system has been running for many years. Perhaps it is because I don't use Intelligent Recording?
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA
Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA
Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server
Reply With Quote
  #10  
Old 04-24-2017, 04:53 PM
KryptoNyte's Avatar
KryptoNyte KryptoNyte is offline
SageTVaholic
 
Join Date: Dec 2006
Posts: 2,754
Quote:
Originally Posted by EnterNoEscape View Post
I am finishing up a massive optimization for Carny that I will be submitting soon to the core project. It took me from 6 minutes for full init on startup down to 2 seconds which then makes limited init almost pointless. Through verification I can also say that the results were exactly the same as what I would have seen via the "long" way. This is achieved by making maps of airings based on what the agents will want to look up instead of processing each airing sequentially across all of the agents. It's also multi-threaded which gives it an additional boost that's almost linear on the quad core I am testing on.
Holy crap - that's some solid work right there.
Reply With Quote
  #11  
Old 04-24-2017, 05:04 PM
waynedunham waynedunham is offline
Sage Icon
 
Join Date: Sep 2004
Posts: 1,469
Quote:
Originally Posted by wayner View Post
(This seems to be the Wayne thread so I guess I have to contribute)
I don't have excessive startup times despite the fact that my primary system has been running for many years. Perhaps it is because I don't use Intelligent Recording?
I'm relatively sure that it is. I just can't see using that speedy setting if it delays SageTV setting up IR recordings up to 7 hours. In my use that is just WAYYY too long.

I wonder if it is the same reason that if I watch and then delete a favorite recording it will record the same episode again (as a favorite, not an IR) even though it is marked as watched if the next airing comes in about a 7 hour window? If I leave the watched episode and don't delete it, SageTV won't record the episode again in that approx. 7 hr window.
__________________
Wayne Dunham
Reply With Quote
  #12  
Old 04-24-2017, 05:06 PM
waynedunham waynedunham is offline
Sage Icon
 
Join Date: Sep 2004
Posts: 1,469
Quote:
Originally Posted by EnterNoEscape View Post
I am finishing up a massive optimization for Carny that I will be submitting soon to the core project. It took me from 6 minutes for full init on startup down to 2 seconds which then makes limited init almost pointless. Through verification I can also say that the results were exactly the same as what I would have seen via the "long" way. This is achieved by making maps of airings based on what the agents will want to look up instead of processing each airing sequentially across all of the agents. It's also multi-threaded which gives it an additional boost that's almost linear on the quad core I am testing on.
I'll eagerly await this new code. If it cuts my startup times to a reasonable time even with IR I will send you many virtual beers! (and many real ones should we ever meet)

Interesting reading that linked thread where you and Narflex are discussing the changes. I about fell out of my chair when I saw this from Narflex "It takes about 1.5 days for Carny to
run a full cycle on my DB because it has 15 years of history in it. :-)"

My DB goes back many, many years as well. It might even be the same one that started back when I first installed SageTV (ver 4 if I recall)

I will say this. On both of my servers when I first changed over to Schedules Direct it threw IR into a tizzy marking literally hundreds of programs (Hey, this guy has 9 tuners, let's see if we can keep them all full, all the time!). Probably the biggest round of marking things "Don't Like" I've ever had, even the first time I turned IR on back in the day.
__________________
Wayne Dunham

Last edited by waynedunham; 04-24-2017 at 05:17 PM.
Reply With Quote
  #13  
Old 04-24-2017, 05:19 PM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,491
Quote:
Originally Posted by KryptoNyte View Post
Holy crap - that's some solid work right there.
Agreed - well done. Is there something similar that could speed up media file scanning. That can take forever if you have lots of media files.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA
Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA
Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server
Reply With Quote
  #14  
Old 04-24-2017, 08:19 PM
egeller egeller is offline
Sage Aficionado
 
Join Date: Feb 2006
Location: Drexel Hill, PA
Posts: 334
Quote:
Originally Posted by EnterNoEscape View Post
I am finishing up a massive optimization for Carny that I will be submitting soon to the core project.
ENE
This sounds exciting. Do you have any idea as to when it will it be released into the wild?

EG
__________________
Server:UnRaid;2x Intel Xeon E5; SuperMicro moboard;Also:BM3000 w/ WMC; 2x Ceton ETH 6; OpenDCT
SageTV Extender:3x HD200 1x HD300 1xFireTV
Sage TV: 9.2 on Java 11, Standard STVi, Comskip Playback, Web Interface, 24 Hour Clock, SRE, Playon
All in lovely Drexel Hill, PA
Reply With Quote
  #15  
Old 04-24-2017, 09:25 PM
EnterNoEscape's Avatar
EnterNoEscape EnterNoEscape is offline
SageTVaholic
 
Join Date: Jun 2010
Location: Harrisburg, PA
Posts: 2,657
Quote:
Originally Posted by egeller View Post
ENE
This sounds exciting. Do you have any idea as to when it will it be released into the wild?

EG
I'm also updating the change log with everything I have added and others have added to date. There have been a few good things fixed in 9.0.15, so I'll probably ask for a new release a week after committing just so that I can break it in more and see if I have any horrible problems with the new code. I suspect not and for once the upgrade doesn't come with database changes, so you could go back to 9.0.14 without any real problems should things be horribly broken for you.
__________________
SageTV v9 Server: ASRock Z97 Extreme4, Intel i7-4790K @ 4.4Ghz, 32GB RAM, 6x 3TB 7200rpm HD, 2x 5TB 7200rpm HD, 2x 6TB 7200rpm HD, 4x 256GB SSD, 4x 500GB SSD, unRAID Pro 6.7.2 (Dual Parity + SSD Cache).
Capture: 1x Ceton InfiniTV 4 (ClearQAM), 2x Ceton InfiniTV 6, 1x BM1000-HDMI, 1x BM3500-HDMI.

Clients: 1x HD300 (Living Room), 1x HD200 (Master Bedroom).
Software: OpenDCT :: WMC Live TV Tuner :: Schedules Direct EPG
Reply With Quote
  #16  
Old 04-24-2017, 09:35 PM
EnterNoEscape's Avatar
EnterNoEscape EnterNoEscape is offline
SageTVaholic
 
Join Date: Jun 2010
Location: Harrisburg, PA
Posts: 2,657
Quote:
Originally Posted by wayner View Post
Agreed - well done. Is there something similar that could speed up media file scanning. That can take forever if you have lots of media files.
Media file scanning takes a while for very different reasons, so I doubt we can enhance that by much. In Carny, we were just being extremely inefficient because the desired data couldn't be easily reduced to a few thousand hashes. With files, I don't think we're doing anything that could be optimized in a similar way.
__________________
SageTV v9 Server: ASRock Z97 Extreme4, Intel i7-4790K @ 4.4Ghz, 32GB RAM, 6x 3TB 7200rpm HD, 2x 5TB 7200rpm HD, 2x 6TB 7200rpm HD, 4x 256GB SSD, 4x 500GB SSD, unRAID Pro 6.7.2 (Dual Parity + SSD Cache).
Capture: 1x Ceton InfiniTV 4 (ClearQAM), 2x Ceton InfiniTV 6, 1x BM1000-HDMI, 1x BM3500-HDMI.

Clients: 1x HD300 (Living Room), 1x HD200 (Master Bedroom).
Software: OpenDCT :: WMC Live TV Tuner :: Schedules Direct EPG
Reply With Quote
  #17  
Old 04-25-2017, 07:10 AM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,491
The thing that seems to take a long time is music files - because you tend to have tens of thousand of those compared to far fewer video files. It would be nice if you could do scans by type of media - video, photo, music. That would help a lot as this generally hits me when I add a new video file, I have to start a scan and wait 5 minutes or so to finish. Then I often have to make some changes/corrections to metadata if it didn't scrape correctly.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA
Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA
Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server
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
Service startup hangs on system startup Sparhawk6 SageTV Software 6 04-08-2010 08:35 PM
Sage 5 Hangs at Startup didymus7 SageTV Software 7 11-10-2006 05:03 PM
Sage sometimes quits on startup Grasshopper SageTV Software 0 05-31-2004 04:41 AM
hang during startup 10-20% of the time jman SageTV Software 8 10-30-2003 10:32 PM
Startup Time is Huge, Sage Hangs on Sys Info, using lots of CPU mangriotis SageTV Beta Test Software 9 08-14-2003 12:41 PM


All times are GMT -6. The time now is 06:52 AM.


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