From owner-freebsd-current@FreeBSD.ORG Thu Mar 11 11:19:21 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 577EC16A4CE for ; Thu, 11 Mar 2004 11:19:21 -0800 (PST) Received: from ms-smtp-02-eri0.ohiordc.rr.com (ms-smtp-02-smtplb.ohiordc.rr.com [65.24.5.136]) by mx1.FreeBSD.org (Postfix) with ESMTP id BC50E43D45 for ; Thu, 11 Mar 2004 11:19:20 -0800 (PST) (envelope-from meb@cinci.rr.com) Received: from cinci.rr.com (cvg-65-27-178-227.cinci.rr.com [65.27.178.227]) i2BJJCtO019729; Thu, 11 Mar 2004 14:19:12 -0500 (EST) Message-ID: <4050BBCB.50302@cinci.rr.com> Date: Thu, 11 Mar 2004 14:19:39 -0500 From: Mike B User-Agent: Mozilla Thunderbird 0.5 (X11/20040308) X-Accept-Language: en-us, en MIME-Version: 1.0 To: conrads@cox.net References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Symantec AntiVirus Scan Engine cc: freebsd-current@freebsd.org Subject: Re: I like SCHED_4BSD X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Thu, 11 Mar 2004 19:19:21 -0000 Conrad Sabatier wrote: > I just decided to revert to SCHED_4BSD for the time being. Why? > > o Better interactivity -- No mouse jerkiness, no sluggish screen updates when > switching between virtual desktops, etc. > > o Better scheduling! I'm serious here. Watching top under SCHED_ULE, I'm > seeing 10, 15, 20 seconds go by where ALL processes are sleeping. > Processes seem to be spending inordinate amounts of time in the "kserel" > state. This, of course, doesn't happen with SCHED_4BSD. > > I do hope there are no immediate plans to deprecate SCHED_4BSD altogether. It > just seems to work a whole lot better for me. I'm probably not alone in this. I couldn't agree more. After doing the suggested mappings in libmap.conf and recompiling apps I can see a drastic difference in load times and performance between ULE and 4BSD. Using ULE the load wait for firefox could be anywhere from 10-30 seconds while with 4BSD it is a constant 4 second load time. When switching between desktops it can take up to 10 seconds to redraw the screen. This sluggishness isn't exclusive to firefox, opera and openoffice are noticeably laggy under ULE as well. I WANT to like and use ULE but the performance just isn't there. Mike