From owner-freebsd-bugs@FreeBSD.ORG Mon Aug 15 16:00:31 2005 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 41D0316A41F for ; Mon, 15 Aug 2005 16:00:31 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6135943D5A for ; Mon, 15 Aug 2005 16:00:29 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j7FG0TFv046305 for ; Mon, 15 Aug 2005 16:00:29 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j7FG0Tb2046296; Mon, 15 Aug 2005 16:00:29 GMT (envelope-from gnats) Resent-Date: Mon, 15 Aug 2005 16:00:29 GMT Resent-Message-Id: <200508151600.j7FG0Tb2046296@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Nick Johnson Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1EB5016A41F for ; Mon, 15 Aug 2005 15:56:22 +0000 (GMT) (envelope-from root@turing.morons.org) Received: from turing.morons.org (turing.morons.org [209.237.229.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id D30FF43D49 for ; Mon, 15 Aug 2005 15:56:21 +0000 (GMT) (envelope-from root@turing.morons.org) Received: by turing.morons.org (Postfix, from userid 0) id B937DA92F; Mon, 15 Aug 2005 08:57:15 -0700 (PDT) Message-Id: <20050815155715.B937DA92F@turing.morons.org> Date: Mon, 15 Aug 2005 08:57:15 -0700 (PDT) From: Nick Johnson To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: kern/84957: fire_saver.ko causes high CPU usage by swi5 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Nick Johnson List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Aug 2005 16:00:31 -0000 >Number: 84957 >Category: kern >Synopsis: fire_saver.ko causes high CPU usage by swi5 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Aug 15 16:00:28 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Nick Johnson >Release: FreeBSD 5.4-STABLE i386 >Organization: morons.org >Environment: System: FreeBSD turing.morons.org 5.4-STABLE FreeBSD 5.4-STABLE #2: Mon Aug 15 08:31:15 PDT 2005 root@turing.morons.org:/usr/src/sys/i386/compile/TURING i386 >Description: I noticed, surprisingly high user CPU usage (circa 35%) when the machine was completely idle. top -S showed that all of that 35% was going to swi5: clock sio. This was also driving the system load at idle up to 0.40 After mucking about with various kernel configuration options I noticed that after rebooting the usage of swi5 was reasonable for several minutes and then jumped up to 35%. It was then that I thought of checking to see if I had configured a screen saver to load, and sure enough, I had fire_saver.ko loaded. Unloading fire_saver.ko sent the usage of swi5 back down to 0%. I suspect somewhere in fire_saver.ko one might find ugliness. >How-To-Repeat: Load fire_saver.ko. Wait for it to start. top -S >Fix: kldunload fire_saver.ko >Release-Note: >Audit-Trail: >Unformatted: