Networking Forums

Networking Forums > Computer Networking > Linux Networking > samba much slower than ssh and behaving weird??

Reply
Thread Tools Display Modes

samba much slower than ssh and behaving weird??

 
 
peter pilsl
Guest
Posts: n/a

 
      11-30-2005, 08:26 PM

I've a very strange network-problem here:

I connect two linux-machines via a wlan with samba. The connection is a
54MBit-Wlan, so I should get at least 20MBit in real.

When transfering a big file (500MB compressed data) with samba I get
only about 8Mbit (measured with iptraf).
Transfering the very same file with scp I get the 23MBit, which is what
I expected.

And now the real strange stuff: When I have two big files in the same
directory and start two copy-processes to transfer both via samba to the
other machine I get 15MBit. This should be slower than when copying only
one file.

What is my problem?

The disks are fast enough, which is shown when transfering with scp and
especially when torturing the disk by copying to files from the same
folder to the same folder simultanously.

The connection is fast enough.

samba is a good thing. I use it for years. I never encountered a laps
like this.


Both systems run OpenSuse10.0 with samba 3.0.20b and there were no other
net- or sysconsuming processes running on either machine when I did my
tests.

thnx,
peter
 
Reply With Quote
 
 
 
 
Michael Heiming
Guest
Posts: n/a

 
      11-30-2005, 09:32 PM
In comp.os.linux.networking peter pilsl <(E-Mail Removed)>:

> I've a very strange network-problem here:


> I connect two linux-machines via a wlan with samba. The connection is a


Is there any special reason to use samba? Why not use NFS, the
natural way to mount filesystem through the network for unix?

There's probably a nfs howto (www.tldp.org) to get you going.

Good luck

[ transfer speed problems ]

--
Michael Heiming (X-PGP-Sig > GPG-Key ID: EDD27B94)
mail: echo (E-Mail Removed) | perl -pe 'y/a-z/n-za-m/'
#bofh excuse 364: Sand fleas eating the Internet cables
 
Reply With Quote
 
peter pilsl
Guest
Posts: n/a

 
      11-30-2005, 09:59 PM
>
> Is there any special reason to use samba? Why not use NFS, the
> natural way to mount filesystem through the network for unix?
>


I usually work in heterogenic networks. Windows and sometimes even Macs
should be able to access the files too. For windows the server should
even be able to act as PDC (for non-win-people: Public Domain Controller
- kind of a windows authentication master that rulez a network).

So samba is my choice.

thnx,
peter
 
Reply With Quote
 
Michael Heiming
Guest
Posts: n/a

 
      11-30-2005, 11:46 PM
In comp.os.linux.networking peter pilsl <(E-Mail Removed)>:
>>
>> Is there any special reason to use samba? Why not use NFS, the
>> natural way to mount filesystem through the network for unix?
>>


> I usually work in heterogenic networks. Windows and sometimes even Macs
> should be able to access the files too. For windows the server should
> even be able to act as PDC (for non-win-people: Public Domain Controller
> - kind of a windows authentication master that rulez a network).


Thx, however I'm well aware about PDC/BDC, just that I don't use
it on my desktop doesn't mean there wouldn't been heterogeneous
networks around me.

> So samba is my choice.


You can export the same dir via NFS and via samba. Don't get much
more then 2 MB/sec transfered via 54MBit wlan using scp. But it's
still pretty much for tunneling http through ssh, so didn't
bother to put work into speeding things up.

Did you checked for (growing) problems/errors with
ifconfig/netstat?

--
Michael Heiming (X-PGP-Sig > GPG-Key ID: EDD27B94)
mail: echo (E-Mail Removed) | perl -pe 'y/a-z/n-za-m/'
#bofh excuse 154: You can tune a file system, but you can't
tune a fish (from most tunefs man pages)
 
Reply With Quote
 
e_arizon_benito@yahoo.com
Guest
Posts: n/a

 
      12-01-2005, 08:57 AM
peter pilsl wrote:
> I've a very strange network-problem here:
>
> And now the real strange stuff: When I have two big files in the same
> directory and start two copy-processes to transfer both via samba to the
> other machine I get 15MBit. This should be slower than when copying only
> one file.
>
> What is my problem?
>


Try an smaller MTU. If suddenly things start working as espected then
is probably a random WiFi problem.
(You can use traceroute -n "destinationHost" "packetLenght" to catch
the problem origin.)

Hope this help!

Enrique

http://www.heraldodeinternet.com/Mem...arizon_benito/

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba shares look weird on W2k3-Server idontlikespam@denniswinter.de Windows Networking 0 10-16-2006 11:45 AM
Plusnet's 2mb/s is slower then it's 512 kb/s connection and being5.5 times slower then Pipex - why? Dee Broadband 54 06-05-2005 10:48 PM
Accessing Samba shares through VPN (long and weird) Johpe Linux Networking 1 12-21-2004 07:39 AM
Why would my connection (by router) be getting slower & slower? Mr Lawes Broadband 2 08-25-2004 11:48 PM
MN-500 starts mis-behaving Ajay Patel Broadband Hardware 3 04-13-2004 08:03 PM



1 2 3 4 5 6 7 8 9 10 11