[Samba] Decent Performance

Ricky Nance ricky.nance at gmail.com
Sun Sep 7 07:27:52 MDT 2014


If there is a socket options line in your smb.conf, comment it out and
restart samba and see if your speed improves.

Ricky
On Sep 6, 2014 4:11 PM, "Udo Kaune" <samba at inet-hamburg.de> wrote:

> Hi all,
>
> I am trying to get some decent speed out of a vanilla Debian (Proxmox) box
> and
> am running out of ideas. Basically I can exchange data at 110MB/sec (raw,
> nfs,
> ftp) but not with Samba shares.
>
> I tried almost every samba tuning tip I could find to no avail. The only
> optimisation left to smb.conf at the moment is debug level = 0. As one can
> see
> the robocopy throughput is merely half of what would be expected.
>
> Any hints?
>
> Best regards
> Udo
>
> root at atlas:# dmesg | grep DMI
> DMI present
> DMI: Supermicro X8ST3/X8ST3, BIOS 2.0        07/29/10
>
> #root at atlas:# lspci | grep Ethernet
> 07:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network
> Connection
> 08:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network
> Connection
>
> root at atlas:# uname -an
> Linux atlas 2.6.32-31-pve #1 SMP Thu Jul 24 06:44:16 CEST 2014 x86_64
> GNU/Linux
>
> root at atlas:# modinfo e1000e
> filename:
>  /lib/modules/2.6.32-31-pve/kernel/drivers/net/e1000e/e1000e.ko
> version:        3.0.4.1-NAPI
> license:        GPL
> description:    Intel(R) PRO/1000 Network Driver
> author:         Intel Corporation, <linux.nics at intel.com>
> vermagic:       2.6.32-31-pve SMP mod_unload modversions
>
> root at atlas:/# smbd --version
> Version 3.6.6
>
> write to local disk at max:
> root at atlas:/# dd if=/dev/zero of=/var/opt/vz/test.bin bs=1M count=100000
> 100000+0 records in
> 100000+0 records out
> 104857600000 bytes (105 GB) copied, 790.853 s, 133 MB/s
>
> read from local disk at max:
> root at atlas:/# dd if=/var/opt/vz/test.bin of=/dev/null
> 204800000+0 records in
> 204800000+0 records out
> 104857600000 bytes (105 GB) copied, 771.101 s, 136 MB/s
>
> netio session: debian server, windows 2003 client
> NETIO - Network Throughput Benchmark, Version 1.32
> (C) 1997-2012 Kai Uwe Rommel
> TCP connection established.
> Packet size  1k bytes:  110.49 MByte/s Tx,  112.27 MByte/s Rx.
> Packet size  2k bytes:  110.12 MByte/s Tx,  112.03 MByte/s Rx.
> Packet size  4k bytes:  112.32 MByte/s Tx,  112.06 MByte/s Rx.
> Packet size  8k bytes:  112.48 MByte/s Tx,  112.17 MByte/s Rx.
> Packet size 16k bytes:  112.25 MByte/s Tx,  111.97 MByte/s Rx.
> Packet size 32k bytes:  112.82 MByte/s Tx,  112.08 MByte/s Rx.
>
> ftp session:  debian server, windows 2003 client
> RETR test.bin
> 150 Opening BINARY mode data connection for test.bin (2035077419 bytes)
> Download: 2.017.771.748 Bytes, 114377 kbytes/s
> Waiting for server reply...
> 226 Transfer complete
> Copied (05.09.2014 23:22:00): ftp://atlas//test.bin -> d:\temp\test.bin
> 2.035.077.419 Bytes, 109933 kbytes/s
>
> robocopy: debian server, windows 2003 client
> d:\>robocopy z:\ d:\temp test.bin
>
>             Total    Copied   Skipped  Mismatch    FAILED    Extras
> Bytes :   1.895 g   1.895 g         0         0         0         0
> Times :   0:00:40   0:00:40                       0:00:00   0:00:00
> Speed :               49902 KBytes/sec.
> Speed :                2855 MBytes/min.
>
>
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
>


More information about the samba mailing list