Those of who read slashdot regularly probably read the same article I read, about ibm researches suggesting booting linux services in peralal and use make to solve dependencies.
http://www-106.ibm.com/developerworks/linux/library/l-boot.html Well I gave it a shot: I based my own scripts very loosly on what IBM published. Using there runlevel.mk as a template for my makefile and not using their modified rc script, as I noticed the Mandrake rc script contains much more stuff, than the red-hat rc script IBM people were using. The results: On a PII-300 computer with 64MB RAM and a modern 80GB 7200RPM HD, running Mandrake 9.0 it takes aprox 2 minutes 20 seconds from hitting enter at the grub prompt to KDE finishing to load(3,4 seconds more from power up). When booting services in parralel I got down to 1 minute 20, shaving off 1 minute. KDE is heavy to load, I believe if I would have done the same to a text prompt results would have been even more impressive. Some things I did diffrent from the guys at IBM, in order to minimize risk of damaging my system, I did not change my /etc/rc.d/rc script at all I simply added the Makefiles and a new_rc script. I dedicated runlevel 4 to be used for my experiment and changed /etc/inittab to say runlevel 4 is ran by new_rc and not rc. This assures me I will not destroy my system by writing junk to the rc script. I can infact use also runlevels 7-9 which are not used but valid to make more options. In grub I added a section for booting runlevel 4(just add a 4 after the kernel parameters) Still to be done is correct shuting down services, The makefile from IBM uses one list of services, and for each runlevel only specifies dependencies, it is necessary to have a list of services used/not_used for each runlevel. For boot it is not important because you never shutdown services but it is necessary for telinit to achieve required effects. Meir. -------------------------------------------------------------------------- Haifa Linux Club Mailing List (http://www.haifux.org) To unsub send an empty message to [EMAIL PROTECTED]
