The macosxhints Forums

The macosxhints Forums (http://hintsforums.macworld.com/index.php)
-   Networking (http://hintsforums.macworld.com/forumdisplay.php?f=14)
-   -   SMB Server and slow transfer speeds... (http://hintsforums.macworld.com/showthread.php?t=15075)

stw1530 04-18-2005 11:33 AM

smb
 
Thanks for the response, Hayne! I went ahead and tried entering smb://<fileserver IP address> in the connect to server dialog, and have gotten significantly better speeds for rendering and scrolling through the directories, but there is some strangeness like little boxes with exes in them replacing some characters. Is there anything I should be aware of connecting that way? I'm going to start down the ugly road of finding all the settings in the big picture over here. (it's a bit like the blind leading the blind in my department)

S

hayne 04-18-2005 11:38 AM

Quote:

Originally Posted by stw1530
there is some strangeness like little boxes with exes in them replacing some characters. Is there anything I should be aware of connecting that way?

It sounds like there are some characters in the filenames that are not supported by SMB.
You should be aware that SMB does not support all of the metadata that indicates what application is associated with a file. This is likely to cause problems if the files don't have suffixes that indicate their type.

stw1530 04-18-2005 11:40 AM

thanks
 
for that info! I'll let my designers know to alwyas include the suffixes. That could have gotten ugly.

S

nyzeta 04-21-2005 03:56 PM

Hello.
Taking this thread further.

I have the same problem and the same setting as mentioned.
I have a Mandrake 10.1 server with a Linux 2.6.11 custom kernel, samba 3.0.7.
Currently I'm on a Powerbook with wireless and connecting to Mandrake with samba shares. I'm in need of samba because I also have Windows based computers.

Uploading small files to the server takes seconds, large files takes minutes.
Downloading small files from the server takes seconds, large files takes ages.

I've trimmed my smb.conf settings to this :
Code:

[global]
  workgroup = TAJNETT
  netbios name = tajserver
  server string = local storage provider
  log file = /var/log/samba/log.%m
  max log size = 50
  log level = 1
  hosts allow = 192.168.1. 192.168.2. 127.
  map to guest = bad user
  security = user
  encrypt passwords = yes
  smb passwd file = /etc/samba/smbpasswd
  unix password sync = Yes
  passwd program = /usr/bin/passwd '%u'
  username map = /etc/samba/smbusers
  socket options = IPTOS_LOWDELAY TCP_NODELAY
  read raw = yes
  write raw = yes
  oplocks = yes
  max xmit = 65534
  dead time = 15
  getwd cache = yes
  lpq cache = 30
  dns proxy = no
  default case = lower
  case sensitive = no
  unix charset = ISO8859-15

[homes]
  comment = Home Directories
  browseable = no
  writable = yes
  path = /home/%u

[public]
  comment = Public Stuff
  path = /home/public
  public = yes
  writable = no
  write list = xxxxxx

[shared]
  comment = delt mappe
  path = /home/shared
  valid users = xxx yyyy
  public = no
  writable = yes
  printable = no
  create mask = 0765

I've tried to trim my config file. But It's not optimal yet. Some good advices had been great :-D

pheidippides 05-02-2005 04:08 PM

FROM W2k3 server TO mac os x ... super slow
 
I agree with Hayne that the entire concept needs a global approach. I am frustrated with the networking of Macs and Windows Server 2003. Before, when running W2K server, I had no problem downloading and uploading files between Macs and the server. But since the upgrade to Server 2003, the Macs download files at a snails pace.

I've modified the HOSTS file, setup DNS correctly in Network Pane, created a script that resolves unicast DNS for Macs residing on a Windows ".local" domain...MS UAM, Correct File Sharing procedures, etc...
This is a networking issue, probably concerning how W2K3 Server sets security which affects Macs somehow...

I would like to see more information on what's necessary to enable/disable as a security feature regarding AFP or SMB on the server itself so that Macs can get better performance.


any thoughts?

-- pheidippides --

hillbilly 03-06-2006 06:23 PM

Quote:

Originally Posted by stw1530
Hello,
I have a similar sluggish problem:
I and 6 other designers are on OSX.3.8, and connect to a fileserver running windows 2000 server. I have a pc and a mac in front of me. the pc with xp pro connects with no problem, but when I try and connect from the mac, it is painfully slow....

We dealt with this issue for a long time, and i fiddled with setting even sifted through tcp dump logs for mss setting re-negoiation. I believe the first thing we did was turn up the max xmit. Perhaps when we tested last there were other problems with the os x client however we just re-visited this today and lowered the max xmit to 16644 and bang finder operations are lightning fast now.

[global]
log level = 1
log file = /var/log/samba/log.%m
max log size = 50
socket options = SO_SNDBUF=8760 SO_KEEPALIVE TCP_NODELAY IPTOS_LOWDELAY
max xmit = 16644
read raw = yes
write raw = yes
oplocks = yes
dead time = 15
getwd cache = yes
os level = 255
domain master = yes
preferred master = yes
local master = yes

optical 06-11-2007 05:02 PM

I've struggling with OSX and SBS 2003 for weeks.

I'm new to OSX, is the global config above on the OSX client side? If so, which directory is this at?

Thanks.

optical 06-11-2007 07:18 PM

max xmit change
 
ok, I found where the config should go but didn't help. Still as slow as hell.

I've put max xmit = 16664 statement on the smb.conf file, rebooted but no effect.

Any other suggestions? This is killing me.


All times are GMT -5. The time now is 07:42 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.