Results 1 to 10 of 10

Thread: slow smb speed

Threaded View

  1. #1
    Join Date
    Jul 2006
    Location
    Gujranwala, Pakistan
    Beans
    139
    Distro
    Ubuntu

    slow smb speed

    I'm running a 12.04 file server configured with samba in my home network. I'm getting 4MB/s file transfer speeds over wireless-n router (dlink-dir 655) from ubuntu clients. I've tried some socket optimizations in the smb.conf but nothing works.
    Here is the output of testparm:

    Code:
    [global]
    	workgroup = JAVED-HOME
    	server string = Home-Server
    	map to guest = Bad User
    	obey pam restrictions = Yes
    	pam password change = Yes
    	passwd program = /usr/bin/passwd %u
    	passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
    	username map = /etc/samba/smbusers
    	unix password sync = Yes
    	syslog = 0
    	log file = /var/log/samba/log.%m
    	max log size = 1000
    	socket options = TCP_NODELAY SO_RCVBUF=262144 SO_SNDBUF=262144 IPTOS_LOWDELAY SO_KEEPALIVE
    	dns proxy = No
    	usershare allow guests = Yes
    	panic action = /usr/share/samba/panic-action %d
    	idmap config * : backend = tdb
    	aio read size = 64360
    	aio write size = 64360
    	aio write behind = true
    
    [printers]
    	comment = All Printers
    	path = /var/spool/samba
    	create mask = 0700
    	guest ok = Yes
    	printable = Yes
    	print ok = Yes
    	browseable = No
    
    [print$]
    	comment = Printer Drivers
    	path = /var/lib/samba/printers
    
    [data]
    	comment = Central Storage Area
    	path = /data
    	read only = No
    	guest ok = Yes
    
    [saad]
    	comment = Saad's Personal Storage
    	path = /home/saad
    	valid users = saad
    	read only = No
    
    [TOSHIBA]
    	path = /media/TOSHIBA
    	force user = saad
    	read only = No
    	guest ok = Yes
    My windows client seems to get slightly better speed (around 4.5-5MB/s even touches 6MB/s occasionally) which I obviously don't like Ubuntu should do better than Windows
    Last edited by sbjaved; November 4th, 2012 at 04:00 AM.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •