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 03-10-2010, 10:52 AM
HansS HansS is offline
Sage User
 
Join Date: Nov 2006
Location: Netherlands
Posts: 12
Coordinating multiple servers

I have two servers at home, one for analogue recordings, the second for digital recordings. I use two servers because one single server alone hasn't enough slots to accommodate all tuners and CI slots. One server is setup as master, the other as a network recorder. This is nice, because now I have one central epg from which I can schedule recordings independently on which server they will be made. The problem is that if the slave is recording, it sends the stream to the master, where it is recorded on disk. The network recorder is actually a network tuner and not a recorder. Recording multiple streams and watching one at the same time uses up a lot of network bandwidth. I could setup both servers as masters, but then I would lose coordination in scheduling, recorded shows etc.
I searched the forum but could not find an answer. Is there a possibility to keep coordination, but let both servers record on their own local disks?

Thanks!
Reply With Quote
  #2  
Old 03-10-2010, 11:58 AM
paulbeers paulbeers is offline
SageTVaholic
 
Join Date: Jun 2005
Posts: 2,550
Quote:
Originally Posted by HansS View Post
I have two servers at home, one for analogue recordings, the second for digital recordings. I use two servers because one single server alone hasn't enough slots to accommodate all tuners and CI slots. One server is setup as master, the other as a network recorder. This is nice, because now I have one central epg from which I can schedule recordings independently on which server they will be made. The problem is that if the slave is recording, it sends the stream to the master, where it is recorded on disk. The network recorder is actually a network tuner and not a recorder. Recording multiple streams and watching one at the same time uses up a lot of network bandwidth. I could setup both servers as masters, but then I would lose coordination in scheduling, recorded shows etc.
I searched the forum but could not find an answer. Is there a possibility to keep coordination, but let both servers record on their own local disks?

Thanks!

In the properties file it lets you set where you want the recordings to record to using UNC paths. Using that option, I would imagine you could set the tuners in your Network Encoder to point to your Network encoder using those properties. The only thing I don't know is whether or not that it would require the show to be sent to the server and then the server would just point it right back to the Network Encoder.

However, I am not sure why you think you think there is network bandwidth issues. Especially if you set up the Analog Server to the network encoder, then you really shouldn't run into bandwidth at all. Here is some math:

Using 3.2GB per hour as your setting for analog tuner/encoders = 7.28 mbps. You would have to be sending over 13 recordings at one time to even max out a simple run-of-the-mill 100mb connection!
__________________
Sage Server: AMD Athlon II 630, Asrock 785G motherboard, 3GB of RAM, 500GB OS HD in RAID 1 and 2 - 750GB Recording Drives, HDHomerun, Avermedia HD Duet & 2-HDPVRs, and 9.0TB storage in RAID 5 via Dell Perc 5i for DVD storage
Source: Clear QAM and OTA for locals, 2-DishNetwork VIP211's
Clients: 2 Sage HD300's, 2 Sage HD200's, 2 Sage HD100's, 1 MediaMVP, and 1 Placeshifter
Reply With Quote
  #3  
Old 03-10-2010, 12:34 PM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
While true, you probably aren't experiencing network related problems, it probaby is best if you lock the network encoder's to recording on their local drives. This can be done in the Sage.properties file. You have to use UNC paths, and those paths have to be added as recording folders in sage. The network encoder will simply attempt to write the recordings to that folder. If it turns out to be local (which it will in this case) then it will not use the network.
__________________
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
  #4  
Old 03-10-2010, 12:41 PM
freedml freedml is offline
Sage Expert
 
Join Date: May 2008
Posts: 549
Can you give or point to an example?
Reply With Quote
  #5  
Old 03-10-2010, 01:44 PM
nyplayer nyplayer is offline
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,997
Quote:
Originally Posted by HansS View Post
I have two servers at home, one for analogue recordings, the second for digital recordings. I use two servers because one single server alone hasn't enough slots to accommodate all tuners and CI slots. One server is setup as master, the other as a network recorder. This is nice, because now I have one central epg from which I can schedule recordings independently on which server they will be made. The problem is that if the slave is recording, it sends the stream to the master, where it is recorded on disk. The network recorder is actually a network tuner and not a recorder. Recording multiple streams and watching one at the same time uses up a lot of network bandwidth. I could setup both servers as masters, but then I would lose coordination in scheduling, recorded shows etc.
I searched the forum but could not find an answer. Is there a possibility to keep coordination, but let both servers record on their own local disks?

Thanks!
I had the same problem especially when people where copying files etc... across the network... my recordings would be corrupted. What I did was install a second nic card on my server and used a crossover cable to hookup both servers. This completely took the network encoder away from the normal network.

This also allows me to take down the network without interrupting network encoding. And also this enables the network encoder to use the full bandwidth by itself.
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct.
Reply With Quote
  #6  
Old 03-10-2010, 03:10 PM
HansS HansS is offline
Sage User
 
