SageTV Community  

Go Back   SageTV Community > SageTV Products > SageTV Linux > SageTV for unRAID/Docker

Notices

SageTV for unRAID/Docker Discussion related to SageTV for unRAID/Docker. Questions, issues, problems, suggestions, etc. relating to SageTV for unRAID/Docker should be posted here.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 01-15-2022, 12:29 PM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,373
Does running a parity check cause a performance issue in SageTV

I have just built a new server with an 8TB parity drive, and data drives of: 1x8TB, 2x4TB. A parity check in this system seems to take from 18-24hrs. I have an old system with a 4TB drive and parity checks on that system take about 12 hours so around 24 hours seems reasonable.

But while the parity check is running I experience significantly degraded performance. Here is one example - when I use SageTV to play back video files the playback can be herky jerky at times. When I try to skip forward over commercials it takes the system several seconds to catch back up and I may see a spinning circle for a while. If I pause the parity check then these problems completely go away.

Is that expected performance? Or do I have something wrong on my system? I didn't notice this issue on my old system, but the parity check ran at a time when I rarely used SageTV as it started around midnight and was done by noon.
__________________
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 01-15-2022, 12:55 PM
KeithAbbott KeithAbbott is online now
Sage Icon
 
Join Date: Oct 2009
Location: Southeastern Michigan
Posts: 1,312
I get similar issues when running my monthly parity check. The "Parity Check Tuning" plugin is your friend. I have set my parity check to begin on Monday at 12:01am, then it pauses at 5:30am. The next morning, it resumes at 2am, and then pauses again at 5:30am. Rinse and repeat. It is finished by 5:30am Friday morning, without really causing any playback issues because no one is watching television during those hours. I also don't really record any shows during those times, so I don't know if recordings are impacted or not.

Also, if you haven't installed it already, check out the "Fix Common Problems" plugin. It helps me keep Unraid error free.
__________________
Server: MSI Z270 SLI Plus ATX Motherboard, Intel i7-7700T CPU, 32GB Memory, Unraid 6.9.2, sagetvopen-sagetv-server-opendct-java11 Docker
Tuners: 2 x SiliconDust HDHomeRun Prime Cable TV Tuners, SiliconDust HDHomeRun CONNECT 4K OTA Tuner
Clients: Multiple HD300 Extenders, Multiple Fire TV Stick 4K Max w/MiniClient
Miscellaneous: Multiple Sony RM-VLZ620 Universal Remote Controls
Reply With Quote
  #3  
Old 01-15-2022, 01:14 PM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,373
Thanks Keith, I just set that up. I will do something similar so that it runs overnight, but stops in the morning.

Just one clarification. In this plugin's setup screen there is a top portion called "Parity Check" and then a lower portion called "Parity Check Tuning". If you are using the tuning do you have to set both areas?

And these plugin seems to replace the core Scheduler Settings screen, is that correct? So I only have to worry about setting the parity check in this plugin and I don't have to setup the parity check in the "core" unRAID screens, correct?

And one further question. Do you use the Backup plugin as well. Do you have to worry about the backup conflicting with the parity check? This wasn't an issue for me in the past as I ran the parity check every Sunday morning at 1am and then the backup on Monday at 1am.
__________________
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 01-15-2022, 01:33 PM
KeithAbbott KeithAbbott is online now
Sage Icon
 
Join Date: Oct 2009
Location: Southeastern Michigan
Posts: 1,312
I could be wrong, but I think all the plugin does is adds a Parity Check Tuning section to the settings page. The Parity Check section is just the stock Unraid section. The top section specifies the time that the parity check is started, the Tuning section is where you specify pause and resume times.

I use the "CA Backup / Restore Appdata" plugin, not sure if that's the one that you are referring to or not. I have been manually initiating it, since up until now I have been running separate dockers for OpenDCT and SageTV. I want to be able to control the order of the shutdown/startup of these dockers, so I just do it manually. However, once I migrate over to Jusjoken's single docker container with OpenDCT and SageTV baked in, I will set it up to automatically run. I'll just find a time outside of when the parity check runs.
__________________
Server: MSI Z270 SLI Plus ATX Motherboard, Intel i7-7700T CPU, 32GB Memory, Unraid 6.9.2, sagetvopen-sagetv-server-opendct-java11 Docker
Tuners: 2 x SiliconDust HDHomeRun Prime Cable TV Tuners, SiliconDust HDHomeRun CONNECT 4K OTA Tuner
Clients: Multiple HD300 Extenders, Multiple Fire TV Stick 4K Max w/MiniClient
Miscellaneous: Multiple Sony RM-VLZ620 Universal Remote Controls
Reply With Quote
  #5  
