NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support v
1 2 3 4 5 … 45 Next »
Could you explain a little more about the /buffer directory?

 
  • 0 Vote(s) - 0 Average
Could you explain a little more about the /buffer directory?
wmarler
Offline

Junior Member

United States
Posts: 19
Threads: 7
Joined: Apr 2020
#1
6 hours ago
Hi,

I've been running NextPVR on bare metal for some time, and now I'm switching to a Docker container. In doing so I'm learning more about NextPVR. 

I think I understand that the /buffer dir is used to store a temporary (partial) copy of the mpeg stream being sent to the client. I think I understand it is also used to store the mpeg data stream being written as it is being recorded. Once the client is done playing back the buffered copy is destroyed; or when the recording finishes, the file in the buffer directory is written to the /recordings directory. 

... do I have that right? 

I'm asking b/c I'm trying to optimize the mappings of these directories to docker volumes / bind mounts. I currently have /recordings on a spinning-disk array, and I was thinking of putting /buffer onto an SSD, if that would make the experience snappier for clients. I have much more spinning disk space than I have SSD space, not surprisingly. For a machine that might at-most record 2 3-hour-long football games at a time
in 1080i at 15Mbps, and play back to 2 clients at a time, how much space would you think the /buffer dir need?

Thanks in advance
pkscout
Offline

Senior Member

USA
Posts: 465
Threads: 50
Joined: May 2014
#2
6 hours ago
I have had my buffer and recordings mapped to spinning disk for quite some time, and I don't think I can really see any slow down because of it. The amount of data your are buffering is small relative to the speed even spinning disks give you, so I'm not sure you'd see much, if any, improvement moving the buffer to an SSD.
wmarler
Offline

Junior Member

United States
Posts: 19
Threads: 7
Joined: Apr 2020
#3
4 hours ago
Yea sounds good, thanks. I played around with it ... didn't actually see an advantage in practice either.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Recording Directory scaesare 17 3,411 2024-03-06, 10:10 PM
Last Post: scaesare
  Linux nrecord.log - Commit Log Writes Immediately Not Delayed Buffer Writer LinuxDVR 10 2,823 2022-11-14, 10:02 PM
Last Post: sub
  Cannot set directory on Advanced recordings jpaden 0 905 2022-06-29, 07:53 PM
Last Post: jpaden
  Scheduled Searches - Default Directory? jksmurf 4 2,604 2020-04-04, 11:49 PM
Last Post: jksmurf
  How does the Minutes Configuration Next to Live TV Buffer Directory work? aderlopas 8 3,653 2020-01-17, 04:47 PM
Last Post: aderlopas

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

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

Linear Mode
Threaded Mode