From owner-freebsd-gnome@FreeBSD.ORG Tue Apr 22 15:20:41 2008 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0454D106566C for ; Tue, 22 Apr 2008 15:20:41 +0000 (UTC) (envelope-from me@janh.de) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.186]) by mx1.freebsd.org (Postfix) with ESMTP id 7EFC58FC1C for ; Tue, 22 Apr 2008 15:20:40 +0000 (UTC) (envelope-from me@janh.de) Received: from janh.freebsd (f054096108.adsl.alicedsl.de [78.54.96.108]) by mrelayeu.kundenserver.de (node=mrelayeu0) with ESMTP (Nemesis) id 0MKwh2-1JoKIQ0pOz-0007Vj; Tue, 22 Apr 2008 17:20:38 +0200 Message-ID: <480E0260.9000809@janh.de> Date: Tue, 22 Apr 2008 17:21:04 +0200 From: Jan Henrik Sylvester User-Agent: Thunderbird 2.0.0.12 (X11/20080422) MIME-Version: 1.0 To: Joe Marcus Clarke References: <480CFCFD.6010702@janh.de> <480CFFB0.7000102@freebsd.org> In-Reply-To: <480CFFB0.7000102@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V01U2FsdGVkX1/5qkdMVT5ATm6Co2v2jXeP95aON3YcpHL2cpU 5iCzrqP0yYdAqAXDYRbzJXKnnKfGcQ1gJJGFH4XvWrmZOFkjOH VUh5GIFyURFGWO7VLUoWg== Cc: gnome-list freebsd Subject: Re: hald constantly eating cpu X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Apr 2008 15:20:41 -0000 Joe Marcus Clarke wrote: > Jan Henrik Sylvester wrote: >> After booting, top always shows about 4% user and 10% system without >> any process having any (W)CPU. If I stop hald, everything goes down to >> 0, if I start hald again after that, the cpu usage goes up again. > > This is most likely caused by the two mouse pollers. You can follow the > HAL FAQ at http://www.freebsd.org/gnome/docs/halfaq.html to see how you > can ignore these two devices. That will disable auto-config of the mice > in X, but it should reduce the CPU usage. Thank you! I had to ignore both psm0 and ums0 to solve the problem. I thought 10-mouse-sysmouse.fdi was introduced exactly to solve this problem. Or is there something special about my setup (with sysmouse providing a potential ums0 and psm0 being controlled by synaptics)? This was quite hard to track down since no process showed up using the CPU. Only because I had read the commit message for hal and the thread in freebsd-gnome, I even tried to disable hald. Should mice be generally excluded from hal until the problem is really solved? Maybe I misunderstood something. Jan Henrik