Samba speed tuning

Discussion in 'XBMC' started by Keridos, Jan 24, 2014.

  1. Keridos

    Keridos New Member

    Joined:
    Nov 19, 2013
    Messages:
    22
    Likes Received:
    0
    Hello there,
    i currently have a Samba Server on my xbmc Udoo but experiencing an odd problem: Read speed is pretty good with between 30 and 40 Megabytes/s.
    But my write speed is around 10ish only. The disk is attached via SATA and dd shows about 80+ Megabytes/s so that is no problem.
    Do you have any suggestions how to further improve that?

    Hier is my smb.conf:
    Code:
    [global]
    	workgroup = WORKGROUP
    	netbios name = udoo-quad
    	server string = udoo-quad
    	interfaces = 192.168.2.11, 127.0.0.1
    	bind interfaces only = yes
    	map to guest = Bad User
    	log file = /var/log/log.%m
    	max log size = 500
    	socket options = TCP_NODELAY  IPTOS_LOWDELAY SO_KEEPALIVE SO_RCVBUF=131072 SO_SNDBUF=131072
    	min receivefile size = 65536
    	use sendfile = true
    	aio read size = 65536
    	aio write size = 65536
    	aio write behind = true
    	max xmit = 131072
    	name resolve order = bcast lmhosts host wins
    	dns proxy = No
    	security = User
    	unix password sync = Yes
    	guest account = nobody
    	local master = no
    	preferred master = no
    	os level = 100
    	wins support = no
    	printing = bsd
    	printcap name = /dev/null
    	load printers = no
    	disable spoolss = yes
    	write cache size = 131072
    	strict allocate = yes
    
     
  2. fabulou$

    fabulou$ New Member

    Joined:
    Nov 5, 2013
    Messages:
    25
    Likes Received:
    0
    see mine. work fine while copying from my PC (sataHDD) to my udoo (sata HDD)
    supercopier shows 100-120 Mo/s

    Code:
    [global]
      workgroup = WORKGROUP
      server string = %h server
      log file = /var/log/samba/log.%m
      public = yes
      share modes = yes
      passdb backend = tdbsam:/etc/samba/mypassdb.tdb
    
    [udoo]
      comment = VIDEOS SUR UDOO
      path = /home/fab
      browseable = yes
      read only = no
      writeable = yes
      valid users = fab
    
     
  3. Keridos

    Keridos New Member

    Joined:
    Nov 19, 2013
    Messages:
    22
    Likes Received:
    0
    And another issue: looks like xbmc is slowing that down to a crawl, is there a way to let XBMC sleep while it is not actively being used? My Upload speed to the Samba Server is around 600 KB/s, Download is fine with about 33-40 MB/s

    Supercopier uses a Buffer that messe up copy speeds, try without Supercopier and check that speed.
     
  4. DongKwang Kim

    DongKwang Kim New Member

    Joined:
    Mar 26, 2014
    Messages:
    1
    Likes Received:
    0
    Hi~

    I also have same problem.. samba speed too slow (R : 15M/s, W : 7~10M/s , CPU Usages 70%~80%)
    Dose @KerIdos find some options to speed up of Samba??
    Or
    The CPU Power of Udoo is not enough to support to Gigabit Network?
     

Share This Page