Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!relay.nswc.navy.mil!oasys!mimsy!nocusuhs!nmrdc1!minixug!waltje From: waltje@minixug.mugnet.org (Fred 'The Rebel' van Kempen) Newsgroups: comp.os.minix Subject: Re: nice for Minix? Message-ID: <91040113495@minixug.mugnet.org> Date: 1 Apr 91 01:34:57 GMT References: Organization: MINIX User Group Holland (NLMUG) - MUGNET - Lines: 35 go@jacobs.CS.ORST.EDU (Gary Oliver) wrote: > > Just thought I'd put in a good word for the nice "nice" package submitted > by Kai-Uwe Bloem recently. It works "nice"ly. Yes, I completely agree with you. I added the "kub-scheduler" to Advanced MINIX, and it worked GREAT! Thanks, Kai-Uwe! > But seriously... I pulled the cdifs out and removed the "profiler" code > (wasn't sure if it would all run on a PC - it was from a 68K system.) > After pruning the profiler defs I just patched it against my "almost" > standard 1.5.10 system (1.5.10 with virt-terminals and my shared-text) > and it patched almost perfectly. A couple of problems with the .h > files involving _PROTOTYPEs that I lobotomized for the purpose of > quickly installing... Same here. When were those _PROTOTYPEs added to the proto.h files? > I'm not certain, but if people would try this, the cry about having a > "threaded" fs may die down. The package is a much simpler way to > get most of the performance asked for and it is in keeping with the > spirit of Minix : simple and effective. It's a pretty classical > implementation of process priorities with queue pre-emption and > should, at least, be representative of topics discussed in any > OS class worth taking. Nope. The new scheduler only works well for CPU-bound processes. Since most I/O processes are "FS" bound, the new scheduler won't solve anything. I am afraid that we will still need major surgery to FS, be it Multi-Threading or Message Queueing. I will hunt my archives for the original message posted by Larry Hubble, a long time ago. He posted message queueing code for the 1.2 FS then, and, on my _slow_ XT, it worked like a miracle. I will post it here as soon as I find it... Fred.