You are not logged in.

#1 2016-03-28 09:23:01

_pheinrich_
Member
Registered: 2014-05-26
Posts: 53

Samba very slow (10 MByte/s), Iperf 936 MBits/s ?

Hi,

I tried to copy some video files from my PC (Arch Linux) to my network share PC (Arch Linux) via samba but my connection speed over samba is really slow.

Iperf says that everything is ok with my gbit network.

Client connecting to 192.168.0.130, TCP port 5001
TCP window size: 85.0 KByte (default)
------------------------------------------------------------
[  3] local 192.168.0.110 port 44392 connected with 192.168.0.130 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.0 sec  1.09 GBytes   936 Mbits/sec

The server Filesystem is btrfs... but I suppose that this is not the problem.

And yes I could use nfs or sshfs or whatever... but currently there are windows machines around and I do not want to use multiple things.

Offline

#2 2016-03-28 09:46:23

headkase
Member
Registered: 2011-12-06
Posts: 1,977

Re: Samba very slow (10 MByte/s), Iperf 936 MBits/s ?

Have you tried with a manual cifs mount?

https://wiki.archlinux.org/index.php/Sa … l_mounting

I've always found cifs to be the fastest and most reliable way to deal with Windows shares.

Offline

#3 2016-03-28 11:13:52

_pheinrich_
Member
Registered: 2014-05-26
Posts: 53

Re: Samba very slow (10 MByte/s), Iperf 936 MBits/s ?

No that does not help either.

rsync --info=progress2 /home/pheinrich/Downloads/test.mkv /mnt/media/Videos/                                                                                                                                                                                
  7,608,882,037 100%    9.85MB/s    0:12:17 (xfr#1, to-chk=0/1)

BUT using ssh ...

rsync --info=progress2 /home/pheinrich/Downloads/test.mkv ssh root@192.168.0.130:/srv/data/General/                                                                                
  7,608,882,037 100%  110.90MB/s    0:01:05 (xfr#1, to-chk=0/1)

so the problem is samba

Last edited by _pheinrich_ (2016-03-28 12:25:45)

Offline

#4 2016-04-03 04:35:32

zugger
Member
Registered: 2016-04-03
Posts: 3

Re: Samba very slow (10 MByte/s), Iperf 936 MBits/s ?

nvm... Shouldn't post when it's so late.

Last edited by zugger (2016-04-03 17:58:22)

Offline

Board footer

Powered by FluxBB