From owner-freebsd-stable@FreeBSD.ORG Fri Nov 19 00:00:00 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 E5B761065672; Thu, 18 Nov 2010 23:59:59 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 4A3928FC1E; Thu, 18 Nov 2010 23:59:58 +0000 (UTC) Received: by wwd20 with SMTP id 20so3880954wwd.31 for ; Thu, 18 Nov 2010 15:59:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=/WOlykv8xFvgtJ2Af3FWvX3HKveRtvuImXmPM9HGXJY=; b=qrDlMAKEckzjOxsssbpZj6y+Ao583W3U87S+32aG+AoZo/66aZ8UGdaZ0bTjVXXOQX rQOyC2nGzNv8gaDk0WKbWz0m8kBzK6XtN20hDNgD3jXEa32curfXUc7DcNVQRGJLKR5B fZMfflcZlQ2jguWFJWRNwrpmpJAhgcY+sG5oI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=fpvWgY9WGFmdwWtDAxsxt3VhzhgmThiYdoktIXj/KOW0SekSTqwdciejI1MUjbqhsm tbQRoYpvUiIbppwsEK6jSViM9CT8opSEpx5UK6gduHMXo8tPLE6CtA2qmqi4NnXvr/qb ial56ef351rX/njIfoVv17nkJjMhr6nCA1FJ0= MIME-Version: 1.0 Received: by 10.216.46.200 with SMTP id r50mr180958web.45.1290123417909; Thu, 18 Nov 2010 15:36:57 -0800 (PST) Sender: yanegomi@gmail.com Received: by 10.216.198.27 with HTTP; Thu, 18 Nov 2010 15:36:57 -0800 (PST) In-Reply-To: <20101118231235.GA12137@troutmask.apl.washington.edu> References: <4CE50849.106@zedat.fu-berlin.de> <4CE52177.3020306@freebsd.org> <20101118182324.GA36312@freebsd.org> <20101118182852.GR63683@over-yonder.net> <20101118185635.GA43706@freebsd.org> <20101118170623.7f9c14f3@kan.dnsalias.net> <20101118225943.GB99684@freebsd.org> <20101118231235.GA12137@troutmask.apl.washington.edu> Date: Thu, 18 Nov 2010 15:36:57 -0800 X-Google-Sender-Auth: QQMUstOnBrl7mFCsjAfL84y5D2Q Message-ID: From: Garrett Cooper To: Steve Kargl Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: FreeBSD Stable , Andriy Gapon , FreeBSD Current , "Matthew D. Fuller" , Alexander Best , freebsd-performance@freebsd.org, "O. Hartmann" Subject: Re: TTY task group scheduling 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: Fri, 19 Nov 2010 00:00:00 -0000 On Thu, Nov 18, 2010 at 3:12 PM, Steve Kargl wrote: > On Thu, Nov 18, 2010 at 10:59:43PM +0000, Alexander Best wrote: >> >> well i did exactly what they did in the video. watch a 1080p video and m= ove >> the output window around while compiling the kernel. >> > > It is trivial to bring ULE to its knees. =A0If you > have N cores then all you need is N+1 cpu intensive > task. =A0The issue has been known for a few years. I/O intensive tasks don't help either though. Things tend to get choppy whenever I'm doing something like update from svn and doing something a bit more interactive like use firefox (and scroll... for instance gmail seems to be a pig in this area -- heh), vlc is a little less painful, etc. I wonder if the issue isn't necessarily tasks but more or less locking. firefox uses a lot of threads and file based mutexes according to what I've seen with top and ps (please correct me if I'm wrong). firefox also has a tendency with the nvidia-driver (I know... blobs are bad) to produce funky artifacts on the screen (again, when scrolling on gmail, dealing with flash, etc) or certain bits don't redraw properly (text when scrolling ends up ghosting on multiple lines until I force a redraw with the cursor or by scrolling back over that section of text). I'm sure there are a lot of performance issues within FreeBSD and opensource desktop software that needs to be properly worked out on a case by case basis, so I think that writing everything off as awesome and working better with one magic patch is unlikely. Besides, Linux has a more complicated scheduler than FreeBSD does. Thanks, -Garrett