Cache bottleneck

tough to say. dinosaur plex fixed his stuttering completely on high bitrate files by simply overclocking. he was having the exact same cache issues. it was a matter of the pi not being able to keep up with the high bitrate unless he gave it a little extra juice. he said he was using a class 10 sd card. not sure if that will make the difference

Yes I noticed it worked for him which is why I also replicated his overclock settings. As I observed the live data from the Pi during the stuttering it did seem to be a CPU issue as CPU maxed at 100% when the cache was empty whereas if there was plenty of data in the cache it was sitting back at closer to 90% and not having to work as hard.

Unfortunately no change when I did overclock, presuming I did it correctly as I haven't noticed any difference in the menu responsiveness or anything else either.

Unfortunately no change when I did overclock, presuming I did it correctly as I haven't noticed any difference in the menu responsiveness or anything else either.

make sure there are no other overclock settings elsewhere in the config.txt file. according to posts on here you should have the updated settings at the bottom of the config.txt file. if you have dueling overclock settings it could cause an issue

hi,

in my experience total bitrate has been the culprit. check the bitrate while playing with the i command. if you see it over 20 mbps you know the rpi is not going to be able to play it. 

- scott

@scott451 is right, over 20 mbps, Rpi cannot handle the flow.

Caching can be limited either by this factor (too much data to process for RPi) or by your network bandwidth.

In any case, transcoding will help with that. You can try maybe to change PHT settings to always transcode and try different limits (goes up to 20 Mbps anyways). 

If this solves your issue, then you might have to wait for us to finish implementing transcoding properly on Rpi. ;)

Hi,

Firstly, I'll sketch my setup:

I'm using the RPi B model (512 MB RAM), with the latest experimental build (9.9.20) overclocked as mentioned earlier in topic. Vertical Blank Sync is disabled and I've checked both Dolby Digital as well as DTS capable receiver.

The receiver I'm using is the Yamaha HTR-3065 which supports Dolby Digital and DTS-MA.

Plex Media Server is running on a Ubuntu 12.04 Server (Quadcore CPU, 8GB RAM, SSD). Network cables used are Cat 5e or Cat 6, router is the Asus RT-N66U and I have two gigabit 8-port Netgear switches.

 

At first, before overclocking, I immediately experienced issues while playing media (the pause/run) problem. After overclocking, it was a lot better. Depending on the bitrate, video plays uninterrupted for a while. On a 27 Mbps bitrate, the cache got depleted after a minute or three. However, while watching a regular HDTV x264 720p episode, the cache only got depleted after 35 minutes. Total bitrate not even 3 Mbps.

Anyone experiencing a similar issue after applying all the fixes mentioned in this topic?

Thanks in advance for any help!

Hi,

Firstly, I'll sketch my setup:

I'm using the RPi B model (512 MB RAM), with the latest experimental build (9.9.20) overclocked as mentioned earlier in topic. Vertical Blank Sync is disabled and I've checked both Dolby Digital as well as DTS capable receiver.

The receiver I'm using is the Yamaha HTR-3065 which supports Dolby Digital and DTS-MA.

Plex Media Server is running on a Ubuntu 12.04 Server (Quadcore CPU, 8GB RAM, SSD). Network cables used are Cat 5e or Cat 6, router is the Asus RT-N66U and I have two gigabit 8-port Netgear switches.


At first, before overclocking, I immediately experienced issues while playing media (the pause/run) problem. After overclocking, it was a lot better. Depending on the bitrate, video plays uninterrupted for a while. On a 27 Mbps bitrate, the cache got depleted after a minute or three. However, while watching a regular HDTV x264 720p episode, the cache only got depleted after 35 minutes. Total bitrate not even 3 Mbps.

Anyone experiencing a similar issue after applying all the fixes mentioned in this topic?


Thanks in advance for any help!


Hi,

Firstly, I'll sketch my setup:

I'm using the RPi B model (512 MB RAM), with the latest experimental build (9.9.20) overclocked as mentioned earlier in topic. Vertical Blank Sync is disabled and I've checked both Dolby Digital as well as DTS capable receiver.

re

The receiver I'm using is the Yamaha HTR-3065 which supports Dolby Digital and DTS-MA.

Plex Media Server is running on a Ubuntu 12.04 Server (Quadcore CPU, 8GB RAM, SSD). Network cables used are Cat 5e or Cat 6, router is the Asus RT-N66U and I have two gigabit 8-port Netgear switches.


At first, before overclocking, I immediately experienced issues while playing media (the pause/run) problem. After overclocking, it was a lot better. Depending on the bitrate, video plays uninterrupted for a while. On a 27 Mbps bitrate, the cache got depleted after a minute or three. However, while watching a regular HDTV x264 720p episode, the cache only got depleted after 35 minutes. Total bitrate not even 3 Mbps.

Anyone experiencing a similar issue after applying all the fixes mentioned in this topic?


Thanks in advance for any help!

Are you using a Class 10 SD-card with your RaspberryPi? Or even better an USB 3.0-Stick?

Are you using a Class 10 SD-card with your RaspberryPi? Or even better an USB 3.0-Stick?

Hi Pu1p,

Yes, I am using a Class 10 SD-card.

I know that there are issues with DTS/Dolby decoder with PHT (and thus in RasPlex) too.

Try using the latest build (0.4.0rc1) and see if that improves.

Also try to disable DTS & Dolby in the preferences and see if that improves as well.

Hi liiight,

I'll try the latest build (0.4.0rc1) tonight and I'll get back to you.

If I still experience problems, I will disable DTS & dolby.

Thanks!

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.