From owner-freebsd-questions@FreeBSD.ORG Thu Mar 11 08:32:12 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9DBAA16A4CE for ; Thu, 11 Mar 2004 08:32:12 -0800 (PST) Received: from mail.indatacorp.com (65.104.0.66.ptr.us.xo.net [65.104.0.66]) by mx1.FreeBSD.org (Postfix) with SMTP id 5582F43D46 for ; Thu, 11 Mar 2004 08:32:12 -0800 (PST) (envelope-from rgrafton@indatacorp.com) Received: (qmail 96904 invoked by uid 0); 11 Mar 2004 16:34:43 -0000 Received: from unknown (HELO ITDept) (rgrafton@indatacorp.com@192.168.100.119) by netfb01.indatacorp.com with SMTP; 11 Mar 2004 16:34:43 -0000 From: "Randy Grafton" To: Date: Thu, 11 Mar 2004 09:41:20 -0700 Message-ID: <010301c40787$aedf36a0$7764a8c0@ITDept> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal Subject: File I/O Optimizations X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Mar 2004 16:32:12 -0000 I've got a few FreeBSD boxes running SAMBA as file servers on our LAN. Our client workstations are all Windows OS's including 98SE, Win2K and = WinXP Pro.=20 I've been looking long and hard for ways to improve the I/O of networked hosted files.=20 Our utilizations of the servers vary from a few large, (~700MB), files = that need to be moved around to a ton, (~80,000), small files, (~30KB). Our directory structure is pretty well maintained in that the nesting of files and folders does not get = very deep, (maybe 6). The number of users per server rarely exceeds 50. Our problem is = that when files/ folders are being copied across the network for burning onto DVD or CD, = that the CPU utilization on those servers rockets up leaving the server at maybe 1% = to 2% idle and overall performance of the server is weak/slow. Could someone provide = some advice or suggestions for fine tuning the configurations of the servers. We're = running FreeBSD 4.8, SAMBA 2.2.8a. The host hardware is P3 or P4 CPU's with 512MB to 2GB of = RAM and 3Ware Escalade RAID cards with 3 to 4 7200RPM, 200MB hard drives with 8MB of = drive cache running in a RAID 5. The servers are also outfitted with Intel gigabit Ethernet. My current SAMBA configs include the following general settings: oplocks=3Dno level2 oplocks=3Dno socket options=3DTCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE = SO_RCVBUF=3D8192 SO_SNDBUF=3D8192 I've not made any special configurations for the OS or kernel. Thanks, -Randy