You are not logged in.

#1 2015-01-20 11:39:03

jrk
Member
From: Nämberch
Registered: 2012-10-16
Posts: 37

ZFS on Linux & mplayer

Hi,

I have a problem with the combination of zfsonlinux and mplayer.
Actually I'm not quite sure if one of them is the culprit, but I have some pointers.

Problem: When playing a movie (e.g. a mkv ~ 2GB or a vob ~ 6GB) every few minutes the the movie shortly stutters (picture & audio)

Observations:
1) This didn't happen with zfs-fuse which is supposedly slower than zfs on linux.
2) I can copy a vob file in under a minute to my home directory (ext4), hence read performance should be reasonable.
3) When playing the movie from my home dir, no stuttering occurs. Hence I'd rule out an mplayer or sound card issue.

Now I don't know what I can do about zfs on linux. Read performance seems to be ok and there seem to be no sound card issues. When I run bonnie or iozone, cpu usage stays below 20%, so that shouldn't cause an issue as well.

Any hints or tips on what I could look at next? Thanks!

Offline

#2 2015-09-27 21:38:02

timemaster
Member
Registered: 2012-09-26
Posts: 26

Re: ZFS on Linux & mplayer

I had some similar issue one/two year ago after I migrated to zfs. The playback would pause, and stay paused until I hit play. Seems like the system was not able to delivery enough performance for streaming video, even thought they were low bitrate files.
My solution at that time, that still work today, was to bump the cache size for local file in smplayer to 2048ko. Had no problem since then. This does not explain why/how, but was good enough for me back then and still is.

Offline

#3 2015-09-28 10:06:35

jrk
Member
From: Nämberch
Registered: 2012-10-16
Posts: 37

Re: ZFS on Linux & mplayer

Hi, thanks for your reply!

I think I also solved the issue by bumping the cache size. However, I need at least 32mb or more.

Offline

Board footer

Powered by FluxBB