2024-06-19, 05:52 PM
I was watching a video via direct play (no transcode involved) last night. The file is about 10GB and it was being streamed internal to my network.
After about 10 minutes of watching with no issue, a task kicked off on my server that uses the CPU a decent amount.
After a bit, this caused my player to reach Cache: 0, which meant I had no 'buffer' to play. It ended up loading very slowly from that point on, freezing often.
I was using MPV Shim as the player.
Would the process that utilized the CPU really cause this?
There may have been another process that was using the disk at the same time, and I also wonder if the process of streaming it from the disk was held due to that.
I know the solution here is to avoid those kinds of activities, but for the sake of it - Why wouldn't the entirety of the 10GB file be loaded into cache within a minute or two? I'm on a gigabit network.
Is this the normal behavior of the MPV Shim player? Does it only load a certain amount of cache, and then wait for the player to catch up and load more?
After about 10 minutes of watching with no issue, a task kicked off on my server that uses the CPU a decent amount.
After a bit, this caused my player to reach Cache: 0, which meant I had no 'buffer' to play. It ended up loading very slowly from that point on, freezing often.
I was using MPV Shim as the player.
Would the process that utilized the CPU really cause this?
There may have been another process that was using the disk at the same time, and I also wonder if the process of streaming it from the disk was held due to that.
I know the solution here is to avoid those kinds of activities, but for the sake of it - Why wouldn't the entirety of the 10GB file be loaded into cache within a minute or two? I'm on a gigabit network.
Is this the normal behavior of the MPV Shim player? Does it only load a certain amount of cache, and then wait for the player to catch up and load more?