Join Date: Nov 2006
Location: Netherlands
Posts: 12
Thank you all for your replies. I did do the same calculations about bandwidth and came to the conclusion that SageTV alone could not be a problem. However, I have a NAS file server that is used extensively for backups from two notebooks and two desktops besides other things. Once a backup starts any stream from network encoder to master server will stutter. I tried to time backups such that they do not interfere with recordings, but this is not always possible.
I will try your suggestions, starting with the properties file. If that doesn't help I will install a second nic. One more question. When I watch (with placeshifter) a live broadcast on a tuner in the network recorder, will the stream directly come from the network recorder or via de server?
Reply With Quote
  #7  
Old 03-10-2010, 03:24 PM
GKusnick's Avatar
GKusnick GKusnick is offline
SageTVaholic
 
Join Date: Dec 2005
Posts: 5,083
Quote:
Originally Posted by HansS View Post
One more question. When I watch (with placeshifter) a live broadcast on a tuner in the network recorder, will the stream directly come from the network recorder or via de server?
Placeshifter always streams through the primary server. SageTV Client has the ability to read directly from other file servers (including network encoders) but Placeshifter does not. (Live v. pre-recorded makes no difference; playback is always from a file on disk somewhere.)
__________________
-- Greg
Reply With Quote
  #8  
Old 03-10-2010, 03:49 PM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
If you are getting network conflicts from things like backups and such, you MAY be able to tweak some QoS settings in your router to give the network encoder the priorty. Never tried though.
__________________
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
  #9  
Old 03-10-2010, 05:31 PM
hufnagel hufnagel is offline
Sage Advanced User
 
Join Date: Nov 2003
Location: Union Cty, NJ
Posts: 172
I'll toss my 2 cents into the pot here (as you're situation has some resemblance to my own.)

If you can, add multiple NICs to the "Server" so as to segregate traffic as much as possible. while paulbeers' math is correct what it doesn't take into account is traffic overhead, network contention due to other traffic (such as your backups as you've already noticed) and the general overhead and latency Windows has to begin with. If you can put the network encoder box (and any dedicated media targets such as MVPs and HD Extenders) on their own physical network you'll prevent them from having those contention problems with other traffic.
__________________
Setup #7.6 Hyper-V (again!)
Hardware: Comcast Basic Digital Cable, (1) HDHR3-CC 20170815 firmware, 36GB "system" drive, 2TB laptop drives, a buttload of archive drives, HP DL380G6 2x X5660 processors (4 cores to VM), 4GB ram
Software: Windows 7 Ultimate SP1 x64, SageTV v9.1.2.662, Java v1.8.0_131, STV 2017052101, HD300 extenders
Reply With Quote
  #10  
Old 03-10-2010, 10:12 PM
src666 src666 is offline
Sage Aficionado
 
Join Date: Feb 2005
Posts: 459
As hufnagel said, you don't get 100MB/s of traffic out of a 100MB/s network. In general, you can count on about 60-70% of your "available" bandwidth in an ideal world (i.e. 2 devices communicating only with each other), but once you add more devices to the mix, you start running into contention.

Also, on a 1GB/s network, you have to be aware that CAT-5 cable (even CAT-5E) usually tops out around 600MB/s in the real world. To get full 1GB/s bandwidth, you need to move to CAT-6 cable.

I'm not saying that this is your problem, but people often forget that these numbers are laboratory numbers, and not really reliable in the real world.
Reply With Quote
  #11  
Old 03-13-2010, 02:28 AM
HansS HansS is offline
Sage User
 
Join Date: Nov 2006
Location: Netherlands
Posts: 12
Well, the problem was network-related. When I added the second server I also had to add an extra router. It appeared this one didn't function properly and didn't deliver the throughput it should have. I got a new one and now everything works as it should be.
In addition I would like to record the streams locally, but I couldn't find the property in sage.properties. Can someone direct me to it?
Reply With Quote
  #12  
Old 03-13-2010, 10:58 AM
GKusnick's Avatar
GKusnick GKusnick is offline
SageTVaholic
 
Join Date: Dec 2005
Posts: 5,083
Why would you need a second router? If it's just a question of running out of Ethernet ports, a switch would take care of that with less complexity and less chance for things to go wrong.

The property name you're looking for is forced_video_storage_path_prefix.
__________________
-- Greg
Reply With Quote
  #13  
Old 03-22-2010, 07:28 AM
HansS HansS is offline
Sage User
 
Join Date: Nov 2006
Location: Netherlands
Posts: 12
Quote:
Originally Posted by GKusnick View Post
Why would you need a second router? If it's just a question of running out of Ethernet ports, a switch would take care of that with less complexity and less chance for things to go wrong.

The property name you're looking for is forced_video_storage_path_prefix.
Hi Greg,

I said router, I meant switch. Sorry for the confusion. Although everything is running ok now, I will try the property anyhow. Thanks.
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
Multiple SageTV Servers jeeves5454 SageTV Software 1 06-10-2008 10:29 AM
Multiple Servers mrwolf SageTV Software 3 02-22-2008 04:53 AM
Two servers and multiple clients? Athfar SageTV Software 1 12-07-2007 12:19 AM
Do I need multiple servers delgross SageTV Software 8 02-15-2006 06:32 AM
Multiple SageTV Servers mightyt SageTV Software 7 11-26-2004 11:22 PM


All times are GMT -6. The time now is 07:23 PM.


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