Old 01-15-2022, 01:49 PM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,373
Yes, that is the backup. The downside to it is, as you say, that it needs to stop the dockers.

Regarding parity check - when I go into the Settings-Scheduler it brings up the Parity Check Tuning page so it looks like it replaces the Scheduler and takes care of setting up Parity Check plus Mover.
__________________
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
  #6  
Old 01-15-2022, 03:08 PM
KeithAbbott KeithAbbott is online now
Sage Icon
 
Join Date: Oct 2009
Location: Southeastern Michigan
Posts: 1,312
Weird. Mine also has a section for Mover Settings, and a section for Fixed Schedules below the Parity Check Tuning section. The Fixed Schedules section is because I installed the Dynamix Schedules plugin, if I recall correctly.
__________________
Server: MSI Z270 SLI Plus ATX Motherboard, Intel i7-7700T CPU, 32GB Memory, Unraid 6.9.2, sagetvopen-sagetv-server-opendct-java11 Docker
Tuners: 2 x SiliconDust HDHomeRun Prime Cable TV Tuners, SiliconDust HDHomeRun CONNECT 4K OTA Tuner
Clients: Multiple HD300 Extenders, Multiple Fire TV Stick 4K Max w/MiniClient
Miscellaneous: Multiple Sony RM-VLZ620 Universal Remote Controls
Reply With Quote
  #7  
Old 01-15-2022, 03:25 PM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,373
I started a thread on the unRAID forums on this issue and some of the experts have responded there: https://forums.unraid.net/topic/1186...while-running/
__________________
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
  #8  
Old 01-16-2022, 05:43 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,711
Quote:
Originally Posted by wayner View Post
I started a thread on the unRAID forums on this issue and some of the experts have responded there: https://forums.unraid.net/topic/1186...while-running/
Thanks for asking and sharing that thread. Because I'm not recording much I don't usually see much of a performance issue, but, that might change in a few months.

I have a 8tb parity with 8tb, 4tb, and 4*3tb data drives (24tb total) and my parity check ran for 19 hours.

Quote:
Last check completed on Sat 01 Jan 2022 07:03:31 PM EST (fifteen days ago)
Finding 0 errors Duration: 19 hours, 3 minutes, 30 seconds. Average speed: 116.6 MB/sec
I noticed you have a 8tb parity and no 8tb data drive... is that just so that you can grow into it later? I only upgraded to 8tb parity over xmas... took several days and I had to rebuild after inserting drives, etc.
Reply With Quote
  #9  
Old 01-16-2022, 10:26 AM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,373
Quote:
Originally Posted by stuckless View Post
I noticed you have a 8tb parity and no 8tb data drive... is that just so that you can grow into it later? I only upgraded to 8tb parity over xmas... took several days and I had to rebuild after inserting drives, etc.
I don't know if you were responding to me, but I do have an 8TB data drive as well as two 4TB data drives. 8TB seems to be the sweet spot right now as I got my 8TBs for C$175 a couple of weeks ago. One of my 4TB drives seems kind of flaky so I might pull it out. But 12TB is enough data space for me right now as I am not growing my data that fast due to the current situation where most of the good content is on streaming services. And the bulk of my SageTV recording is sports which don't stay around very long.
__________________
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)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Odd Phoenix API performance issue evilpenguin Phoenix 10 11-01-2011 02:20 PM
SageTV performance tweaks: What do you do to gain extra SageTV performance? mkanet SageTV v7 Customizations 95 08-07-2011 05:59 PM
Issue running SageTV client on server MacDaddy SageTV Software 2 02-06-2011 11:50 AM
A way to check what menu referenced code is running under? evilpenguin SageTV Studio 12 12-03-2010 07:02 AM
audio issue with SageTV app running pjt630 SageTV Software 2 02-28-2006 10:59 AM


All times are GMT -6. The time now is 02:51 PM.


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