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)

jcroson 09-16-2003 12:42 PM

Unfortunately...
 
We only have one Mac.

Given my situation, I'll take the optimist tack and call this fortunate...:)

jcroson 09-16-2003 04:15 PM

FYI...
 
I just found a great GUI to loads of 'nix shell utils:

http://www.apple.com/downloads/macos...s/xupport.html

It seemed to improve things a tad...

JC

anthlover 09-16-2003 07:04 PM

Neat Util
 
Neat Util... As far as the "one mac comment" it should not happen, but strange things happen with all OS, it is what many of us are paid to deal with indirectly or directly. Part of trouble shooting requires testing varibles until one finds the solution.

Do you have access to a spare RAW ata mechanism or a FW drive case. You could do a clean install... If you DO NOT have an extra drive you could do an Archive and Install: Preserving Data and.....

Archive and Install FYI:

There are two Archive and Install Options, with and with out saving Apps and Users Prefs.

They both Take Your OSX Folder the ("System") Folder and Make it into a Previous one. If you choose to Save your Settings It will Save you from user setup where you assign passwords, It will save you from having to Drag things from your Applcaitons Folder to your new one, It will preserve your Desktop, Your Dock etc.

You will have to recreate printers and repatch the OS back to 10.26 etc. and counting, reinstall any custom drivers e.g. Carbon Copy Cloner, If you have any special non apple mice etc. You will have to reinstall Palm to make HotSync work correctly, but your data will still be there.

It is super fast compared to NOT saving your user settings. The ? is will this work with this nebulous problem.

**I would suggest **Not saving user Setting as it will probably propagate the problem.

As always it would be irresponsible if did not tell you to back up your data "just in case" somthing unlikely happend or human error like you do a Format install etc.

------------------------
Good Luck ******************************

jcroson 09-17-2003 09:33 AM

I just did that....
 
Before all this happened. Our user was complaining of a number of issues, one of which was network related, so I took an afternoon she was off and started ALL over again.

Re-initialized the HDD. Partitioned it into 3 parts:
OS - 5gb
Apps Swap - 2gb
Apps - remaining 27gb or so

No difference...

I'm copying parts of this thread over to the Apple discussion area. Maybe one of the folks over there know something we don't.

Thanks for the input.

JC

anthlover 09-17-2003 03:37 PM

You do not need to Parittion like that anymore
 
You do not need to Partition like that anymore..... for OSX 10.2x and later

Perhaps that is part of thw problem free space on the Boot Partition ... swap file thrashing etc? I would strongly suggest just having one partition.

I am sorry we have not yet unscrambled the egg. I would suggest well keep trying with you.

jcroson 09-17-2003 03:49 PM

I realize...
 
that it's not necessary to partition the drive up that way, but I thought it would make things easier in the event I needed to reinstall the OS again. The APPS partition only contains our marketing-type software, Photoshop, Quark, etc. The system swap partition is still located on the primary OS partition, and the 2gb APP partition is only for Photoshop and Illustrators usage.

JC

anthlover 09-17-2003 04:38 PM

Thats what Arhcive and Install is for:)
 
Thats what Arhcive and Install is for:)

jcroson 09-17-2003 04:48 PM

Still in...
 
my Linux mode...I guess I think too much...

JC

knowmad 09-17-2003 05:15 PM

an Appology/suggestion
 
It seems i accidentally hijacked the conversation by mentioning duplexing. I am so sorry. I am going to ask, as part of my appology, that we see if we can help the guy fix the problem.
Knowmad
(thats all i wrote before editting)

Now that i have seen the second page (talk about missing the obvius) I have a suggestion.
You can check to see if it is a lack of hard drive space creating swapfile-death that is casuing your problem without doing a full rebuild, though it will be close.
try the following:
install fresh onto the 27gb partition.
test the transfer speeds before upfating
update the combo
test transfer
update security patches a few at a atime, testing after every group
stop when throughput dies.

IF, as i suspect, it is the partition size you will never see the performance drop. If it is one of the updates, you will know which one, if it is osX you will know before updating and can save yourself a few hours.
tell us what happens.
ps am still waiting for my networking guru friend to get of his rear and answer me re this whole thing.
knowmad

jcroson 09-17-2003 05:21 PM

Not at all...
 
It's pretty much stalled at this point...don't sweat it. For what it's worth, you've all been very helpful.

JC

jcroson 09-17-2003 05:38 PM

Well...I see your point.
 
These are the drive spaces...

[STATION10:~] marketing% df -kl
Filesystem 1K-blocks Used Avail Capacity Mounted on
/dev/disk0s9 20181700 4010288 15969596 20% /
fdesc 1 1 0 100% /dev
/dev/disk0s10 1048440 132648 915792 12% /Volumes/Scratch Disk
/dev/disk0s11 38815692 1634216 37181476 4% /Volumes/Applications

As you can see, the amount of space used on the primary disk is very little. There appears to be nearly 16gig left.

Forgive my poor memory of drive space allocated before....

JC

knowmad 09-17-2003 05:56 PM

