SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV Github Development
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV Github Development Discussion related to SageTV Open Source Development. Use this forum for development topics about the Open Source versions of SageTV, hosted on Github.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 08-11-2015, 02:46 PM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,491
What's the best way to support more extenders/clients?

There has been a bit of discussion here on how to support more clients since with the current max of a 1GB JVM many folks, including me, start to run into issues with 3-4 clients simultaneously connected to the server, especially if they use lots of Fanart in their UI - I use Gemstone with Movie walls with around 800 movies in total, plus I use banners for series.

There have been at least two proposals on how to fix this:
  1. Move to 64 bit Java
  2. Have each extender/client run in its own JVM.

Anyone have opinions on which way to go, and can I kindly request that one of our developers work on this?
__________________
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 08-11-2015, 04:44 PM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
Quote:
Originally Posted by wayner View Post
There has been a bit of discussion here on how to support more clients since with the current max of a 1GB JVM many folks, including me, start to run into issues with 3-4 clients simultaneously connected to the server, especially if they use lots of Fanart in their UI - I use Gemstone with Movie walls with around 800 movies in total, plus I use banners for series.

There have been at least two proposals on how to fix this:
  1. Move to 64 bit Java
  2. Have each extender/client run in its own JVM.

Anyone have opinions on which way to go, and can I kindly request that one of our developers work on this?
I like things to be modular, so I like the idea of each UI instance in it's own JVM. Not as memory efficient, but RAM is cheap. Jeff alluded to this being what is done on Google Fiber, but I haven't looked into the v9 code to see if that is the case there already.
__________________
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
  #3  
Old 08-11-2015, 06:35 PM
Narflex's Avatar
Narflex Narflex is offline
Sage
 
Join Date: Feb 2003
Location: Redondo Beach, CA
Posts: 6,349
Quote:
Originally Posted by Fuzzy View Post
I like things to be modular, so I like the idea of each UI instance in it's own JVM. Not as memory efficient, but RAM is cheap. Jeff alluded to this being what is done on Google Fiber, but I haven't looked into the v9 code to see if that is the case there already.
I would strongly encourage the 64bit route instead. Otherwise you have to launch each individual JVM for all the clients to connect to and it replicates the entire DB in each of their instances which wastes lots of memory.

I'm quite sure it's trivial to use it in 64 bit mode on Linux...I didn't do anything to force compilation to 32 bit, and I've compiled it on Linux on a 64 bit machine many times. So that build by default should be 64 bit....Windows OTOH is another story...I don't have a 64 bit windows machine (and you'd need to exclude the prebuilt 32 bit libraries it uses for things like the USBUIRT, etc....which shouldn't be that big of an issue).

Of course there may be bugs hidden in the native code for 64 bit mode that I'm not aware of...but hopefully we didn't do anything to preclude that (and if we did, it's likely easy to fix).
__________________
Jeffrey Kardatzke
Google
Founder of SageTV
Reply With Quote
  #4  
Old 08-13-2015, 05:08 AM
scoful's Avatar
scoful scoful is offline
Sage Aficionado
 
Join Date: Jun 2006
Location: Lawrence, Kansas
Posts: 373
Quote:
Originally Posted by Narflex View Post
I don't have a 64 bit windows machine (and you'd need to exclude the prebuilt 32 bit libraries it uses for things like the USBUIRT, etc....which shouldn't be that big of an issue).
I'd send you Windows computer with Win10x64 if you want (or 7 or 8.1). I've literally paid so little for upgrades to SageTV over the years due to your excessive reasonableness upgrade pricing (not to mention the generosity of going open source) and it's been THE most used software in my household since v2, and since I really can't contribute to coding it's the least I can do.
__________________
SageTV 9 / 3 SageTV Clients / Ceton InfiniTV 6 / ComSkip
Reply With Quote
  #5  
Old 08-13-2015, 01:01 PM
Narflex's Avatar
Narflex Narflex is offline
Sage
 
Join Date: Feb 2003
Location: Redondo Beach, CA
Posts: 6,349
Quote:
Originally Posted by scoful View Post
I'd send you Windows computer with Win10x64 if you want (or 7 or 8.1). I've literally paid so little for upgrades to SageTV over the years due to your excessive reasonableness upgrade pricing (not to mention the generosity of going open source) and it's been THE most used software in my household since v2, and since I really can't contribute to coding it's the least I can do.
No thank you. I'll leave that to somebody else.
__________________
Jeffrey Kardatzke
Google
Founder of SageTV
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
Clients not connecting, but extenders are rickw SageTV Software 3 11-03-2014 06:08 PM
Fios, MOCA & extenders/clients drewg Hardware Support 18 04-13-2011 12:53 PM
Sending compound commands to clients/extenders ElvisLorin SageTV Customizations 0 11-15-2010 09:02 PM
Sending compound commands to clients/extenders kberg31974 SageTV Customizations 0 02-23-2010 01:31 AM
Notifications of events on extenders and clients? tpboyce SageTV Studio 1 05-10-2009 07:24 PM


All times are GMT -6. The time now is 05:49 PM.


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