Hi; I am using Samba 2.2.0 on a small business network (192.168.1.x). I am running Suse 7.2 on a pentium pro 120. This machine is also the local gateway (isdn) using masquarading. I have a 10 Mbs utp network. I am experiencing an extreme difference in read and write speed over the samba server. Writing from a windows machine (windows 98se) to the linux box gives me data rates of approx 16 kByte/sec, reading from the linux box to the windows machine is near 1 MByte/sec. Using smbclient on the linux box, the situation is as bad. Any ideas on how to fix this or how to do more elaborate tests? Thanks. R.Lagendijk -------------- next part -------------- HTML attachment scrubbed and removed
Do you see the same slowdown with FTP? If so, check your network, especially the duplex setting on both machines' ethernet cards. They should all be half duplex if they're talking to a hub. Having one card in full duplex will often cause exactly the symptoms you describe. -----Original Message----- From: Inald Lagendijk [mailto:RLLagendijk@HoTMail.com] Sent: Thursday, December 27, 2001 3:17 PM To: samba@samba.org Subject: Very poor writing performance Hi; I am using Samba 2.2.0 on a small business network (192.168.1.x). I am running Suse 7.2 on a pentium pro 120. This machine is also the local gateway (isdn) using masquarading. I have a 10 Mbs utp network. I am experiencing an extreme difference in read and write speed over the samba server. Writing from a windows machine (windows 98se) to the linux box gives me data rates of approx 16 kByte/sec, reading from the linux box to the windows machine is near 1 MByte/sec. Using smbclient on the linux box, the situation is as bad. Any ideas on how to fix this or how to do more elaborate tests? Thanks. R.Lagendijk
It will work after a fashion, there will just be a lot of late collisions (which will be undetected by the ethernet card.) The result is a network that appears to work fine when you ping it, but collapses when you try to move anything large. Another common symptom of a duplex mismatch is a machine on the local network that you can telnet to just fine, but that transfers horribly slowly (or not at all) with FTP. Telnet sends very small packets, so the odds of a collision are much lower. -----Original Message----- From: thing [mailto:thing@thing.dyndns.org] Sent: Thursday, December 27, 2001 11:30 PM To: David Brodbeck; samba@samba.org Subject: Re: Very poor writing performance if its a hub and its on full duplex it shouldnt work at all Thing David Brodbeck wrote:> > Do you see the same slowdown with FTP? > > If so, check your network, especially the duplex setting on both machines' > ethernet cards. They should all be half duplex if they're talking to ahub.> Having one card in full duplex will often cause exactly the symptoms you > describe. > > -----Original Message----- > From: Inald Lagendijk [mailto:RLLagendijk@HoTMail.com] > Sent: Thursday, December 27, 2001 3:17 PM > To: samba@samba.org > Subject: Very poor writing performance >
Should we add this to the Samba troubleshooting docs somewhere, if it isn't in there already? Granted it's not "really" a Samba problem, but it's certainly a FAQ. -----Original Message----- From: Inald Lagendijk [mailto:RLLagendijk@HoTMail.com] Sent: Friday, December 28, 2001 10:58 AM To: David Brodbeck Cc: samba@samba.org Subject: Re: Very poor writing performance Thanks for the tip. I did see the same slowdown with FTP. I guess that something was wrong with the duplex or even with the (old) card. I replaced the network card with another one, and the problem is fixed. Thanks ----- Original Message ----- From: "David Brodbeck" <DavidB@mail.interclean.com> To: "'Inald Lagendijk'" <RLLagendijk@HoTMail.com>; <samba@samba.org> Sent: Thursday, December 27, 2001 9:17 PM Subject: RE: Very poor writing performance> Do you see the same slowdown with FTP? > > If so, check your network, especially the duplex setting on both machines' > ethernet cards. They should all be half duplex if they're talking to ahub.> Having one card in full duplex will often cause exactly the symptoms you > describe. > > -----Original Message----- > From: Inald Lagendijk [mailto:RLLagendijk@HoTMail.com] > Sent: Thursday, December 27, 2001 3:17 PM > To: samba@samba.org > Subject: Very poor writing performance > > > Hi; > > I am using Samba 2.2.0 on a small business network (192.168.1.x). I am > running > Suse 7.2 on a pentium pro 120. This machine is also the local gateway(isdn)> using > masquarading. I have a 10 Mbs utp network. > > I am experiencing an extreme difference in read and write speed over the > samba server. > Writing from a windows machine (windows 98se) to the linux box gives medata> rates of approx 16 kByte/sec, reading from the linux box to the windows > machine > is near 1 MByte/sec. > > Using smbclient on the linux box, the situation is as bad. > > Any ideas on how to fix this or how to do more elaborate tests? > > Thanks. > > R.Lagendijk > > >