SageTV Community  

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

Notices

SageTV Media Extender Discussion related to any SageTV Media Extender used directly by SageTV. Questions, issues, problems, suggestions, etc. relating to a SageTV supported media extender should be posted here. Use the SageTV HD Theater - Media Player forum for issues related to using an HD Theater while not connected to a SageTV server.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 02-02-2012, 09:08 AM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,491
Is there any point in switch off a Sage extender?

I recently had problems with Sage I was trying to use about 7 seven extenders. While troubleshooting this problem I discovered that the memory usage of Sage goes up when you turn on an extender but that memory is not given up when the extender is shut off. So if I start using all of my extenders I have to do a therapeutic restart of the Sage service.

Therefore what is the purpose of shutting of an extender? I believe it remains in "standby" state so I am guessing that there is very little change in power consumption - you can even see the green network light flashing when an HD-200 is "off" so you know that the CPU is still somewhat alive.

Shutting the extender off will mean that switching back to it will take a longer period of time - perhaps 10 seconds or more for the extender to connect to the server plus the wait time for the automatic connect.

So there is a downside to shutting off an extender - is there any upside? (Other than turning the annoyingly bright blue light on an HD-300 to red)
__________________
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
  #2  
Old 02-02-2012, 10:25 AM
Slugger Slugger is offline
SageTVaholic
 
Join Date: Mar 2007
Location: Kingston, ON
Posts: 4,008
"Powering off" an extender is supposed to free the heap memory it was consuming. Now, you won't see a decrease via task manager or other OS tools because even though the heap is freed by the JVM, once allocated the memory is not returned to the OS as long as the JVM remains running (but that heap memory is free for the JVM to reassign to other threads as necessary).

There have been plugins in the past that caused issues where a disconnected extender would not release its allocated heap because a plugin incorrectly maintained references to objects that disallowed garbage collection. I don't remember the plugin(s) in question as this was probably at least 18-24 months back that I hit it, but any plugin could be causing issues like this.

In general, it's best to disconnect/"power off" extenders that aren't is use and at least give the opportunity for the JVM to reclaim heap previously consumed by that extender.
__________________
Twitter: @ddb_db
Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive
Capture: 2 x Colossus
STB Controller: 1 x USB-UIRT
Software:Java 1.7.0_71; SageTV 7.1.9
Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter
Plugins: Too many to list now...
Reply With Quote
  #3  
Old 02-02-2012, 11:00 AM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,491
You saw my posts about a month ago as I was running into problems with this. I had six extenders for about 8 months without problems. I added a seventh extender but never used it until I had relatives visiting over Christmas. Sage started to throw out of memory errors at that time.

This was even though there were never more than 3-4 extenders connected simultaneously. One thing that was exacerbating the problem was that SageTCPServer has an option to power on all extenders upon a Sage reboot. This was set to True so it was causing SageTVService to use 1.2GB of memory (according to Task Manager) within a couple of minutes of restarting the Sage service. I am pretty sure that everything was fine until that seventh extender was added and SageTCPServer has been on my system with this option turned on for months as well.

I now don't get these problems unless the Sage service hasn't been restarted in a week or two and we have started to use all of the extenders - once again no more than 3-4 simultaneously.

So my experience has been that the memory does not get released when an extender is shut off but I am just guessing as I am going by Task Manager and the behaviour of Sage which becomes slow and will throw an Out of Memory System Message.

Are there any tools that would give more granular info into the JVM heap use of memory?

But from my experience if you have six or less extenders then you are likely not going to run into problems leaving them on all the time.
__________________
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
  #4  
Old 02-02-2012, 01:02 PM
will will is offline
Sage Fanatic
 
Join Date: Jul 2009
Location: New York
Posts: 798
Is there any negative impacts to memory usage when running multiple PC-based clients?

I'm guessing no because the PC client does all the UI renderings natively (unlike the extenders).
__________________
Will

OS: Windows 7
Hardware: Intel Core i7-920 with 12GB RAM & an Adaptec 5805 with a Chenbro 36-port SAS Expander
Case: Antec 1200 with 4 iStarUSA trayless hot-swap cages (20 drives max)
Drives: 8 Toshiba/Hitachi 2TB drives in a RAID 6 & 7 Toshiba 3TB drives in a RAID 6
Capture Cards: HDHomeRun Connect Quatro 4, Hauppauge 60 HD-PVR
Players: 5 HD300s, 2 HD200s
Reply With Quote
  #5  
Old 02-02-2012, 01:48 PM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
Quote:
Originally Posted by will View Post
Is there any negative impacts to memory usage when running multiple PC-based clients?

I'm guessing no because the PC client does all the UI renderings natively (unlike the extenders).
It will consume a little extra heap on the Sage server, but not much. IMHO this is about the only positive thing about clients vs. extenders.
__________________

Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders.
Reply With Quote
  #6  
Old 02-02-2012, 04:09 PM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,491
There are other positive things about clients since it is easier to integrate external applications like Netflix, Hulu, etc.
__________________
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
  #7  
Old 02-05-2012, 03:26 AM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
And external BD playback (Menus, BDLive, 3D, etc). Oh.. and these days, I think clients are cheaper... - if you can 'find' an extra license..
__________________
Buy Fuzzy a beer! (Fuzzy likes beer)

unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers.
Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA.
Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S
Other Clients: Mi Box in Master Bedroom, HD-200 in kids room
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
Switch Blu-Ray Titles on Extender jmctv8 SageTV Beta Test Software 2 05-29-2009 03:51 PM
HDMI Switch with HD Extender? Griff Hardware Support 3 03-07-2008 12:13 PM
Can MVP point to a specific Sage Server? cmaffia SageTV Media Extender 3 02-13-2008 09:01 AM
Point-to-Point wireless ethernet solutions Steerpike Hardware Support 3 03-26-2006 10:39 PM
Sage Web Site - What's the point? mightyt General Discussion 0 09-30-2004 01:05 PM


All times are GMT -6. The time now is 12:28 AM.


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