From owner-freebsd-stable@FreeBSD.ORG Wed Sep 6 03:40:43 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 01A5916A4DF for ; Wed, 6 Sep 2006 03:40:43 +0000 (UTC) (envelope-from pmurray@nevada.net.nz) Received: from bellagio.open2view.com (ns2.open2view.com [203.97.20.197]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8225B43D45 for ; Wed, 6 Sep 2006 03:40:42 +0000 (GMT) (envelope-from pmurray@nevada.net.nz) Received: from localhost (localhost [127.0.0.1]) by bellagio.open2view.com (Postfix) with ESMTP id 82DF6AC0EE for ; Wed, 6 Sep 2006 15:40:56 +1200 (NZST) Received: from bellagio.open2view.com ([127.0.0.1]) by localhost (bellagio.open2view.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 95381-05 for ; Wed, 6 Sep 2006 15:40:54 +1200 (NZST) Received: from [10.58.3.94] (222-152-205-62.jetstream.xtra.co.nz [222.152.205.62]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by bellagio.open2view.com (Postfix) with ESMTP id D35E9AC0D0 for ; Wed, 6 Sep 2006 15:40:53 +1200 (NZST) Mime-Version: 1.0 (Apple Message framework v752.2) Content-Transfer-Encoding: 7bit Message-Id: <1D6A7B88-79F5-4014-9E49-5AD4FFC6AE00@nevada.net.nz> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: freebsd-stable@freebsd.org From: Philip Murray Date: Wed, 6 Sep 2006 15:40:37 +1200 X-Mailer: Apple Mail (2.752.2) X-Virus-Scanned: amavisd-new at open2view.com Subject: Slow/locking UFS/VFS in 6.1? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Sep 2006 03:40:43 -0000 Hi, I just upgraded a webserver (serving a pretty busy site) from a Dual Xeon 2.4Ghz with a 3Ware 7850 8-port (8x Seagate 120GB IDE drives in RAID5) running FreeBSD 4.11 to a Dual Opteron 248 with a 3Ware 9550SX-8LP (8x Hitachi SATA2 250GB drives in a RAID5) running FreeBSD 6.1-Stable. The site runs considerably slower on the faster machine running 6.1, things seem to be blocking on IO a lot more. For instance a page could load very quickly from Apache, and if you reload straight away it can take up to 20 seconds for the page to load again. When this happens it seems a lot of Apache processes get stuck in the UFS state (in top). Is there a way to debug what's going on? or work around it. It should be much much faster which the faster disks and raid controller. Is this lock contention in VFS? Thanks! Phil