Thread: Samba damn slow
View Single Post

  #5 (permalink)  
Old 06-11-2004
Cameron Kerr
 
Posts: n/a
Default Re: Samba damn slow

Rasta99 <rasta99@libero.it> wrote:

>> How fast can you transfer data using other means, such as FTP (which
>> isn't ideal,

>
> I tried with a prog in win (blazeftp) but when but the linux one
> refuses the connection, do i have to setup something on it or start
> any service? I suppose there is no need to tell i'm a linux newbie :)


You need to install and enable an FTP server (temporarily, you should
remove it after the experiment is completed)

>> you've only got 1 linux machine, which limits your testing tools)

>
> I could install another fedora in dual boot on 1 of the win pc if this
> could help.


More linux will definately help, but I recommend having a copy of
Knoppix on hand. I've even remastered my own version, with some very
interesting little network utilities on it.

> [root@pc root]# ifconfig
> eth0 Link encap:Ethernet HWaddr 00:08:A1:56:7E:C8


> RX packets:9599 errors:1371 dropped:0 overruns:0 frame:0


The `errors' counters here is worrying. If you do a file transfer in one
window, run the following command and tell me if you see this counter
increasing as the file is transfered. The errors are also the reason as
to why it's going so slowly, because the dropped packets will cause
the sending and recieving TCP to slow to a crawl as they timeout and
need to retransmit.

watch -n 1 /sbin/ifconfig eth0

If it does, then you can try to either

1) Connect to the switch using a different cable.

2) Connect to a different machine using a crossover cable.

3) Connect to the switch using a different network card.

--
Cameron Kerr
cameron.kerr@paradise.net.nz : http://nzgeeks.org/cameron/
Empowered by Perl!
Reply With Quote