From owner-freebsd-questions@FreeBSD.ORG Mon Jun 30 20:48:35 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A7C7D1065680 for ; Mon, 30 Jun 2008 20:48:35 +0000 (UTC) (envelope-from worm402@gmail.com) Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.30]) by mx1.freebsd.org (Postfix) with ESMTP id 5D2098FC14 for ; Mon, 30 Jun 2008 20:48:35 +0000 (UTC) (envelope-from worm402@gmail.com) Received: by yw-out-2324.google.com with SMTP id 9so743328ywe.13 for ; Mon, 30 Jun 2008 13:48:34 -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 :content-transfer-encoding:content-disposition:references; bh=ELLKnth5OLSukBD38kwz32vl3nBrWvDlo8bZTwAnNRU=; b=DDFqzDjBEd31Xvp3yQfZ17IfUawROPbSx1dcCwOJiDDlcvW4i5y3rDXDb9m3fKqvTa LLJKABz2oR+uD7Nwh3b8DJADxAd4SfcXdBt3JUQDvGElKGF7drm3pdU+KP/COruGqj/0 apLFSItInOUZoDITNASH72poW5YiS7bxmY7HI= 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:content-transfer-encoding:content-disposition :references; b=mP9oAfxe/MGeHLh2+l4clvWyE3KybfC0ire60SMeosVoBvvMRlY3BRz8Wj+V9otsTt XwRbq0EqjrGcIfNM5pPTB/O/1bxzo3zX1Q4IAytbxb/knWi5HN3j2SIOi2oypRSktqxB yqCWBkpjEKRiyqNYtkvTLgJ0odJfrxDi0ksk8= Received: by 10.142.179.7 with SMTP id b7mr1387737wff.200.1214858913941; Mon, 30 Jun 2008 13:48:33 -0700 (PDT) Received: by 10.142.153.10 with HTTP; Mon, 30 Jun 2008 13:48:33 -0700 (PDT) Message-ID: <2e277b740806301348q157eb808u98afa693f78f8e0c@mail.gmail.com> Date: Mon, 30 Jun 2008 15:48:33 -0500 From: worms To: "Sten Daniel Soersdal" In-Reply-To: <48617450.5070706@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <2e277b740806200630q6a9482f7uee68da0eb9507d8e@mail.gmail.com> <48617450.5070706@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: trouble shooting samba performance X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Jun 2008 20:48:35 -0000 On Tue, Jun 24, 2008 at 5:25 PM, Sten Daniel Soersdal wrote: > worms wrote: >> >> Hello, >> >> >> Can anyone point me to a guide on trouble shooting samba performance >> or a quick list of common issues I can check for. >> I've been googling but haven't found much that referenced a recent >> version of FreeBSD and Samba. >> >> I am running FreeBSD 7.0 on VmWare Server 2.0 hosted on a CentOS Linux >> box. >> I've used nttcp and iozone to verify that the performance of the >> FreeBSD 7.0 VM is good and am able to copy 6.5GB on disk from one >> location to another in about 2.5 minutes. >> >> Copying to a Windows 2003 server yields a 45 minute transfer time. >> >> Copying to a Windows XP workstation yields a 4 minute transfer time >> >> Summary: >> FreeBSD 7.0 --> FreeBSD 7.0 -- 2.5 minutes ( copying on disk ) >> FreeBSD 7.0 --> WinXP -- 4 minutes ( samba ) >> FreeBSD 7.0 -> Windows 2003 -- 45 minutes ( samba ) >> WinXP --> Windows 2003 -- 5 minutes >> >> Both windows machines are on the same domain. >> >> I've used samba for a number of years and this is the first time I've >> ran into a problem such as this. >> >> So if someone could give me a good starting point on how to >> troubleshoot this I'd appreciate it. >> >> Thanks >> --Lance > > The numbers indicate something i've seen several times but there has been > different answers to it. Sometimes it was the indication that the RAID on > the Windows2003 server was misconfigured or running in DEGRADED mode. > However i've also seen issues regarding TCP/IP settings. > Often it can be a good exercise to try to toggle this sysctl before transfer > (net.inet.tcp.delayed_ack). > Of course these are just clues and not real answers. > > -- > Sten Daniel Soersdal > Thanks for the advice Sten, I'll give that sysctl a try and double check the RAID on the windows machine. --Lance