NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Legacy (v4.x and earlier) v
« Previous 1 … 36 37 38 39 40 … 433 Next »
Recommended Buffer drive size?

Recommended Buffer drive size?
bighick
Offline

Junior Member

Posts: 12
Threads: 4
Joined: Mar 2018
#1
2018-11-21, 02:31 PM
Hello! On my system i have 10 tuners. At times I may use all of them at once which puts a pretty large I/O onto my old spinning disk and NPVR crashes sometimes (I will get logs next time!). My question is how large should my buffer disk be? At times I wont change channels for 5 or 6 hours. Channels are a mix of MPEG and H264, 720p and 1080i. On hand I have a 120gb ssd or could do like 32gb of ram disk.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,849
Threads: 954
Joined: May 2006
#2
2018-11-21, 07:24 PM
The buffer directory is for live TV. The default is 20 minutes buffering which for 1080i could be around 3GB. (there are four files) and likely closer to 1GB for other formats. In EPG mode the rate is buffering however many shows you watch. Normally I would say 32GB would be enough for 10 tuners but there are instances where NextPVR fails to delete the old files so you might fill a ram drive up. Also in your example on 6 hr live tv session in EPG mode could be 48GB

If you are also transcoding for the web server or android/ios or timeshifting to Kodi, you need to doouble the space requirments, but the transcoding drive is hardcoded to the system drive so it can't go to a ram disk.

If you have 10 different people streaming live that doesn't sound like personal use for the NextPVR license.

Martin
bighick
Offline

Junior Member

Posts: 12
Threads: 4
Joined: Mar 2018
#3
2018-11-21, 08:25 PM
Makes sense thanks. Sounds like the 120gb SSD should be more than enough.
It is personal use, no NextPVR stream has ever left my house. My basement cave has 4 TVs on one wall plus others scattered throughout the house and possibly a recording or two going on.
Bobins
Offline

Posting Freak

UK (North West)
Posts: 1,201
Threads: 133
Joined: Sep 2004
#4
2018-11-21, 09:17 PM
I use an SSD as the main recording directory to avoid problems with disk I0 / head thrashing wear & tear / fragmentation etc. Once the recording finishes (and as long as it's not being currently watched), the recording is moved to a hard drive raid.
The hard drives spin down when not in use.
I adopted this for two reasons.
1)performance when recording multiple HD streams which may be concurrent with playback and
2) reducing hard disk wear & tear on the hard disks having experienced multiple hard disk failures in the past. Rebuilding multi TB raids is no fun Sad

Modern SSDs cope well with the write/delete wear cycle.
NPVR Version= 7.0.1.241229
Intel i5 Ten Core 14400 + 16GB DDR5 in Gigabyte B760 AX Motherboard
Windows 11 Pro 64bit
TBS-6902 dual DVB-S tuner
TBS-6205 quad DVB-T tuner
500Gb System Disk (M2 Nvme SSD)
4Tb Media Store (2 x 2Tb M2 Nvme SSD Spanned)

Raspberry Pi3 B+, Pi4B (OSMC) & Pi5 (XBian) running Kodi v21.1
Lao Pan
Offline

Posting Freak

