You are not logged in.

#1 2008-06-16 20:01:12

fifafrazer
Member
Registered: 2008-02-18
Posts: 81

Extremely slow samba speed.

Hey.

I have two computers running arch linux, both with a samba server for sharing files between them. I'm experiencing some very weird behaviour. Windows users can easily download files from the server with proper speed, but when I mount the samba share with my laptop it is EXTREMELY slow. It's like 8 hours for 150 MB. My laptop also has a samba server running, and when uploading files to it, it is just as slow. There is nothing wrong with the connection, because when downloading from the internet, both system are able to get speeds at 800 kB/s. What could be wrong here:
Here is my services definitions for the main server:

[global]
    server string = Samba server pwrd by Arch
    security = SHARE
    log file = /var/log/samba/%m.log
    max log size = 50
    dns proxy = No

[homes]
    comment = Home Directories
    read only = No
    browseable = No

[printers]
    comment = All Printers
    path = /var/spool/samba
    printable = Yes
    browseable = No

[winD]
    path = /mnt/winD/
    guest ok = Yes

[winH]
    path = /mnt/winH/
    guest ok = Yes

[dev]
    path = /home/peter/gamedev/
    guest ok = Yes

[upload]
    path = /mnt/upload
    read only = No
    guest ok = Yes

And for the server on the lappie:

 [global]

    server string = Arch Lappie

    security = SHARE

    log file = /var/log/samba/%m.log

    max log size = 50

    dns proxy = No



[homes]

    comment = Home Directories

    read only = No

    browseable = No



[printers]

    comment = All Printers

    path = /var/spool/samba

    printable = Yes

    browseable = No



[upload]

    path = /mnt/lan/upload

    read only = No

    guest ok = Yes

I'm also having trouble mounting the 'dev' share. All the other shares mounts just fine, but when trying to mount the dev share i get the following error:

IP:  192.168.0.183

192.168.0.183

Input mount point:  /mnt/lan/ARCH/dev

Setting mount command to SMB

smbmount //192.168.0.183/dev /mnt/lan/ARCH/dev -o password=

Mounting //192.168.0.183/dev ...

3480: tree connect failed: ERRDOS - ERRnosuchshare (You specified an invalid share name)

SMB connection failed

Failed to mount

Failed, mounting by netbios

ARCH

Input mount point:  /mnt/lan/ARCH/dev

Setting mount command to SMB

smbmount //ARCH/dev /mnt/lan/ARCH/dev -o password=

Mounting //ARCH/dev ...

3481: tree connect failed: ERRDOS - ERRnosuchshare (You specified an invalid share name)

SMB connection failed

Failed to mount

Offline

#2 2008-06-17 14:33:20

slide_rule
Member
From: loglogdecalog
Registered: 2007-09-16
Posts: 33

Re: Extremely slow samba speed.

Could you post the output of "smbclient -L <address to ARCH server>" from the laptop?  FYI, you don't need the samba server running on the laptop if it's a client, you just need samba installed.

Offline

#3 2008-06-17 14:39:15

Bapman
Member
From: Ottawa, Canada
Registered: 2007-09-02
Posts: 140

Re: Extremely slow samba speed.

Do you have a correct /etc/hosts line like this model : http://wiki.archlinux.org/index.php/Beg … tc.2Fhosts ?

Offline

#4 2008-06-17 18:27:58

fifafrazer
Member
Registered: 2008-02-18
Posts: 81

Re: Extremely slow samba speed.

slide_rule wrote:

Could you post the output of "smbclient -L <address to ARCH server>" from the laptop?  FYI, you don't need the samba server running on the laptop if it's a client, you just need samba installed.

yes, I'm running the samba server on the laptop to share, not to download wink

Here is the output of the smbclient -L command:

Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.30]



    Sharename       Type      Comment

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

    winD            Disk      

    winH            Disk      

    dev             Disk      

    upload          Disk      

    IPC$            IPC       IPC Service (Samba server pwrd by Arch)

Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.30]

Offline

#5 2008-06-17 18:32:37

fifafrazer
Member
Registered: 2008-02-18
Posts: 81

Re: Extremely slow samba speed.

I have the following line on the /etc/hosts file on the server:
127.0.0.1               localhost.localdomain   localhost arch

And this line on the laptop:
127.0.0.1               localhost.localdomain   localhost archlap

So it should be ok?

Offline

Board footer

Powered by FluxBB