Momentary Video Pauses when running off USB

plex-media-player

#1

In the event it is useful to others, I thought I'd share to others that I was experiencing momentary pauses in the video about once every 15 minutes. The pauses would persist from 1-4 seconds and then continue. The audio would not stop during this process. When this was occurring, I was booting off a USB thumb drive.

I have since installed PMP on an internal SSD disk and all of these momentary pauses have been eliminated. So, if anyone else is having the same issue and are booting off USB, that's the likely culprit.


#2

I don't think is the whole story. I get pauses in video about twice every hour, and I run PMP on a Mac Mini 2012. USB connected media drive, but the OS is on the main disk.


#3

Was that using USB 2.0 or 3.0 ?


#4

Hmm... In my case, simply changing from running embedded on the USB disk to running it on an internal SSD solved all of my issues. I figured it was that the USB disk was just too slow. Here I was using USB 2.0 on a "SanDisk Cruzer Fit CZ33 16GB" (Not a particularly fast thumb drive).


#5

USB 3.0 WD external drive.


#6

I have been using a USB 3.0 thumb drive without issue
http://www.amazon.com/SanDisk-Ultra-Low-Profile-Flash-SDCZ43-016G-G46/dp/B00LLEN5FQ


#7

I suspect in my case it was the speed of the thumb drive. It was no where near USB 2.0 speeds. The only thing I saw in the logs around the times of the video pause was Cannot focus non focusable element followed by a message about the local buffer being over full.


#8

Rough guess: it happens when flushing or rotating the logs to the USB device or so, which blocks PMP, and unfortunately also the player. (Due to Qt's architecture, the only way to fix this is to remove the blocking somehow.)

The only thing I saw in the logs around the times of the video pause was Cannot focus non focusable element followed by a message about the local buffer being over full.

What was that last message?


#9

@vlang said:
Rough guess: it happens when flushing or rotating the logs to the USB device or so
This did not occur during a log rotate as I started finding in the the logs the exact moment it did its pause. I tended to hit back to go back and see what I missed earlier, which is quite clear in the logs. It was in the middle of the logs for the 5 or so instances I checked. I suspect that something was blocking on IO, but it was not the log rotate.

The only thing I saw in the logs around the times of the video pause was Cannot focus non focusable element followed by a message about the local buffer being over full.

What was that last message?
I no longer have the USB disk as a PMP boot disk, so I cannot retrieve the exact log message but it is quite close to local buffer being over full if not word for word. I believe this is an artifact of the blocking and not the cause.


#10

USB rather sucks as a reliable performance connection for hard drives. It's really only meant for temporary convenience connections. Plus SMART over USB is undependable and often doesn't work, so you don't know your hard drive is dying until POOF.

If you need it to work well, work fast, and work all the time... use something else.


#11

To be clear sremick, are you saying that a USB 3.0 direct connected hard drive is not fast enough to stream a 5Mbps movie?

I guess my 5yr old Popcorn Hour media player should never have worked then.


#12

@christopher.moran said:
To be clear sremick, are you saying that a USB 3.0 direct connected hard drive is not fast enough to stream a 5Mbps movie?

That is not what I said at all.


#13

@gbooker02 said:
I no longer have the USB disk as a PMP boot disk, so I cannot retrieve the exact log message but it is quite close to local buffer being over full if not word for word. I believe this is an artifact of the blocking and not the cause.

I tried to search for this phrase in the OE/PMP/web-client sources, but didn't find anything.

In any case, 1-4 seconds sounds quite extreme.

If anyone else experiences this, please grab a log.