LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   making slack fast as sourcemage (https://www.linuxquestions.org/questions/slackware-14/making-slack-fast-as-sourcemage-129416/)

Abe_the_Man 12-27-2003 11:03 PM

making slack fast as sourcemage
 
I've been tinkering around with sourcemage for a little while now, i don't like it because i've had a lot of problems with it. One thing i do like is that it only takes 13 seconds for it to boot. This is almost twice as fast as when i was running slack 9.1. My question is how can i make slack boot that fast?? I know how to compile my own kernel and stuff, but i don't know how to turn daemons on or off, or how to find out what services are run by default or how to turn them off. Also can i set up optimizations so everything will compile to my specific architecture?? And should i compile everything from source?? Is there a command to recompile the whole system?

poison 12-28-2003 12:05 AM

for services:
http://www.linuxquestions.org/questi...238#post664238

yes, compiling things for you're machine, assuming you have something more recent than a i386/i486, does speed up things and I've noticed quite a boost for kde ^^
if the app uses the autoconf/automake system you usually don't have to pass you're arch to the configure scripts as it gets detected (I believe)
otherwise you have to pass gcc the -march= option...

gnashley 12-28-2003 09:46 AM

You can usually comment out a thing or two in /etc/rc.d/rc.modules, but even more time can be shaved off boot time by commentenging out stuff in /etc/inetd.conf
Slackware by default starts telnet, comsat and other sevices that you may not need. I comment out neraly everything here. Of course, recompiling the kernel and removing support for unneeded features will also greatly speed things up, even after boot-up. Study /etc/inittab and the /etc/rc.d directory closely. Everything starts there.

Abe_the_Man 12-28-2003 03:07 PM

Hey thanks alot, i really appreciate the help!


All times are GMT -5. The time now is 08:10 AM.