UK (Mendip TX)
Posts: 1,300
Threads: 114
Joined: Oct 2008
#5
2018-11-23, 10:17 AM
Bobins Wrote:Once the recording finishes (and as long as it's not being currently watched), the recording is moved to a hard drive raid.

May I ask how you are handling the Moving?

I am using a 60gb SSD for live TV which would be useful to use for all recordings to stop Fragmentation on the 2TB recordings drive. Perfect disk runs for about 5 hours to get it defragged.
It's not an overly complicated system - it's more - overly simple operatives  Huh
Bobins
Offline

Posting Freak

UK (North West)
Posts: 1,201
Threads: 133
Joined: Sep 2004
#6
2018-11-23, 10:47 AM
I have a couple of small scripts which handle the move (and create a log file) and these are triggered from PostProcessing.bat.
I also run a scheduled script which concats & cleans up the created log files each day
Happy to share if you were interested.
NPVR Version= 7.0.1.241229
Intel i5 Ten Core 14400 + 16GB DDR5 in Gigabyte B760 AX Motherboard
Windows 11 Pro 64bit
TBS-6902 dual DVB-S tuner
TBS-6205 quad DVB-T tuner
500Gb System Disk (M2 Nvme SSD)
4Tb Media Store (2 x 2Tb M2 Nvme SSD Spanned)

Raspberry Pi3 B+, Pi4B (OSMC) & Pi5 (XBian) running Kodi v21.1
Lao Pan
Offline

Posting Freak

UK (Mendip TX)
Posts: 1,300
Threads: 114
Joined: Oct 2008
#7
2018-11-23, 10:58 AM
Bobins Wrote:I have a couple of small scripts which handle the move (and create a log file) and these are triggered from PostProcessing.bat.
I also run a scheduled script which concats & cleans up the created log files each day
Happy to share if you were interested.

Yes please - most definitely.

Thanks
It's not an overly complicated system - it's more - overly simple operatives  Huh
Bobins
Offline

Posting Freak

UK (North West)
Posts: 1,201
Threads: 133
Joined: Sep 2004
#8
2018-11-23, 11:37 AM
OK See attached

In my case the Recording cache is my F: drive and the Recording store is the R: drive.

The Postprocessing.bat file calls the "Move" script. This handles the move after testing that the file exists and isn't locked by the fact you're watching whilst it was recording.
The "Move2" is triggered by "Move" if the lock condition is true and waits for the file to become unlocked before completing the move.

Log files are placed in a directory called "Move" under the main NPVR Log file directory.

"Tidyuplogs" is scheduled to start (in Windows scheduler) just before midnight. It sets up some parameters then call "Tidyup".
"Tidyup" concats the individual "Move" log files into a single daily log file then cleans up. It also removes any leftover files in the Live TV temporary directory (Kodi had a habit of causing leftover files here).

All the .bat script files go in the NPVR script directory

Any questions....please ask.
NPVR Version= 7.0.1.241229
Intel i5 Ten Core 14400 + 16GB DDR5 in Gigabyte B760 AX Motherboard
Windows 11 Pro 64bit
TBS-6902 dual DVB-S tuner
TBS-6205 quad DVB-T tuner
500Gb System Disk (M2 Nvme SSD)
4Tb Media Store (2 x 2Tb M2 Nvme SSD Spanned)

Raspberry Pi3 B+, Pi4B (OSMC) & Pi5 (XBian) running Kodi v21.1
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,849
Threads: 954
Joined: May 2006
#9
2018-11-23, 06:50 PM
How does recording to an SSD and moving it is post processing improve things? Seems like it just delays writes for an hour or so and creates more work for the SSD.. Certainly a live TV SSD makes sense logically as does adding multiple recording drives.

Martin
Bobins
Offline

Posting Freak

UK (North West)
Posts: 1,201
Threads: 133
Joined: Sep 2004
#10
2018-11-23, 07:47 PM
Martin.

The improvement is reduced wear & tear on the mechanical hard drives which can also power down when not in use. Copying from SSD to hard disk generally ends up with contiguous files on the hard disk so less fragmentation.
In my household it is typical for multiple HD recordings to be happening at the same time as recording playback. On a hard disk this would result in lots of disk head movement and increases the wear.
Ultimately I chose this after experiencing several hard disk failures and the pain of trying to recover lost recordings. I also wanted to ensure that I/O wasn't a problem given most recording/playback is now in HD format so quite large.

It is fair to say that I did this at a time when SSDs were quite expensive in comparison to Large Hard drives.
Given large terabyte SSDs are now within the purchase power of domestic users, simply putting it all on an SSD may be more sensible.

In my case the 4Tb raid (which is nearly full) isn't really practicable (or affordable) on SSDs. Sad

Ray
NPVR Version= 7.0.1.241229
Intel i5 Ten Core 14400 + 16GB DDR5 in Gigabyte B760 AX Motherboard
Windows 11 Pro 64bit
TBS-6902 dual DVB-S tuner
TBS-6205 quad DVB-T tuner
500Gb System Disk (M2 Nvme SSD)
4Tb Media Store (2 x 2Tb M2 Nvme SSD Spanned)

Raspberry Pi3 B+, Pi4B (OSMC) & Pi5 (XBian) running Kodi v21.1
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): 1 2 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Recording to a network drive woes. 2leftfeet 12 7,095 2022-04-05, 08:03 PM
Last Post: mvallevand
Sad Recordings Are Always Size Zero hjjr78 22 6,490 2020-05-04, 02:37 AM
Last Post: hjjr78
  Max File Size jrockow 2 1,504 2020-04-21, 02:38 PM
Last Post: jrockow
  Strange playback from network drive Reddwarf 0 967 2019-05-24, 06:07 PM
Last Post: Reddwarf
  NextPVR can't write to D: drive clemon79 12 3,338 2019-05-16, 04:42 PM
Last Post: clemon79
  Customize the EPG Channel name size. Brucek2839 3 1,296 2019-05-07, 04:31 AM
Last Post: sub
  Hard drive questions tesla1886 6 2,542 2018-10-14, 05:51 AM
Last Post: tesla1886
  Use M3U and EPG files on local drive snaitaz 8 3,101 2018-09-26, 10:28 PM
Last Post: snaitaz
  window size within windows Brucek2839 1 986 2018-08-12, 01:09 PM
Last Post: JEF
  Read Response Buffer too small Brucek2839 3 1,337 2018-08-08, 02:04 AM
Last Post: Brucek2839

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

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

Linear Mode
Threaded Mode