From owner-freebsd-arch@FreeBSD.ORG Thu Aug 2 12:25:19 2007 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CD32C16A418 for ; Thu, 2 Aug 2007 12:25:19 +0000 (UTC) (envelope-from nike_d@cytexbg.com) Received: from mail.interbgc.com (mx03.interbgc.com [217.9.224.229]) by mx1.freebsd.org (Postfix) with SMTP id 1D19113C465 for ; Thu, 2 Aug 2007 12:25:18 +0000 (UTC) (envelope-from nike_d@cytexbg.com) Received: (qmail 48915 invoked from network); 2 Aug 2007 11:58:37 -0000 Received: from nike_d@cytexbg.com by keeper.interbgc.com by uid 1002 with qmail-scanner-1.14 (uvscan: v4.2.40/v4374. spamassassin: 2.63. Clear:SA:0(-2.6/8.0):. Processed in 4.892163 secs); 02 Aug 2007 11:58:37 -0000 X-Spam-Status: No, hits=-2.6 required=8.0 Received: from unknown (HELO ndenev.totalterror.net) (85.130.16.146) by mx03.interbgc.com with SMTP; 2 Aug 2007 11:58:29 -0000 Received: (qmail 1732 invoked from network); 2 Aug 2007 14:57:17 +0300 Received: from unknown (HELO ?127.0.0.1?) (127.0.0.1) by ndenev.totalterror.net with SMTP; 2 Aug 2007 14:57:17 +0300 Message-ID: <46B1C69D.6070503@cytexbg.com> Date: Thu, 02 Aug 2007 14:57:17 +0300 From: Niki Denev User-Agent: Thunderbird 1.5.0.10 (X11/20070326) MIME-Version: 1.0 To: Ivan Voras References: In-Reply-To: X-Enigmail-Version: 0.94.3.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-arch@freebsd.org Subject: Re: On schedulers X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Aug 2007 12:25:20 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Ivan Voras wrote: > Hi, > > I've just stumbled on the LKML (via Slashdot) discussion on schedulers, > nicely compiled here: http://kerneltrap.org/node/14023 . I don't think > 3D performance is of concern for FreeBSD, but I'm wondering how would > ULE and the latest incarnation of 4BSD fare in that discussion? > > Specifically, I'm interested in this result in Linux: > > 2.6.22-ck1 2.6.22-cfs-v19 > ------------------------ ------------------------ > quake + 0 loops | 41 fps quake + 0 loops | 41 fps > quake + 1 loop | 3 fps quake + 1 loop | 41 fps > quake + 2 loops | 2 fps quake + 2 loops | 32 fps > quake + 3 loops | 1 fps quake + 3 loops | 24 fps > quake + 4 loops | 0 fps quake + 4 loops | 20 fps > quake + 5 loops | 0 fps quake + 5 loops | 16 fps > > (for the impatient: the benchmark is of running quake with several "idle > loop" processes, presumably on a single CPU machine. On the left is the > SD (staircase deadline) and on the right is the CF (completely fair) > scheduler). > > How would this behave on FreeBSD? Is there a paper on how ULE should > behave / is modeled? > This is on a Intel C2D E6420 with 2G of ram, Nvidia 7900GTO (nvidia-driver-1.0.9746) running xorg-server-6.9.0_5 on a recent -CURRENT : idle is basicaly a small C program with just for(;;); in its main() function. I've run glxgears for 20 secs each (to get four reports) Both idle and glxgears are run as normal user. SMP+ULE 0 idle 101446 frames in 5.0 seconds = 20289.099 FPS 101590 frames in 5.0 seconds = 20317.975 FPS 101701 frames in 5.0 seconds = 20340.037 FPS 101489 frames in 5.0 seconds = 20297.670 FPS SMP+ULE 1 idle 97430 frames in 5.0 seconds = 19485.840 FPS 102176 frames in 5.0 seconds = 20435.017 FPS 102402 frames in 5.0 seconds = 20480.318 FPS 102430 frames in 5.0 seconds = 20485.865 FPS SMP+ULE 2 idle 30 frames in 5.0 seconds = 5.978 FPS 31 frames in 5.0 seconds = 6.182 FPS 31 frames in 5.0 seconds = 6.172 FPS 30 frames in 5.2 seconds = 5.744 FPS SMP+ULE 3 idle 29 frames in 5.2 seconds = 5.631 FPS 30 frames in 5.0 seconds = 5.952 FPS 31 frames in 5.1 seconds = 6.054 FPS 32 frames in 5.2 seconds = 6.213 FPS SMP+ULE 4 idle 21 frames in 5.1 seconds = 4.151 FPS 20 frames in 5.1 seconds = 3.942 FPS 21 frames in 5.2 seconds = 4.066 FPS 20 frames in 5.2 seconds = 3.841 FPS UP+ULE 0 idle 102152 frames in 5.0 seconds = 20430.299 FPS 102572 frames in 5.0 seconds = 20514.236 FPS 102533 frames in 5.0 seconds = 20506.522 FPS 102129 frames in 5.0 seconds = 20425.654 FPS UP+ULE 1 idle 21 frames in 5.1 seconds = 4.158 FPS 24 frames in 5.2 seconds = 4.624 FPS 26 frames in 5.0 seconds = 5.153 FPS 28 frames in 5.0 seconds = 5.586 FPS UP+ULE 2 idle 21 frames in 5.1 seconds = 4.093 FPS 21 frames in 5.1 seconds = 4.093 FPS 21 frames in 5.1 seconds = 4.115 FPS 21 frames in 5.1 seconds = 4.115 FPS UP+ULE 3 idle 20 frames in 5.3 seconds = 3.804 FPS 19 frames in 5.2 seconds = 3.624 FPS 19 frames in 5.2 seconds = 3.619 FPS 19 frames in 5.3 seconds = 3.612 FPS UP+ULE 4 idle 19 frames in 5.3 seconds = 3.600 FPS 17 frames in 5.0 seconds = 3.388 FPS 17 frames in 5.0 seconds = 3.393 FPS 17 frames in 5.0 seconds = 3.380 FPS SMP+4BSD 0 idle 102440 frames in 5.0 seconds = 20487.893 FPS 102285 frames in 5.0 seconds = 20456.848 FPS 102276 frames in 5.0 seconds = 20455.065 FPS 102312 frames in 5.0 seconds = 20462.289 FPS SMP+4BSD 1 idle 101798 frames in 5.0 seconds = 20359.526 FPS 102732 frames in 5.0 seconds = 20546.202 FPS 102619 frames in 5.0 seconds = 20523.692 FPS 102788 frames in 5.0 seconds = 20557.526 FPS SMP+4BSD 2 idle 6 frames in 5.0 seconds = 1.193 FPS 5 frames in 5.0 seconds = 0.994 FPS 5 frames in 5.0 seconds = 0.994 FPS 5 frames in 5.0 seconds = 0.994 FPS SMP+4BSD 3 idle 6 frames in 5.0 seconds = 1.193 FPS 5 frames in 5.0 seconds = 0.994 FPS 5 frames in 5.0 seconds = 0.994 FPS 5 frames in 5.0 seconds = 0.994 FPS SMP+4BSD 4 idle 6 frames in 5.0 seconds = 1.193 FPS 5 frames in 5.0 seconds = 0.994 FPS 5 frames in 5.0 seconds = 0.994 FPS 5 frames in 5.0 seconds = 0.994 FPS UP+4BSD 0 idle 102864 frames in 5.0 seconds = 20572.665 FPS 102569 frames in 5.0 seconds = 20513.792 FPS 102559 frames in 5.0 seconds = 20511.775 FPS 102333 frames in 5.0 seconds = 20466.543 FPS UP+4BSD 1 idle 6 frames in 5.0 seconds = 1.193 FPS 5 frames in 5.0 seconds = 0.994 FPS 5 frames in 5.0 seconds = 0.994 FPS 5 frames in 5.0 seconds = 0.994 FPS UP+4BSD 2 idle 6 frames in 5.0 seconds = 1.193 FPS 5 frames in 5.0 seconds = 0.994 FPS 5 frames in 5.0 seconds = 0.994 FPS 5 frames in 5.0 seconds = 0.994 FPS UP+4BSD 3 idle 6 frames in 5.0 seconds = 1.193 FPS 5 frames in 5.0 seconds = 0.994 FPS 5 frames in 5.0 seconds = 0.994 FPS 5 frames in 5.0 seconds = 0.994 FPS UP+4BSD 4 idle 6 frames in 5.0 seconds = 1.193 FPS 5 frames in 5.0 seconds = 0.994 FPS 5 frames in 5.0 seconds = 0.994 FPS 5 frames in 5.0 seconds = 0.994 FPS -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGscadHNAJ/fLbfrkRAnDOAJ9yipwexiBUrZbS3RJ5R0YDZyn4pACfS/Od gMVwrhA3NYlaQkPNOaEZ7S8= =98Za -----END PGP SIGNATURE-----