Date: Wed, 21 Aug 2002 20:08:42 -0700 From: David Schultz <dschultz@uclink.Berkeley.EDU> To: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.ORG> Cc: FreeBSD-hackers@FreeBSD.ORG Subject: Re: Creating a sysctl? (mission impossible) Message-ID: <20020822030842.GA22058@HAL9000.homeunix.com> In-Reply-To: <20020820180222.927.qmail@exxodus.fedaykin.here> References: <20020820180222.927.qmail@exxodus.fedaykin.here>
next in thread | previous in thread | raw e-mail | index | archive | help
Thus spake Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.ORG>: > 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, 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. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020822030842.GA22058>