From owner-freebsd-performance@FreeBSD.ORG Fri Sep 29 14:21:22 2006 Return-Path: X-Original-To: freebsd-performance@freebsd.org Delivered-To: freebsd-performance@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0825E16A40F for ; Fri, 29 Sep 2006 14:21:22 +0000 (UTC) (envelope-from cochard@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.179]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1133143D70 for ; Fri, 29 Sep 2006 14:21:20 +0000 (GMT) (envelope-from cochard@gmail.com) Received: by py-out-1112.google.com with SMTP id o67so1201308pye for ; Fri, 29 Sep 2006 07:21:20 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:mime-version:content-type:x-google-sender-auth; b=NCzbgrY7fEEqtqeb4fX9eZ/ONTmengD+e9ugk40GUXIwA3C0Upwt+6pRPzNYykX38BHftyr/cAw76eUX+tFLWhEVTAoVbMUwl35dCFuAtFWpvR3L6LJtikg2VU/DKPXxPr+jWdEfAun+xzRUsfkFEQdow5DfuKc2JYNmO5HMrxo= Received: by 10.35.21.1 with SMTP id y1mr742413pyi; Fri, 29 Sep 2006 07:21:20 -0700 (PDT) Received: by 10.35.100.20 with HTTP; Fri, 29 Sep 2006 07:21:20 -0700 (PDT) Message-ID: <3131aa530609290721o267d55bakff4e801ef4000675@mail.gmail.com> Date: Fri, 29 Sep 2006 16:21:20 +0200 From: "Olivier Cochard-Labbe" Sender: cochard@gmail.com To: freebsd-performance@freebsd.org MIME-Version: 1.0 X-Google-Sender-Auth: fe0f99ca02275405 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Samba Performance problem X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Sep 2006 14:21:22 -0000 Hi all, I meet a performance problem with my customized distro of FreeBSD 6.1(FreeN= AS). Lot's of FreeNAS users compare the performance of FreeNAS with Linux, and the Samba performance are very poor under FreeNAS (but not with NFS or FTP)= . I've use this value on the default samba configuration: socket options =3D IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=3D16384 SO_RCVBUF=3D16384 But there is no change. Then I've try to add a "tune" parameter that set this kernel variables: net.inet.tcp.delayed_ack=3D0 net.inet.tcp.sendspace=3D65536 net.inet.tcp.recvspace=3D65536 net.inet.udp.recvspace=3D65536 net.inet.udp.maxdgram=3D57344 net.local.stream.recvspace=3D65535 net.local.stream.sendspace=3D65535 kern.ipc.maxsockbuf=3D2097152 kern.ipc.somaxconn=3D8192 kern.ipc.nmbclusters=3D60000 kern.maxfiles=3D65536 kern.maxfilesperproc=3D32768 net.inet.tcp.inflight.enable=3D0 But there is no change too... How can I improve the Samba performace ? Thanks, Olivier --=20 Olivier Cochard-Labb=E9 FreeNAS main developer http://www.freenas.org Skype: callto://ocochard