crap, i thought i was onto something..... hrm, well the install on other partition by stages is not a terrqable idea, juts time consuming. I will keep thinking.
knowmad

jcroson 09-17-2003 05:59 PM

I've considered it...
 
And I may still do it. I have the rest of this week to do what I like to the box before our marketing person gets back from vacation.

I think the idea you have about reinstalling on another partition is very good, since I believe that the problem is related to an update the machine recieved.

I think I read somewhere that the 10.2.6 updated some wireless network files...go figure.

JC

sandtrip2 09-17-2003 06:28 PM

can you post the smb.conf file from the file server?
socket options = IPTOS_LOWDELAY TCP_NODELAY has fixed issues for me before. The line will look like this by default:
socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=4096 SO_RCVBUF=4096

which version of samba is on the linux box? is that box set to auto-neg on the nic card?

have you tried to run a constant ping on the file server? you'd want to check for packet loss. I'd let it run for a good 30 minutes and see what the packet loss is.

sandtrip2 09-17-2003 07:14 PM

10.2.6 has a fix for samba that affected files being corrupted when being copied. might be a couple of other patches in that src tree.

jcroson 09-18-2003 10:46 AM

Thanks for the info...
 
I didn't know about the samba patch in the latest 10.2.6 update. Is there a way to "roll back"?

I have tried commenting out those references to send and recieve buffers in my smb.conf to no avail. My original conf increased the i/o buffer twice the default of 4096, and neither of the three changes I made positively affected performance.

I am using David Beckers build of the 3com Hurrican driver. It does autonegoiate correctly to half-duplex, and in my earlier posts, writes copious amounts of complaining to syslog when ANYONE on the local lan is misconfigured. Really keeps me on my toes.

Thanks for the input.

BTW, my build is 2.2.7. Solid as a rock...

JC

sandtrip2 09-18-2003 11:01 AM

can you post your SMB.conf or the line in question at least?

What's the ping look like?

Thanks

jcroson 09-18-2003 11:11 AM

Sure...
 
# Global parameters
[global]
workgroup = RAMART
server string = Ramart File Server
security = DOMAIN
encrypt passwords = Yes
obey pam restrictions = Yes
password server = RAMART1
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
log level = 1
log file = /var/log/samba/%m.log
max log size = 0

#################################################
# This is the original line. It has been COMPLETELY commented out, and changed to # 4096...

socket options = TCP_NODELAY IPTOS_THROUGHPUT SO_RCVBUF=8192 SO_SNDBUF=8192

#################################################

#This was set to minimize Mrxsmb 3034 Event ID errors on the Win2k server logs
# Check EventID.net for details
os level = 1
domain master = no
local master = no
preferred master = no
#end of add

dns proxy = No
winbind uid = 10000-20000
winbind gid = 10000-20000
template homedir = /home/%U
template shell = /bin/bash
winbind separator = +
admin users = noneofyourbeezwax
csc policy = documents

# Veto MAC .DS_Store file creation, and infectious email and news articles
# Cron job will also prune these files
veto files = /.DS_Store/*.eml/*.nws/*.{*}/.xvpics/desktop.ini/DESKTOP.INI/
hide dot files = true
delete veto files = true

[homes]
comment = %U's Home Directory
read only = No
create mask = 0664
directory mask = 0775
browseable = No

[Company]
path = /home/company
read only = No
create mask = 0664
directory mask = 0775

[Apps]
path = /home/apps
write list = noneofyourbeezwax

[Office 2000]
path = /home/office
write list = noneofyourbeezwax

[Win2k Options]
path = /mnt/options
write list = noneofyourbeezwax

[desktop]
browseable = no
writeable = no
path = /home/desktop
write list = noneofyourbeezwax

[home]
path = /home
write list = noneofyourbeezwax
browseable = no
writeable = no

[modifications]
path = /home/modifications
write list = noneofyourbeezwax
browseable = no
writeable = no

[quickbooks]
path = /home/quickbooks
write list = noneofyourbeezwax
browseable = no
writeable = no

[marketing]
path = /home/marketing
read only = no
create mask = 0664
directory mask = 0775

JC

sandtrip2 09-18-2003 11:23 AM

I hate to be a pain but can you try this?

socket options = TCP_NODELAY IPTOS_THROUGHPUT SO_RCVBUF=8192 SO_SNDBUF=8192

Try just socket options = TCP_NODELAY IPTOS_THROUGHPUT

Then restart the smbd and nmbd(if you're using it) daemons from the init script or by hand.

Try your tests and let me know if it performs the same way.

Re-rolling back from 10.2.6 - I believe the patch is "a good thing" and that you would necess want to roll it back. I'll dig up the details.

hnhansen 09-18-2003 11:26 AM

Re: I did notice...
 
Very interesting thread you are having.

I think you should look into explaining this, or at least under which circumstances it occurs
Quote:

Originally posted by jcroson
...that I was getting my fair share of bad packets. Maybe 10% or so.
10% bad packets is quite a lot in my book. Does anyone know how Mac OS X reacts to this ?


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.