From owner-freebsd-performance@FreeBSD.ORG Sat Oct 25 19:25:50 2008 Return-Path: Delivered-To: freebsd-performance@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0E2401065676 for ; Sat, 25 Oct 2008 19:25:50 +0000 (UTC) (envelope-from 7yuny1@gmail.com) Received: from ti-out-0910.google.com (ti-out-0910.google.com [209.85.142.188]) by mx1.freebsd.org (Postfix) with ESMTP id 9BBDF8FC1A for ; Sat, 25 Oct 2008 19:25:49 +0000 (UTC) (envelope-from 7yuny1@gmail.com) Received: by ti-out-0910.google.com with SMTP id d27so831325tid.3 for ; Sat, 25 Oct 2008 12:25:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=mdaDhaadoFvIdfWToFKe/P9pX4FwJ0jcL5z2PlwTcOw=; b=sspAReyu4Z4myP0S9BGSPLVvTBtQ6RhwfQ8bryp12alUD5uNgHmNkuhJRcJqCWWxt/ r23DtpiY4vZVGoPdyA85nWN7xpgSsnGTEaQnbpXA8lL68uRpBzzdu7qM0JjYG9627eVx FVuz0Q3bYUpZfblt8Koib2rzEzDCxdHga8M8k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=EkZutfcTgLiZoUEzitIKqeX9SeIvzIHqjKyA7pmFa3hkwN1O6wZ58JNPUpXShZyYwX e9B9CBsuFM0gSPoJUzIOkR8tR+tu2T5wd+85yKzoxJjtS0aX0FuU8T7dJeCunoFwzg7r AZdNgD/ZipDu4vHSG2PKp1Rf00upG+W+u1wsg= Received: by 10.110.5.14 with SMTP id 14mr2255782tie.58.1224961358176; Sat, 25 Oct 2008 12:02:38 -0700 (PDT) Received: by 10.110.31.7 with HTTP; Sat, 25 Oct 2008 12:02:38 -0700 (PDT) Message-ID: <81a9e3840810251202s3ed27472y46da61999166d9c0@mail.gmail.com> Date: Sun, 26 Oct 2008 03:02:38 +0800 From: "Jyun-Yi Liou" <7yuny1@gmail.com> To: "Mike Tancsa" In-Reply-To: <200810231859.m9NIx2NV059442@lava.sentex.ca> MIME-Version: 1.0 References: <200810231859.m9NIx2NV059442@lava.sentex.ca> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-performance@freebsd.org Subject: Re: improving Samba performance 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: Sat, 25 Oct 2008 19:25:50 -0000 hi Mike, In my experience, you should set "use sendfile = yes" and "socket options = SO_RCVBUF=8192 SO_SNDBUF=8192 TCP_NODELAY" in /usr/local/etc/smb.conf expecially sendfile system call and TCP_NODELAY, these will let your samba transmits file or response faster. please read smb.conf(5) and sendfile(2) for more information Regards, jyuny1 2008/10/24 Mike Tancsa > Are there any suggestions for a AMD64 RELENG_7 box to improve samba > performance ? Write throughput from a windows box seems a bit slower than it > should be. > > ---Mike > > -------------------------------------------------------------------- > Mike Tancsa, tel +1 519 651 3400 > Sentex Communications, mike@sentex.net > Providing Internet since 1994 www.sentex.net > Cambridge, Ontario Canada www.sentex.net/mike > > _______________________________________________ > freebsd-performance@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-performance > To unsubscribe, send any mail to " > freebsd-performance-unsubscribe@freebsd.org" >