Go Back   The macosxhints Forums > OS X Help Requests > Networking



Reply
 
Thread Tools Rating: Thread Rating: 10 votes, 5.00 average. Display Modes
Old 04-18-2005, 11:33 AM   #61
stw1530
Prospect
 
Join Date: Apr 2005
Posts: 3
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
stw1530 is offline   Reply With Quote
Old 04-18-2005, 11:38 AM   #62
hayne
Site Admin
 
Join Date: Jan 2002
Location: Montreal
Posts: 32,473
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.
hayne is online now   Reply With Quote
Old 04-18-2005, 11:40 AM   #63
stw1530
Prospect
 
Join Date: Apr 2005
Posts: 3
thanks

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

S
stw1530 is offline   Reply With Quote
Old 04-21-2005, 03:56 PM   #64
nyzeta
Prospect
 
Join Date: Apr 2005
Posts: 5
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
nyzeta is offline   Reply With Quote
Old 05-02-2005, 04:08 PM   #65
pheidippides
Prospect
 
Join Date: Apr 2005
Posts: 4
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 --
pheidippides is offline   Reply With Quote
Old 03-06-2006, 06:23 PM   #66
hillbilly
Registered User
 
Join Date: Mar 2006
Posts: 1
Jaguar

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
hillbilly is offline   Reply With Quote
Old 06-11-2007, 05:02 PM   #67
optical
Prospect
 
Join Date: Jun 2007
Posts: 3
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 is offline   Reply With Quote
Old 06-11-2007, 07:18 PM   #68
optical
Prospect
 
Join Date: Jun 2007
Posts: 3
Angry 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.
optical is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 09:07 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.