Thus spake Mario Sergio Fujikawa Ferreira <[EMAIL PROTECTED]>:
> 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 [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message