Page 1 of 1

Would like to minimize active processes

Posted: Sat Jan 21, 2012 12:55 pm
by sgtfoo
Is there a list of services/processes that Amahi must have active?
I'd like to start going into processes and services and killing off un-necessary items to maximize system performance.

For Fedora I'll reference the fedoraforum.

Re: Would like to minimize active processes

Posted: Sat Jan 21, 2012 4:45 pm
by apastor
I wonder if the express-CD version is already optimized?

Also I wonder if the ubuntu version is or if not, will be.

I also found core images that can be used at www.turnkeylinux.org

Re: Would like to minimize active processes

Posted: Mon Jan 23, 2012 12:34 am
by moredruid
I'm guessing the reason why you're wanting this is because of all the non-critical processes a typical Windows install starts which you don't want to have active if you don't need them.

Linux works a bit differently. Typically only the necessary services are run. There may be some services that are not really necessary for your system to run, but you may question if they take up that much resources so that you won't want to run them (pidstat is a good tool to see how much resources a given process consumed since it was started) vs the "cost" of starting the service on demand (i.e. cups, which can start on the 1st print job instead of starting during boot but you'll have to wait all of 2 whole seconds or so for it to start :geek: ).

The only gain I see is if you want to really _really_ micromanage (overmanage?) your power consumption.

Of course frequent wake-ups of a daemon that needs to hit the disk will be costly power-wise but daemons shouldn't run that way (most don't) and if they do there usually is a purpose to it.

Re: Would like to minimize active processes

Posted: Mon Jan 23, 2012 9:37 pm
by sgtfoo
I may be a huge fan/geek for optimization, but after that explanation I guess I needn't mess up anything.

The last time I changed computer stuff too much, I broke my 1st Amahi box.
Learned a lot, but lost some hair doing it.

Thanks! :)

Re: Would like to minimize active processes

Posted: Tue Jan 24, 2012 3:49 am
by moredruid
Good, so now you know why you wouldn't want to do this.

You have mastered unix apprenticeship level 1 and you can proceed to level 2: doing it anyway just because you can (and learn from it!) :ugeek:

Here's a good guide:
http://www.imminentweb.com/technologies ... -boot-time

Re: Would like to minimize active processes

Posted: Tue Jan 24, 2012 10:48 am
by apastor
Thanks for the link!!

Re: Would like to minimize active processes

Posted: Wed Jan 25, 2012 3:18 am
by moredruid
Please note that disabling some of those daemons will break certain functionalities in Amahi!
absolutely. definitely. unequivocally. surely. without a doubt.

So make sure you know your current config and test everything before making changes permanent. Document your changes. Change only 1 thing per test. Oh and have a backup ready (if you only dabble in the daemon states you can suffice with chckonfig --list >> /root/out.file and change the values back to what they were if you break something.