From owner-freebsd-current@FreeBSD.ORG Sun Sep 16 22:14:12 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 932CC16A417 for ; Sun, 16 Sep 2007 22:14:12 +0000 (UTC) (envelope-from lx@redundancy.redundancy.org) Received: from redundancy.redundancy.org (redundancy.redundancy.org [64.147.160.152]) by mx1.freebsd.org (Postfix) with SMTP id 6F66813C491 for ; Sun, 16 Sep 2007 22:14:12 +0000 (UTC) (envelope-from lx@redundancy.redundancy.org) Received: (qmail 18981 invoked by uid 1001); 16 Sep 2007 21:47:54 -0000 Date: Sun, 16 Sep 2007 14:47:54 -0700 From: "David E. Thiel" To: freebsd-current@freebsd.org Message-ID: <20070916214753.GJ1051@redundancy.redundancy.org> Mail-Followup-To: freebsd-current@freebsd.org References: <20070916061932.GA93480@underworld.novel.ru> <200709160058.33475.vehemens@verizon.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200709160058.33475.vehemens@verizon.net> X-OpenPGP-Key-fingerprint: 482A 8C46 C844 7E7C 8CBC 2313 96EE BEE5 1F4B CA13 X-OpenPGP-Key-available: http://redundancy.redundancy.org/lx.gpg User-Agent: Mutt/1.5.16 (2007-06-09) 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: Sun, 16 Sep 2007 22:14:12 -0000 On Sun, Sep 16, 2007 at 12:58:33AM -0700, vehemens wrote: > On Saturday 15 September 2007 11:19:32 pm Roman Bogorodskiy wrote: > >I'm curious if SCHED_ULE is designed to be used on a desktop system. I'm > >running -CURRENT at home and tried to use SCHED_ULE for some time. It > >works alright while the load is not very high. But once I start > >compiling something (running 'make buildworld' or 'portupgrade -a' for > >example), the machine comes almost unusable - X11's windows takes a lot > >of time to redraw, changing virtual desktop in window manager may take > >a several seconds. And it's nearly impossible to watch some movie with > >mplayer. > > I also see something similar running -CURRENT with SCHED_4BSD, > but it shows up with X/gnome. Remote logins are still responsive > and running X/twm works fine. In my experience, both 4BSD and ULE are unresponsive on the desktop in -CURRENT, with ULE being somewhat worse. Compiling an application causes the mouse to be jerky, windows to draw slowly, audio to start skipping, and occasionally the whole desktop freezes for a minute at a time (with ULE only). This is with INVARIANTS and all the debugging kernel options disabled and malloc debugging turned off. I'll give running without PREEMPTION with 4BSD and the ULE patch a shot, but in its stock form, -CURRENT is definitely worse than -STABLE on the desktop for me in a UP configuration. Up till now, I've been working around it manually by juggling with rtprio. If it's of any use, dmesg is at: http://redundancy.redundancy.org/dmesg.txt