From owner-freebsd-geom@FreeBSD.ORG Sun Mar 9 07:40:18 2008 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D286B1065676 for ; Sun, 9 Mar 2008 07:40:18 +0000 (UTC) (envelope-from mirror176@cox.net) Received: from fed1rmmtai105.cox.net (fed1rmmtai105.cox.net [68.230.241.55]) by mx1.freebsd.org (Postfix) with ESMTP id AEE3A8FC22 for ; Sun, 9 Mar 2008 07:40:18 +0000 (UTC) (envelope-from mirror176@cox.net) Received: from fed1rmimpo01.cox.net ([70.169.32.71]) by fed1rmmtao104.cox.net (InterMail vM.7.08.02.01 201-2186-121-102-20070209) with ESMTP id <20080309071215.FHXM1982.fed1rmmtao104.cox.net@fed1rmimpo01.cox.net> for ; Sun, 9 Mar 2008 03:12:15 -0400 Received: from darkstar.l.net ([70.176.148.72]) by fed1rmimpo01.cox.net with bizsmtp id yvC11Y00A1ZxX6m0000000; Sun, 09 Mar 2008 03:12:01 -0400 Received: from darkstar.l.net ([127.0.0.1]) by darkstar.l.net with esmtp; Sun, 09 Mar 2008 00:12:14 -0700 id 0001CC07.47D38DCE.00015FB0 Received: from localhost (localhost [[UNIX: localhost]]) by darkstar.l.net (8.14.2/8.14.2/Submit) id m297CEwn090030 for freebsd-geom@freebsd.org; Sun, 9 Mar 2008 00:12:14 -0700 (MST) (envelope-from mirror176@cox.net) X-Authentication-Warning: darkstar.l.net: mirror176 set sender to mirror176@cox.net using -f From: "Edward Sanford Sutton, III" To: freebsd-geom@freebsd.org Date: Sun, 9 Mar 2008 00:12:13 -0700 User-Agent: KMail/1.9.7 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200803090012.13711.mirror176@cox.net> Subject: gvinum raid5 consuming entire cpu on FreeBSD 7.0 X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Mar 2008 07:40:18 -0000 Upgrading from 6-stable to 7.0-release has lead to a couple of immediately noticeable changes. The striped swap across 3 disks, with 1 disk having been removed and reinserted could finally be brought to an up state again with a start command; was not available when last tested on 6-stable. Within top, I've found the system process "gv_p usr.p0" taking up all cpu time on my system when there is a lot of write activity to usr.p0. The result is the system becoming almost entirely unresponsive during much of the write. An example case is when trying to build the editors/openoffice.org-2 port; when archives are being extracted, services time out connections to clients, screens stop refreshing (and top shows the system process at 100% once it starts to get a little bit of time again), mouse/keyboard input becomes bufffered and all goes through at once when some cpu time is free. The openoffice.org build running with nice 20 still causes major service interruption. The only good response I still get is switching between virtual text consoles (alt + F2, alt + F3, etc). Upgrading lead to a few changes being required in the kernel; do any of the following sound like optional changes I made that I can remove to try improving the performance: options STOP_NMI # Stop CPUS using NMI instead of IPI options AUDIT # Security event auditing options SMP # Symmetric MultiProcessor Kernel device cpufreq device uart # Generic UART driver wlan additions, although I have no wireless hardware on this machine. Any other ideas how to get the load under concrol? I remember being able to bogg down my system with an excessive mysql database fro disk load before, but do not recall reaching such cpu load with anything that it could seem the computer froze for input/output for more than a few seconds max; freezes can now go for over a minute. Thanks again, Ed Sutton