From owner-freebsd-stable@FreeBSD.ORG Thu Sep 2 10:28:12 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1AF841065743 for ; Thu, 2 Sep 2010 10:28:12 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 24C018FC17 for ; Thu, 2 Sep 2010 10:28:10 +0000 (UTC) Received: from porto.topspin.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id NAA21308; Thu, 02 Sep 2010 13:27:28 +0300 (EEST) (envelope-from avg@icyb.net.ua) Received: from localhost.topspin.kiev.ua ([127.0.0.1]) by porto.topspin.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1Or70x-0003Nx-Tm; Thu, 02 Sep 2010 13:27:27 +0300 Message-ID: <4C7F7C0F.8080004@icyb.net.ua> Date: Thu, 02 Sep 2010 13:27:27 +0300 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.8) Gecko/20100822 Lightning/1.0b2 Thunderbird/3.1.2 MIME-Version: 1.0 To: jan.grant@bristol.ac.uk References: In-Reply-To: X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org, Ivan Voras Subject: Re: Tuning the scheduler? Desktop with a CPU-intensive task becomes rapidly unusable. 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: Thu, 02 Sep 2010 10:28:12 -0000 on 02/09/2010 12:08 jan.grant@bristol.ac.uk said the following: > On Wed, 1 Sep 2010, Ivan Voras wrote: > >> On 09/01/10 15:08, jan.grant@bristol.ac.uk wrote: >>> I'm running -STABLE with a kde-derived desktop. This setup (which is >>> pretty standard) is providing abysmal interactive performance on an >>> eight-core machine whenever I try to do anything CPU-intensive (such as >>> building a port). >>> >>> Basically, trying to build anything from ports rapidly renders everything >>> else so "non-interactive" in the eyes of the scheduler that, for instance, >>> switching between virtual desktops (I have six of them in reasonably >>> frequent use) takes about a minute of painful waiting on redraws to >>> complete. >> >> Are you sure this is about the scheduler or maybe bad X11 drivers? > > Not 100%, but mostly convinced; I've just started looking at this. It's my > first stab at what might be going on. X11 performance is usually pretty > snappy. There's no paging pressure at all. >From my experience: 1. system with Athlon II X2 250 CPU and onboard AMD graphics - no issues with interaction between buildworld and GUI with all KDE4 effects enabled (OpenGL). 2. system with comparable Core2 Duo CPU and onboard Intel graphics (G33) - enabling OpenGL desktop effects in KDE4 leads to the consequences like what you describe. With all GUI bells and whistles disabled the system behaves quite like the AMD system. -- Andriy Gapon