From owner-freebsd-hackers Thu Aug 22 1:29:52 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CDC8137B400 for ; Thu, 22 Aug 2002 01:29:49 -0700 (PDT) Received: from mx.kapella.gpi.ru (lasbio.gpi.ru [195.209.222.244]) by mx1.FreeBSD.org (Postfix) with ESMTP id 55CA143E42 for ; Thu, 22 Aug 2002 01:29:48 -0700 (PDT) (envelope-from dergatchev@kapella.gpi.ru) Received: from kapella.gpi.ru (65229a6c311f2d7ef39e8fce7b92662e@atsp-pc3.kapella.gpi.ru [195.209.216.39]) by mx.kapella.gpi.ru (8.9.3/8.9.3) with ESMTP id MAA31167 for ; Thu, 22 Aug 2002 12:29:46 +0400 (MSD) (envelope-from dergatchev@kapella.gpi.ru) Message-ID: <3D640845.3060700@kapella.gpi.ru> Date: Thu, 22 Aug 2002 01:38:13 +0400 From: "Andrei A. Dergatchev" User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:0.9.7) Gecko/20020123 X-Accept-Language: en-us MIME-Version: 1.0 To: FreeBSD-hackers@FreeBSD.ORG Subject: Re: Creating a sysctl? (mission impossible) References: <20020820180222.927.qmail@exxodus.fedaykin.here> <20020822030842.GA22058@HAL9000.homeunix.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG >Thus spake Mario Sergio Fujikawa Ferreira : > >> I am trying to create one sysctl so that I can read information >>from a lottery scheduler that I am trying to write. >> The sysctl is very very simple. I add a lottery node under kern >>then add a member global_tickets under kern.lottery. Very simple stuff >>that is not working. >> > >FYI, lottery scheduling has already been implemented at least >twice for FreeBSD. For an example, see > > http://www.csua.berkeley.edu/computing/software/lottery-sched.html > >The code has not been maintained, > FYI, I wanted to have a look, but it appears that both a link to source code http://www-2.cs.cmu.edu/~dpetrou/code/freebsd_lottery_code.tar.gz and to accompanying paper http://www-2.cs.cmu.edu/~dpetrou/papers/freebsd_lottery_writeup98.ps do not work ... > apparently due to a lack of >interest, and it incurs a high scheduling overhead. Note that the KSE >work is likely to bring significant changes to scheduling in FreeBSD, >possibly causing you headaches later. You might also be interested in >Luigi's work on a PS scheduler; check the list archives. > Regards, Andrei To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message