Good afternoon all, I have a few questions, and just joined the list and plan on staying. I had 2 Samba servers at work, both running apache, etc, that we develop on from work and at home over a vpn. My vpn upload speed is 25K, and at one time windows 2000 could save a document in less than 4 seconds from across the vpn using textpad. We recently downgraded our crappy 7.1 redhat versions to 6.2 which are a lot more reliable and easy to work with. Since then my speed has increased to 14 seconds for a save on Win2k and alot more headaches. I don't think it has anything to do with version, but perhaps the config. However the real pain comes from WinXP which has a ridiculous save time of ~28 seconds. For testing I installed NT 4 barebones and I can save across the vpn in almost 1 second, I feel like I'm on a lan with it(and im loving every minute of it!). Does anybody have experience with tweaking the config for total speed? How have other people solved the Windows XP issues? What can I do to increase the logging level? It is my guess that since most people are doing stuff across a high speed LAN that they do not even notice the speed issues with XP. I've tried a few registry settings from some ms documents, as well as a few samba specific tweaks. However, I'd be interested if anyone has any advice, links, ng postings, etc that may help me. I am willing to try both samba conf and windows changes to fix these, because I cannot bear to take 30 seconds per save on a 3kb page. I have my computer name in the /etc/hosts file(and I am confident that my name is being resolved), and I have the computers doing domain authentication on a Win2k mixed mode pdc. Thank you all, Dan VandeMore
This issue of speed comes up a lot. I don't know the answer. Some claim its cheap NIC's, others that there is an authentication issue, and so on. What I never seen anybody do is run tcpdump and look at what the machines are saying to each other when things are slow. Joel On Mon, Jul 15, 2002 at 02:02:09PM -0600, Dan Vande More wrote:> Good afternoon all, > > I have a few questions, and just joined the list and plan on staying. > I had 2 Samba servers at work, both running apache, etc, that we develop on from work and at home over a vpn. > My vpn upload speed is 25K, and at one time windows 2000 could save a document in less than 4 seconds from across the vpn using textpad. > We recently downgraded our crappy 7.1 redhat versions to 6.2 which are a lot more reliable and easy to work with. > Since then my speed has increased to 14 seconds for a save on Win2k and alot more headaches. > I don't think it has anything to do with version, but perhaps the config. > However the real pain comes from WinXP which has a ridiculous save time of ~28 seconds. > For testing I installed NT 4 barebones and I can save across the vpn in almost 1 second, I feel like I'm on a lan with it(and im loving every minute of it!). > Does anybody have experience with tweaking the config for total speed? > How have other people solved the Windows XP issues? > What can I do to increase the logging level? > It is my guess that since most people are doing stuff across a high speed LAN that they do not even notice the speed issues with XP. > I've tried a few registry settings from some ms documents, as well as a few samba specific tweaks. > However, I'd be interested if anyone has any advice, links, ng postings, etc that may help me. > > I am willing to try both samba conf and windows changes to fix these, because I cannot bear to take 30 seconds per save on a 3kb page. > > I have my computer name in the /etc/hosts file(and I am confident that my name is being resolved), and I have the computers doing domain authentication on a Win2k mixed mode pdc. > > Thank you all, > > Dan VandeMore > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba
Ironically, after I wrote this I bumped log level to 3 and ran ethereal on a Windows XP save and Windows NT save. (Log level didn't say much, just a few paragraphs I could not understand, no errors from what I could see.) I'm trying my best to decipher it but if anyone else wants to see them let me know. I saved them as a tcpdump format, so it should be just fine. Thanks Joel, Dan. -----Original Message----- From: Joel Hammer [mailto:Joel@HammersHome.com] Sent: Monday, July 15, 2002 3:16 PM To: Dan Vande More; samba@lists.samba.org Subject: Re: [Samba] Network access speed. This issue of speed comes up a lot. I don't know the answer. Some claim its cheap NIC's, others that there is an authentication issue, and so on. What I never seen anybody do is run tcpdump and look at what the machines are saying to each other when things are slow. Joel On Mon, Jul 15, 2002 at 02:02:09PM -0600, Dan Vande More wrote:> Good afternoon all, > > I have a few questions, and just joined the list and plan on staying. > I had 2 Samba servers at work, both running apache, etc, that we develop on from work and at home over a vpn. > My vpn upload speed is 25K, and at one time windows 2000 could save a document in less than 4 seconds from across the vpn using textpad. > We recently downgraded our crappy 7.1 redhat versions to 6.2 which are a lot more reliable and easy to work with. > Since then my speed has increased to 14 seconds for a save on Win2k and alot more headaches. > I don't think it has anything to do with version, but perhaps the config. > However the real pain comes from WinXP which has a ridiculous save time of ~28 seconds. > For testing I installed NT 4 barebones and I can save across the vpn in almost 1 second, I feel like I'm on a lan with it(and im loving every minute of it!). > Does anybody have experience with tweaking the config for total speed? > How have other people solved the Windows XP issues? > What can I do to increase the logging level? > It is my guess that since most people are doing stuff across a high speed LAN that they do not even notice the speed issues with XP. > I've tried a few registry settings from some ms documents, as well as a few samba specific tweaks. > However, I'd be interested if anyone has any advice, links, ng postings, etc that may help me. > > I am willing to try both samba conf and windows changes to fix these, because I cannot bear to take 30 seconds per save on a 3kb page. > > I have my computer name in the /etc/hosts file(and I am confident that my name is being resolved), and I have the computers doing domain authentication on a Win2k mixed mode pdc. > > Thank you all, > > Dan VandeMore > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba
I take that back, all the NT dump shows is ESP stuff from the vpn, nothing readable. The WinXP stuff is full of: ****************************************************************** Transaction2 Request QUERY_PATH_INFORMATION, PATH: \index.html.en Transaction2 Response QUERY_PATH_INFORMATION ****************************************************************** -----Original Message----- From: Joel Hammer [mailto:Joel@HammersHome.com] Sent: Monday, July 15, 2002 3:16 PM To: Dan Vande More; samba@lists.samba.org Subject: Re: [Samba] Network access speed. This issue of speed comes up a lot. I don't know the answer. Some claim its cheap NIC's, others that there is an authentication issue, and so on. What I never seen anybody do is run tcpdump and look at what the machines are saying to each other when things are slow. Joel On Mon, Jul 15, 2002 at 02:02:09PM -0600, Dan Vande More wrote:> Good afternoon all, > > I have a few questions, and just joined the list and plan on staying. > I had 2 Samba servers at work, both running apache, etc, that we develop on from work and at home over a vpn. > My vpn upload speed is 25K, and at one time windows 2000 could save a document in less than 4 seconds from across the vpn using textpad. > We recently downgraded our crappy 7.1 redhat versions to 6.2 which are a lot more reliable and easy to work with. > Since then my speed has increased to 14 seconds for a save on Win2k and alot more headaches. > I don't think it has anything to do with version, but perhaps the config. > However the real pain comes from WinXP which has a ridiculous save time of ~28 seconds. > For testing I installed NT 4 barebones and I can save across the vpn in almost 1 second, I feel like I'm on a lan with it(and im loving every minute of it!). > Does anybody have experience with tweaking the config for total speed? > How have other people solved the Windows XP issues? > What can I do to increase the logging level? > It is my guess that since most people are doing stuff across a high speed LAN that they do not even notice the speed issues with XP. > I've tried a few registry settings from some ms documents, as well as a few samba specific tweaks. > However, I'd be interested if anyone has any advice, links, ng postings, etc that may help me. > > I am willing to try both samba conf and windows changes to fix these, because I cannot bear to take 30 seconds per save on a 3kb page. > > I have my computer name in the /etc/hosts file(and I am confident that my name is being resolved), and I have the computers doing domain authentication on a Win2k mixed mode pdc. > > Thank you all, > > Dan VandeMore > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba
Rashkae, Thanks for the information, I tried to work my email in such a way that it didn't look like I was blaming samba, in fact I know most of it is not samba, due to the timing differences I did in windows, so I would have to agree with you in that it is a configuration issue. However about 4 months ago I solved the reverse lookups/dns issues, which improved performance substantially over the wan. I am confident this is still working. I don't think I need to test the network, like I said from 4 inches away my NT box does the saves in 26 less seconds, so I know everything from the dsl router to the samba box is working well. IT could be an issue with my network card I guess, but I don't think so(Intel Pro 100) but I'll try. I'll have to look more into oplocks, etc. Thank you again for the information. Dan VandeMore -----Original Message----- From: Rashkae [mailto:rashkae@wealthmap.ca] Sent: Tuesday, July 16, 2002 7:28 AM To: Trey Nolen Cc: Joel Hammer; Dan Vande More; samba@lists.samba.org Subject: Re: [Samba] Network access speed. Actually, Samba is really *fast*. Now, personally, I take the Samba is x* faster than Windows with a large grain of salt. But if you experience speed problems, it is most certainly an indication of Configuration / Network problems. Here are my list of common things to consider. Many configurations of Samba will cause force the host to do a reverse lookup of the Client IP Address. If this reverse lookup gets sent to a DNS server that can't resolve the IP address (poorly configured ISP or internal IP address), then this will stall any Samba connection for several seconds, and may cause the connection to fail entirely unpredictably. (sometimes it works, sometimes it doens't kind of thing.) Make you test network speed with ftp. Check ifconfig on your server for Errors on the network interface. More than 1 or 2 per month is a good sign of networking problems. Many people like to turn off oplocks to increase reliability. This would be especially important if you have clients connecting over a WAN link. Turning off oplocks is neither intuitive nor well documented on a Windows server, so the system might seem to be faster since it's operating differently. Well, that's all I can think of at the moment. Any more advice from those more experienced? On an unrelated note, our network problems in the office here have been greatly reduced since I started replacing D-link hardware (network NIC and swithching hubs) with dirt cheap RTL8139 knockOffs and Startech hubs/switches. Reading the comments of the RTL8139 Linux driver, one gets the impression that the developer doesn't like the hardware internals, but so far, my satisfaction with the hardware has been 100%. Can anyone enlighten me on what I'm missing out on? On 16 Jul 2002, Trey Nolen wrote: On Mon, 2002-07-15 at 16:16, Joel Hammer wrote:> This issue of speed comes up a lot. I don't know the answer. Some claim > its cheap NIC's, others that there is an authentication issue, and so on. > What I never seen anybody do is run tcpdump and look at what the machines > are saying to each other when things are slow.We've had speed issues, too, but use "good" network cards and hardware. Usually Intel or 3Com NICs and switches. Maybe Samba is just slow... Trey Nolen