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 … 186 187 188 189 190 … 433 Next »
Is there a difference in the way NPVR writes .ts files?

Is there a difference in the way NPVR writes .ts files?
BrettB
Offline

Posting Freak

Saint Paul, MN, USA
Posts: 2,667
Threads: 170
Joined: Jun 2007
#1
2015-04-28, 05:21 AM
FYI: I upgraded to NPVR 3.4.8 over the weekend, but I don't know if that makes a difference.

Tonight I had several shows recording at once from a combination of regular HDHRs (ATSC via BDA/NDigitalHost) and HDHR Primes (CableCard via NRecord). And I was watching a show recorded before on the NMT. Several times I noticed that my playback would hang for several seconds, so I began to investigate.

What I found was that when my playback would hang, there were HUGE (48-65 MB/s) writes going to the recording disk (a local SATA drive) for one of the shows being recorded from an HDHR Prime tuner. So I began to watch the physical disk activity on the recording drive more carefully. What I found was that for the shows being recorded from the ATSC HDHR, there would be pretty consistent writes (1.6-1.8 MB/s) to the .ts file and (about 2 KB/s) to the timing.info file. And for shows being recorded from the HDHR Prime, there would be periods of many minutes between writes to the .ts file and when they did occur, they were these huge 48-65 MB/s writes for about 30 seconds each that would temporarily block out the reads for the playback. (Upon more investigation, I am wondering if these may not be writing out to the physical disk until the recording completes and then writing the entire file at once!)

These recordings are all going to the same physical disk, so the Windows caching, etc. should be the same. Which leads me to think that somehow NPVR is doing something differently in the writing of the files between the ones written by NDigitalHost and the ones written by NRecord. Any ideas, sub?
sub
Online

Administrator

NextPVR HQ, New Zealand
Posts: 106,729
Threads: 767
Joined: Nov 2003
#2
2015-04-28, 06:10 AM
There was pretty much no changes for digital BDA tuners. There were some changes for HDHR Prime, to support multi-record, but those changes couldn't account for what you're describing. I'm not really sure what could be the cause of that.
BrettB
Offline

Posting Freak

Saint Paul, MN, USA
Posts: 2,667
Threads: 170
Joined: Jun 2007
#3
2015-04-28, 06:16 AM
sub Wrote:There was pretty much no changes for digital BDA tuners. There were some changes for HDHR Prime, to support multi-record, but those changes couldn't account for what you're describing. I'm not really sure what could be the cause of that.
I'm not sure that the problem is related to the new version. With the previous version, I definitely also got occasional hangs on the NMT during playback, but it didn't happen too often and I never researched it.
Reddwarf
Offline

Posting Freak

Posts: 6,629
Threads: 230
Joined: Mar 2007
#4
2015-04-28, 09:03 AM
Sounds like a windows buffering issue, have you tried messing with windoes' settings for the drive?

"I'd rather have a bottle in front of me than a frontal lobotomy"
BrettB
Offline

Posting Freak

Saint Paul, MN, USA
Posts: 2,667
Threads: 170
Joined: Jun 2007
#5
2015-04-28, 05:00 PM
Reddwarf Wrote:Sounds like a windows buffering issue, have you tried messing with windoes' settings for the drive?

I agree that it seems like something with Windows buffering/caching. And I'm looking into that. But the thing that baffles me is why recordings from one type of tuner seem to get flushed to disk consistently in small chunks but recordings from another tuner type seem to get buffered (at least sometimes until the entire recording is completed) and get flushed to disk with huge chunks that kill the disk performance. Especially since the recordings are going to the same drive so the drive parameters, etc. would be the same for both types of recordings.
Reddwarf
Offline

Posting Freak

Posts: 6,629
Threads: 230
Joined: Mar 2007
#6
2015-04-28, 06:39 PM
BrettB Wrote:I agree that it seems like something with Windows buffering/caching. And I'm looking into that. But the thing that baffles me is why recordings from one type of tuner seem to get flushed to disk consistently in small chunks but recordings from another tuner type seem to get buffered (at least sometimes until the entire recording is completed) and get flushed to disk with huge chunks that kill the disk performance. Especially since the recordings are going to the same drive so the drive parameters, etc. would be the same for both types of recordings.
I agree that it is strange, it should have been consistent.

"I'd rather have a bottle in front of me than a frontal lobotomy"
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  npvr is not responding johndutcher 3 1,499 2022-05-05, 07:57 PM
Last Post: sub
  NPVR 4.2.4 Video Library No Longer Shows folder.jpg Lao Pan 12 3,875 2022-04-14, 04:33 AM
Last Post: Antmannz
  nPVR Continually Wakes PC bfos 23 11,217 2022-02-17, 03:48 PM
Last Post: sub
  Can't find tuner filter in NPVR 4.05 on old XP machine (eee 701) with RTL2832U iamanotheruser 3 1,699 2022-01-03, 04:45 AM
Last Post: mvallevand
  Streaming Services with NPVR tesla1886 4 2,698 2021-01-04, 02:58 AM
Last Post: tesla1886
  NPVR choosing incorrect xml guide display-name after reboot drlava 7 3,067 2020-12-27, 02:27 AM
Last Post: sub
  Possible to record in different format than .ts files? gadgetgaz 29 12,771 2020-10-04, 03:05 PM
Last Post: Ehrlichia
  Can NPVR offset only 3 channel listings in EPG? acemib 20 7,054 2020-04-27, 01:28 PM
Last Post: mvallevand
  Log files Brucek2839 1 1,206 2020-03-23, 02:37 AM
Last Post: mvallevand
  Import recorded tv shows to NPVR mattman1968 9 5,995 2020-03-03, 12:57 PM
Last Post: Jimixter

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

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

Linear Mode
Threaded Mode