From owner-freebsd-current@FreeBSD.ORG Mon Oct 1 10:26:49 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9E5FF16A419; Mon, 1 Oct 2007 10:26:49 +0000 (UTC) (envelope-from marc@blackend.org) Received: from abigail.blackend.org (ns0.blackend.org [82.227.222.164]) by mx1.freebsd.org (Postfix) with ESMTP id EC0AB13C458; Mon, 1 Oct 2007 10:26:48 +0000 (UTC) (envelope-from marc@blackend.org) Received: from gothic.blackend.org (gothic.blackend.org [192.168.1.203]) by abigail.blackend.org (8.13.4/8.13.3) with ESMTP id l91AFZjW060933; Mon, 1 Oct 2007 12:15:36 +0200 (CEST) (envelope-from marc@abigail.blackend.org) Received: from gothic.blackend.org (localhost [127.0.0.1]) by gothic.blackend.org (8.14.1/8.14.1) with ESMTP id l91AFZ81030214; Mon, 1 Oct 2007 12:15:35 +0200 (CEST) (envelope-from marc@gothic.blackend.org) Received: (from marc@localhost) by gothic.blackend.org (8.14.1/8.14.1/Submit) id l91AFPMm029661; Mon, 1 Oct 2007 12:15:25 +0200 (CEST) (envelope-from marc) Date: Mon, 1 Oct 2007 12:15:25 +0200 From: Marc Fonvieille To: Jeff Roberson Message-ID: <20071001101525.GA1530@gothic.blackend.org> Mail-Followup-To: Jeff Roberson , Marcus Reid , freebsd-current@freebsd.org, Roman Bogorodskiy References: <20070916061932.GA93480@underworld.novel.ru> <20070918061806.GA85425@blazingdot.com> <20070918004027.G558@10.0.0.1> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070918004027.G558@10.0.0.1> X-Useless-Header: blackend.org X-Operating-System: FreeBSD 7.0-CURRENT User-Agent: Mutt/1.5.16 (2007-06-09) Cc: freebsd-current@freebsd.org, Roman Bogorodskiy Subject: Re: SCHED_ULE on desktop system X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Oct 2007 10:26:49 -0000 On Tue, Sep 18, 2007 at 12:44:52AM -0700, Jeff Roberson wrote: > > Marcus, > > What has happened is that you have run an x application that is so > expensive we no longer consider it interactive. Unfortunately, due to the > nature of the x server architecture, much of the compute time is spent in > x11 rather than the offending application. There really isn't anything to > be done in this case other than mark X as real-time. You can try to tune > up the interactivity heuristic limit by setting kern.sched.interact to a > higher value. This will help with short term bursts of x server cpu > utilization, however, sustained, expensive x windows processing will always > trigger poorer interactive behavior. > I have the same problems as Roman: once I compile something, most of X applications become slow as hell with lagging screen refresh. That's on -CURRENT (with all debug, malloc, invariant things disabled) with ULE and Xorg 4.3 (I'll test with the legacy scheduler as soon as possible). This behavior does not occur on 6.2 but with Xorg 7.2, so I really suspect last Xorg release to be guilty. Jeff you often mentioned tests on your laptop, could you check what Xorg version your run? I played with kern.sched.interact MIB but it was worse. -- Marc