Kodi Buffering, Randomly


newoski

Recommended Posts

First, I believe this is an Unraid issue, not Kodi, thus the post here. 

 

I have a Gigabit Cat6 home network connecting my Unraid server and my LibreELEC Kodi boxes. I have tested, many times, the Jellyfish test video files at bitrates up to 110MBps without issue. 

 

Lately, after upgrading to latest release, I'm running into an issue where Kodi playback starts to buffer and then time out. It happens on both of my Kodi boxes, and again it's totally random, which leads me to believe that something is happening on the Server side that is tripping things up. 

 

What can I post to try to troubleshoot? I don't see anything at all occuring in my logs at the time it happens? What should I be looking for?

Link to comment
  • 4 weeks later...

I haven't looked at your logs, but I've experienced similar issues. It normally happens when another disk on the same controller spins up. I had similar questions at the time and was told there wasn't anything to do about it and it was a hardware limitation in a lot of hard drive controllers.

 

Here are some options:

  • Adjust your buffer size in Kodi to allow for more wiggle room when this happens. https://kodi.wiki/view/HOW-TO:Modify_the_video_cache
  • I moved all my Emby scheduled tasks to happen overnight as that was the cause of most of my random spinups. Not sure if that'll help you with a mobile requested sync, however.
  • Adjust your drive spinup/spindown schedules (ie disable or extend out) .

  • Create spinup groups to spin up all disks on your controller together - so when one spins up the others do too.

I'd be curious to hear if anyone has any other suggestions. It's frustrating having to work around the problem as opposed to solving it.

Edited by NNate
Link to comment

Thanks. I already have cache settings, which never seem perfect. Don't want to disable syncs it limit them, as the real-time nature is what I love about Emby

I haven't looked at your logs, but I've experienced similar issues. It normally happens when another disk on the same controller spins up. I had similar questions at the time and was told there wasn't anything to do about it and it was a hardware limitation in a lot of hard drive controllers.
 
Here are some options:
  • Adjust your buffer size in Kodi to allow for more wiggle room when this happens. https://kodi.wiki/view/HOW-TO:Modify_the_video_cache
  • I moved all my Emby scheduled tasks to happen overnight as that was the cause of most of my random spinups. Not sure if that'll help you with a mobile requested sync, however.
  • Adjust your drive spinup/spindown schedules (ie disable or extend out) .
  • Create spinup groups to spin up all disks on your controller together - so when one spins up the others do too.
I'd be curious to hear if anyone has any other suggestions. It's frustrating having to work around the problem as opposed to solving it.


Sent from my Pixel 2 using Tapatalk

Link to comment

Are there any controllers that are known NOT to have the limitation?

I haven't looked at your logs, but I've experienced similar issues. It normally happens when another disk on the same controller spins up. I had similar questions at the time and was told there wasn't anything to do about it and it was a hardware limitation in a lot of hard drive controllers.
 
Here are some options:
  • Adjust your buffer size in Kodi to allow for more wiggle room when this happens. https://kodi.wiki/view/HOW-TO:Modify_the_video_cache
  • I moved all my Emby scheduled tasks to happen overnight as that was the cause of most of my random spinups. Not sure if that'll help you with a mobile requested sync, however.
  • Adjust your drive spinup/spindown schedules (ie disable or extend out) .
  • Create spinup groups to spin up all disks on your controller together - so when one spins up the others do too.
I'd be curious to hear if anyone has any other suggestions. It's frustrating having to work around the problem as opposed to solving it.


Sent from my Pixel 2 using Tapatalk

Link to comment
On ‎11‎/‎11‎/‎2018 at 9:10 AM, NNate said:

I haven't looked at your logs, but I've experienced similar issues. It normally happens when another disk on the same controller spins up. I had similar questions at the time and was told there wasn't anything to do about it and it was a hardware limitation in a lot of hard drive controllers.

 

Here are some options:

  • Adjust your buffer size in Kodi to allow for more wiggle room when this happens. https://kodi.wiki/view/HOW-TO:Modify_the_video_cache
  • I moved all my Emby scheduled tasks to happen overnight as that was the cause of most of my random spinups. Not sure if that'll help you with a mobile requested sync, however.
  • Adjust your drive spinup/spindown schedules (ie disable or extend out) .

  • Create spinup groups to spin up all disks on your controller together - so when one spins up the others do too.

I'd be curious to hear if anyone has any other suggestions. It's frustrating having to work around the problem as opposed to solving it.

I'm having the same issue and was going to try the spinup groups next but I'm having some difficulty doing so.   I have spinup groups enabled in the settings but even still I'm only seeing one drive at a time being accessed and spun up at a time.  So I assume the groups have to be further defined or setup, but I can't find where to create or define groups.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.