On Wednesday 04 April 2007 13:40, Bas hendriks wrote:
> Hello,
>
> I am trying to figure out why my Samba server has very poor
> performance form server to client.
> The server is a OpenSuSe 10.2 installation, I tested samba 3.0.23d
> and 3.0.24.
>
> File transfer from server > workstation: +- 1 Mbit
> File transfer from workstation > server: +-  85 Mbit
> (this is a 100 Mbit network)
>
> The figures are the same for windows and unix workstations.
<snip>

>
> Can anyone give me some pointers on how to debug?

> intranet:~/testshare # mount|grep cifs
> //localhost/files on /root/testshare type cifs (rw,mand)

This might be your problem.

What happens if you try doing the same thing, but mounting it via
smbfs?

We had a similar problem a few months back restoring a 650MB backup 
from a SMB-speaking NAS.

Firstly, we tried it on FC6.
-----------------------

$ time cp foo.tgz /tmp

real 12m18.892s
user 0m0.014s
sys 0m1.581s

(After which we killed the process to put it out of its misery.)

-rwxr-Sr-t 1 xxx yyy 62763008 Dec 4 12:22 foo.tgz

- 62 MB transferred in 12 minutes over a switched full-duplex Fast 
Ethernet link - inside the same rack.

-----------------------
Unmount it, remount the same NAS share with 'mount -t smbfs':

$ time cp foo.tgz /tmp

real 3m42.517s
user 0m0.160s
sys 0m13.955s

-rwxr-xr-x 1 xxx yyy 654138296 Dec 4 12:27 foo.tgz

- the whole 654 MB transferred in under 4 minutes.

The only difference between the two tests was 'mount -t cifs' 
versus 'mount -t smbfs'.

-----------------------

We did the same with SuSE (10.0 or 10.1, IIRC) and got much the same 
results.

I don't know where the problem is, and don't have time to isolate the 
cause; but personally, I'm avoiding cifs until it compares to smbfs.

 cheers,

   Gideon.

Attachment: pgpGS5IRFOB6E.pgp
Description: PGP signature

Reply via email to