Samba server slow - laggy video in high bit rate scenes

Here for general support for B series TVs, request and problem solve area.

User avatar
erdem_ua
SamyGO Admin
Posts: 3126
Joined: Thu Oct 01, 2009 6:02 am
Location: Istanbul, Turkey
Contact:

Re: Samba server slow - laggy video in high bit rate scenes

Post by erdem_ua »

What is RAW transmission speed of the your network setup (without FileSystems)? Do you measure it? I think it's useful for identify problem.
arris69
Official SamyGO Developer
Posts: 1700
Joined: Fri Oct 02, 2009 8:52 am
Location: Austria/Vienna (no Kangaroos here)
Contact:

Re: Samba server slow - laggy video in high bit rate scenes

Post by arris69 »

oconnel wrote:And how can I messure this...? But, I as I told before, there is no issue with my network. I can play HD BluRay files from one computer to antoher (via shared folders). Also DLNA has no problem with playing MKV files (unfortunelly fast forward doesn't work). Only Samba have problems with playing does files.

EDIT:
Beside, EVERYONE that has WLAN and using Samba in SamyGo have (so far) this problem. Of course it depends on the file. But, those with high bitrates and 1080p resolution have pretty good chance to lag as hell.
http://www.samba.org/samba/docs/man/man ... ifs.8.html
http://pserver.samba.org/samba/ftp/cifs ... -guide.pdf
may you find some informations there

you also can try to change mount options in SamyGO/etc/init.d/04_04_samba.init
like:

Code: Select all

M_OPTS="$PERM,user=${USER},password=${PASSWD}"
to:

Code: Select all

M_OPTS="$PERM,user=${USER},password=${PASSWD},rsize=130048,nobrl"
and add module parameter like:

Code: Select all

insmod $SYSROOT/lib/modules/cifs.ko CIFSMaxBufSize=0x130048 cifs_min_rcv=0x64 cifs_min_small=0x256 cifs_max_pending=0x256
hth
arris
arris69
Official SamyGO Developer
Posts: 1700
Joined: Fri Oct 02, 2009 8:52 am
Location: Austria/Vienna (no Kangaroos here)
Contact:

Re: Samba server slow - laggy video in high bit rate scenes

Post by arris69 »

oconnel wrote:I wasn't sure where to put module code, so right now, it is looking like that:
around line 75 in 04_04_samba.init

Code: Select all

case $1 in
        start)
        insmod $SYSROOT/lib/modules/cifs.ko
        get_servers
        get_shares
change to:

Code: Select all

case $1 in
        start)
        # may module is already loaded?
        rmmod cifs
        insmod $SYSROOT/lib/modules/cifs.ko CIFSMaxBufSize=0x130048 cifs_min_rcv=0x64 cifs_min_small=0x256 cifs_max_pending=0x256
        get_servers
        get_shares
hth
arris
arris69
Official SamyGO Developer
Posts: 1700
Joined: Fri Oct 02, 2009 8:52 am
Location: Austria/Vienna (no Kangaroos here)
Contact:

Re: Samba server slow - laggy video in high bit rate scenes

Post by arris69 »

oconnel wrote:...

No change at all. Do you have more ideas...?
"found" a 1080p movie but think need 3 days for download than i can make some tests, had no troubles with 720p over samba, nfs & djmount over wlan (seek was not realy usable)

arris
dasilverpaladin
Official SamyGO Developer
Posts: 119
Joined: Sat Oct 31, 2009 1:04 am

Re: Samba server slow - laggy video in high bit rate scenes

Post by dasilverpaladin »

arris69 wrote:
"found" a 1080p movie but think need 3 days for download...
try to get one here http://www.demo-world.eu/trailers/high- ... ailers.php
maybe some aren`t online anymore, but should be smaller and faster to download :)
also watch witch audio version you are downloading

Post Reply

Return to “[B] Support”