NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Docker amd64 v
« Previous 1 … 3 4 5 6 7 … 9 Next »
Docker system requirements guidelines

 
  • 0 Vote(s) - 0 Average
Docker system requirements guidelines
janoonk
Offline

Member

Netherlands
Posts: 105
Threads: 33
Joined: Dec 2020
#1
2021-05-26, 09:57 AM
Hi,

I am running NextPVR with Docker running on my Synology NAS DS720+ with an INTEL Celeron J4125 and 8GB memory.
I use a quad tuner HDHomeRun Expand.

What is a good memory and cpu limit to use? Any tips/guidelines?

I can choose between Low, Med and High for CPU limit.
And I can set an amount of memory limit.

Thanks.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#2
2021-05-26, 08:53 PM
To be honest, it's hard to know (varies between platforms, and different types of devices, number of channels, days of listings etc). I'd try it with low initially, and see how it performs, and bump it up if necessary.

If you're intending to view video in the web app, which requires transcoding, you'd probably need to let it have high CPU limit. If you're using intending to use a client that can do native video playback, you wont need to do this.
pkscout
Offline

Senior Member

USA
Posts: 464
Threads: 50
Joined: May 2014
#3
2021-05-27, 12:11 AM
I've got NextPVR running on Docker on a similar Synology NAS (920+). I don't use any of the transcoding for the web client (although it does work from the couple of tests I did).  Here's what my usage looks like with two recordings going from an HDHR Prime.  The memory seems to spike a fair amount during recording, but I've not seen it much higher than what is shown here. The CPU almost never does anything.


Attached Files Thumbnail(s)
   
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,767
Threads: 954
Joined: May 2006
#4
2021-05-27, 12:31 AM
I would be concerned setting RAM too low, since it would likely still use swap if needed which could be noticeable.

Martin
janoonk
Offline

Member

Netherlands
Posts: 105
Threads: 33
Joined: Dec 2020
#5
2021-05-28, 07:14 AM
(2021-05-27, 12:11 AM)pkscout Wrote: I've got NextPVR running on Docker on a similar Synology NAS (920+). I don't use any of the transcoding for the web client (although it does work from the couple of tests I did).  Here's what my usage looks like with two recordings going from an HDHR Prime.  The memory seems to spike a fair amount during recording, but I've not seen it much higher than what is shown here. The CPU almost never does anything.

Yeah same here... during 4 parallel recordings (using a HDHomeRun Expand quad tuner) the CPU does nearly nothing... max I have seen is 1-2% (I have set it to Low CPU priority).
After 30-45 minutes of recording the memory went from 0.4GB to 2GB, which was the max. memory limit I set. But I didn't notice a performance degradation when it hit that limit.
So I keep these settings, works for me.
tsanga
Offline

Junior Member

USA
Posts: 12
Threads: 1
Joined: Sep 2021
#6
2021-09-20, 07:20 PM
I have Plex running natively on my Synology and NextPVR in a Docker container.

Recording the same program from the same HDHomerun, I get frame drops/corruption in my NextPVR stream. Yet the Plex recording is smooth. I’ve debugged with the hdhomerun_config CLI and found no network or transport errors.

My only guess is there’s something interrupting the Docker, maybe related to CPU prioritization. Has anyone discovered that setting CPU prioritization matters?
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#7
2021-09-20, 07:25 PM
(2021-09-20, 07:20 PM)tsanga Wrote: I have Plex running natively on my Synology and NextPVR in a Docker container.

Recording the same program from the same HDHomerun, I get frame drops/corruption in my NextPVR stream. Yet the Plex recording is smooth. I’ve debugged with the hdhomerun_config CLI and found no network or transport errors.

My only guess is there’s something interrupting the Docker, maybe related to CPU prioritization. Has anyone discovered that setting CPU prioritization matters?
For the most HDHomeRun devices NextPVR will use a TCP connection, so there shouldn't be any opportunity for dropped packets etc.

How are you watching the stream? If you're watching in the web app, it's probably a case of the CPU not keeping up, and you'd find if you were watch in a client that plays native streams, like Kodi etc, then the CPU will be low and no issues.
tsanga
Offline

Junior Member

USA
Posts: 12
Threads: 1
Joined: Sep 2021
#8
2021-09-21, 02:25 AM
(2021-09-20, 07:25 PM)sub Wrote: For the most HDHomeRun devices NextPVR will use a TCP connection, so there shouldn't be any opportunity for dropped packets etc.

How are you watching the stream? If you're watching in the web app, it's probably a case of the CPU not keeping up, and you'd find if you were watch in a client that plays native streams, like Kodi etc, then the CPU will be low and no issues.

I’m watching the recordings, often with a time delay, using Plex in direct play mode (no transcoding). So it’s not like I’m taxing the CPU by playing back in NextPVR web client. Also, the frame drops are written into the .ts file, and not occurring during playback. If I rewind, they’re always at the same moments in the broadcast.

That’s why I’m suspecting something to do with Docker, or I’m not setting it up right.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,767
Threads: 954
Joined: May 2006
#9
2021-09-21, 02:29 AM
That sounds more like signal than TCP errors. OTA or cable card?

Martin
tsanga
Offline

Junior Member

USA
Posts: 12
Threads: 1
Joined: Sep 2021
#10
2021-09-21, 03:12 AM
(2021-09-21, 02:29 AM)mvallevand Wrote: That sounds more like signal than TCP errors.  OTA or cable card?

Martin

OTA

Just tested another recording. I’m using a dual tuner HDHomerun.

One tuner on Plex, the other on NextPVR+Docker, same channel.

The one on Plex recorded and played fine. The NextPVR recording had frame drops exactly as if I was having reception issues. I tried increasing CPU priority on Docker but still had issues.

Can I make NextPVR switch between the two available HDHomerun tuners as a test? Do I need to delete one from settings?
« Next Oldest | Next Newest »

Users browsing this thread: 2 Guest(s)

Pages (3): 1 2 3 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Comskip segfaults with comskip embedded in amd64 docker SickBoy 6 320 2025-02-24, 11:18 PM
Last Post: SickBoy
  Issues with Session Handling Behind Caddy Reverse Proxy in Docker: invalid session user001 5 358 2025-01-10, 08:23 PM
Last Post: sub
  Docker container becomes unresponsive overnight wapkaplet 6 552 2025-01-10, 04:47 PM
Last Post: wapkaplet
  Docker image upgrade ceejayemm 9 785 2025-01-07, 11:27 PM
Last Post: pkscout
  Current guide for NextPVR docker on Unraid? wapkaplet 1 658 2024-12-20, 02:40 AM
Last Post: wapkaplet
  NextPVR with Docker and Fritzbox icompas 9 560 2024-12-12, 02:50 PM
Last Post: icompas
  Docker postprocessing script aTF6i 12 941 2024-11-17, 01:17 AM
Last Post: aTF6i
  XMLTV folder for Docker stevil 1 373 2024-09-25, 06:56 PM
Last Post: mvallevand
  Add Intel iHD Driver to Docker Image for NextPVR thelanofvilles 8 1,243 2024-06-16, 08:10 PM
Last Post: thelanofvilles
  NPVR Synology Docker with Octopus SAT/IP finds no channels Thoschi 92 15,295 2024-01-19, 08:07 PM
Last Post: mvallevand

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode