2014-07-17, 21:12
Hello if have a samll question to the raspberry with openelec (3.14.11) and xbmc (13.1). Raspberry -> Switch -> QnapTS412.
I realized that I have some problems (stuttering) playing mkv with a Bitrate of ~40 Mbps or more (e.x. Birds) over ethernet from my NAS (NFS).
1) I testet the same video from an usb stick and everything was perfect. So it is not a performence issue.
2) I edited the advancedsettings.xml to:
Play the same video from my NAS again. At the beginning (when the buffer was full) everything is fine but the the starts again. So I guessed my network speed would be too low.
3) I copied the video from my nas to /dev/null to check the network speed.
Result: 104857600 bytes (100.0MB) copied, 17.393698 seconds, 5.7MB/s
That seems to be too low.
4) I changed the rsize and some other parameters:
Nothing changed and the video is still stuttering.
So I checked my configuration with mount -v and the result was, that rsize (and wsize) didnt change.
Is there any known problem or did I something wrong? And sorry, I am new to linux etc
greetings and thank you
I realized that I have some problems (stuttering) playing mkv with a Bitrate of ~40 Mbps or more (e.x. Birds) over ethernet from my NAS (NFS).
1) I testet the same video from an usb stick and everything was perfect. So it is not a performence issue.
2) I edited the advancedsettings.xml to:
PHP Code:
<advancedsettings>
<network>
<buffermode>1</buffermode> <!-- Comment: Default is 1 -->
<cachemembuffersize>20971520</cachemembuffersize> <!-- Comment: Default is 20971520 bytes or 20 MB -->
<readbufferfactor>4.0</readbufferfactor> <!-- Comment: Default is 1.0 -->
</network>
</advancedsettings>
Play the same video from my NAS again. At the beginning (when the buffer was full) everything is fine but the the starts again. So I guessed my network speed would be too low.
3) I copied the video from my nas to /dev/null to check the network speed.
PHP Code:
dd if=/storage/mount8/test.file of=/dev/null
Result: 104857600 bytes (100.0MB) copied, 17.393698 seconds, 5.7MB/s
That seems to be too low.
4) I changed the rsize and some other parameters:
PHP Code:
mount -t nfs 192.168.0.100:/WD20EFRX/_Unsorted /storage/mount8 -o udp,noatime,rsize=32768,
wsize=32768,nolock,nfsvers=3
Nothing changed and the video is still stuttering.
So I checked my configuration with mount -v and the result was, that rsize (and wsize) didnt change.
PHP Code:
192.168.0.100:/WD20EFRX/_Unsorted on /storage/mount8 type nfs (rw,noatime,vers=3,rsize=8192,wsize=8192,namlen=255,hard,nolock,proto=udp,port=2049,timeo=7,retrans=3,sec=sys,local_lock=all,addr=192.168.0.100)
Is there any known problem or did I something wrong? And sorry, I am new to linux etc
greetings and thank you