|
|
| TW2001 2001-07-05, 2:02 pm |
| Hello,Hello...
My problem is actually more of a browsing one.The lan is very slow when browsing the Samba server.What should I be looking at?
I have Samba doing WINS.I know DNS is a lot more robust.Ive not been too succesful in getting BIND8 set up.That was a whole other episode Maybe I will get into that Mon(if I have time...im dedicating monday to getting online with Linux.Im in the process of gathering as much info as I can!)
So what do you think?
Also, when the my windows box is online...its even slower.Browsing my 2 Windows servers though is not a problem. | |
| ccieToBe 2001-07-05, 4:52 pm |
| A few ideas:
Make sure it's not a problem with the network being overutilized.
Is Samba box's hardware up to spec?
Look in your smb.conf file and make sure the TCP_NODELAY option is set.
Try browsing the shares through Samba's IP address to make sure it's not a naming latency issue.
Monitor resource utilization while your browsing the shares. | |
| TW2001 2001-07-05, 6:00 pm |
| Great, Thanks, will do
Hey what are some good values for those params around the TCP_NODEDELAY enties in smb.conf? | |
| ccieToBe 2001-07-05, 6:50 pm |
| I'm not sure. TCP_NODELAY seems to be the only parameter that's recommened by the Samba docs. I think the smb.conf man page has a list of the other parameters that can be used. Randy might have some ideas on what should be entered. | |
| TW2001 2001-07-05, 8:12 pm |
| Ive seen some recomendations on halving the send/recieve buffers(default is like 8046) maybe slim the packets down a little.I will see what Randy thinks. | |
| ccieToBe 2001-07-06, 12:42 pm |
| Randy, do you have any ideas on what other parameters should be entered in the smb.conf file besides "TCP_NODELAY"? | |
| Randy 2001-07-06, 12:55 pm |
| That is really the main one. IPTOS_LOWDELAY shouldn't really
make any difference unless something is scheduling packets based upon TOS. As for the socket options, these are either passed to the smbd using the option -O or are set in /etc/smb.conf. Which options may be set or combined differs and has to be figured out by experimenting (it strongly depends on your network). There are hints in man smb.conf and /usr/doc/packages/samba/Speed.txt.
Be aware that your changes might have an opposite effect and you might have to hack for a while to get performance up to speed.
$ vi /etc/smb.conf
[Global]
; workgroup = NT-Domain-Name or Workgroup-Name, eg: REDHAT4
workgroup = MYNET
...
socket options = TCP_NODELAY
Also, you could try playing with the share mode handling.
From version 1.9.17 onwards Samba can be compiled using the FAST_SHARE_MODES option. This enhances database access (e.g. Microsoft Access). Check the version and see if tyhis might be a possible solution.
If Windows is the prob, you could try modifying the "TCP MTU" and "TFP sliding windows size" via the registry and see if it helps. | |
| ccieToBe 2001-07-06, 1:02 pm |
| Thanks for the pointers. I'll experiment with some of those parameters. | |
| TW2001 2001-07-06, 1:23 pm |
| Thanks, yeah I will check it out to.
I just got 7.1 today.Major differences? I think I will solidify what Ive accomplished so far.Maybe document how Ive configured things.Coming from Windows Networking (which Im pretty strong in.) the Linux configurations are not second nature to me......yet
Im really enjoying the Network right now...ah what I am I saying I cant wait to load it...but a dilemmma FreeBSD or RH 7.1
It seems we are all kind of doing the same things study wise.Im sitting Sever in about a month(ahh Ive kind of gotten a little off track )
Then I will do pro.Then Im really going deeper into Linux/Unix and compliment it with yep you guessed it some internetworking .Ive got two semesters and I have my A.S in Comp Science. | |
|
| Until you are really comnfy with UNIX, you had better stick to Red Hat . . . I love FreeBSD . . . it's one he most solid OS's that I have ever come across, but it can be a bit confusing unless you are really familiar with UNIX. But once you ARE, you will love it. | |
| ccieToBe 2001-07-06, 2:10 pm |
| Yeah, stick with Linux until you become comfortable with doing everything from the console. Once you get to that point, try out the devil OSs and you'll probably love them.
I've actually gotten to the point now where I'm more familiar with FreeBSD then Linux. Hehe, I've had a couple people ask me how to do things with Linux and I said "Well, um. This is how you do it in FreeBSD. It should be simular in Linux."
Wow, we really are paralleling each other. I'll probably get an AS in Networking in December, then focus on a BS Computer Science or Information Technology. |
|
|
|