From owner-freebsd-current@FreeBSD.ORG Fri Aug 27 10:11:04 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 56F6A16A4CE for ; Fri, 27 Aug 2004 10:11:04 +0000 (GMT) Received: from kundenserver16.yws-admin.de (kundenserver16.yws-admin.de [217.115.154.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id E9E9443D49 for ; Fri, 27 Aug 2004 10:11:03 +0000 (GMT) (envelope-from flo@kasimir.com) Received: by kundenserver16.yws-admin.de (Postfix, from userid 1049) id D513B352822; Fri, 27 Aug 2004 12:11:02 +0200 (CEST) Received: from [IPv6???1] (unknown [82.113.100.4]) by kundenserver16.yws-admin.de (Postfix) with ESMTP id 1BC13352579; Fri, 27 Aug 2004 12:11:02 +0200 (CEST) Message-ID: <412F08A1.1060806@kasimir.com> Date: Fri, 27 Aug 2004 12:10:41 +0200 From: "Florian C. Smeets" User-Agent: Mozilla Thunderbird 0.7.3 (X11/20040809) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Julian Elischer References: <412E3E28.4070209@elischer.org> In-Reply-To: <412E3E28.4070209@elischer.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on kundenserver16.yws-admin.de X-Spam-Status: No, hits=-104.9 required=5.0 tests=BAYES_00,USER_IN_WHITELIST autolearn=ham version=2.63 X-Spam-Level: cc: current@freebsd.org Subject: Re: Scheduler framework patch 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: Fri, 27 Aug 2004 10:11:04 -0000 Julian Elischer wrote: > I have made a patch that changes the scheduelr framework to further > abstract teh scheduler. > > it is at http://www.freebsd.org/~julian/f.diff > and should apply agains -current (and probably, though I have not tested > it yet, against 5.3) > > there should be no real change in teh way teh system appears to operate. > If you are feeling bored you might try applying it to a kernel tree and > testing it. Hi Julian, seems to work, but there is something wrong with the load calculation: last pid: 4227; load averages: 576.70, 884.21, 460.30 up 0+00:15:10 12:05:41 141 processes: 3 running, 112 sleeping, 1 zombie, 25 waiting CPU states: 0.8% user, 0.0% nice, 6.9% system, 1.5% interrupt, 90.8% idle Mem: 137M Active, 38M Inact, 50M Wired, 9576K Cache, 34M Buf, 864K Free Swap: 256M Total, 8512K Used, 248M Free, 3% Inuse PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND 11 root 171 0 0K 12K RUN 12:37 89.06% 89.06% idle 1458 flo 20 0 62816K 49912K kserel 0:22 0.00% 0.00% thunderbird-bin 819 flo 76 0 29592K 16904K select 0:12 0.00% 0.00% Xorg 1777 flo 20 0 93240K 44076K kserel 0:08 0.00% 0.00% soffice.bin 1069 flo 20 0 40436K 23956K kserel 0:07 0.00% 0.00% firefox-bin The fan of my laptop is goning crazy with this patch ;-) This was tested with -CURRENT sources as of today + your patch. I'm using ULE with libpthread. Regards, flo