Would like to minimize active processes

User avatar
sgtfoo
Posts: 419
Joined: Sun Jul 18, 2010 8:27 pm

Would like to minimize active processes

Postby sgtfoo » Sat Jan 21, 2012 12:55 pm

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.
SgtFoo
HDA: VM inside oVirt FX-8300 95w (2 cores for HDA), 32GB RAM (2GB for HDA)
My PC: FX-8300, 16GB RAM, 3x 1TB HDDs, Radeon HD6970 2GB video; Win10 Pro x64
Other: PC, Asus 1215n (LXLE), Debian openZFS server (3x(2x2tb) mirrors)
Modem&Network: Thomson DCM475; Asus RT-AC66U; HP 1800-24G switch

apastor
Posts: 175
Joined: Fri Jan 14, 2011 6:58 am

Re: Would like to minimize active processes

Postby apastor » Sat Jan 21, 2012 4:45 pm

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
Proxmox Server: Currently Not Running Amahi
CPU: AMD FX 6100 Six Core
RAM: 8GB DDR3
HDD: 4x1TB RAID10 (Adaptec)

User avatar
moredruid
Expert
Posts: 791
Joined: Tue Jan 20, 2009 1:33 am
Location: Netherlands
Contact:

Re: Would like to minimize active processes

Postby moredruid » Mon Jan 23, 2012 12:34 am

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.
echo '16i[q]sa[ln0=aln100%Pln100/snlbx]sbA0D2173656C7572206968616D41snlbxq' | dc
Galileo - HP Proliant ML110 G6 quad core Xeon 2.4GHz, 4GB RAM, 2x750GB RAID1 + 2x1TB RAID1 HDD

User avatar
sgtfoo
Posts: 419
Joined: Sun Jul 18, 2010 8:27 pm

Re: Would like to minimize active processes

Postby sgtfoo » Mon Jan 23, 2012 9:37 pm

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! :)
SgtFoo
HDA: VM inside oVirt FX-8300 95w (2 cores for HDA), 32GB RAM (2GB for HDA)
My PC: FX-8300, 16GB RAM, 3x 1TB HDDs, Radeon HD6970 2GB video; Win10 Pro x64
Other: PC, Asus 1215n (LXLE), Debian openZFS server (3x(2x2tb) mirrors)
Modem&Network: Thomson DCM475; Asus RT-AC66U; HP 1800-24G switch

User avatar
moredruid
Expert
Posts: 791
Joined: Tue Jan 20, 2009 1:33 am
Location: Netherlands
Contact:

Re: Would like to minimize active processes

Postby moredruid » Tue Jan 24, 2012 3:49 am

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
echo '16i[q]sa[ln0=aln100%Pln100/snlbx]sbA0D2173656C7572206968616D41snlbxq' | dc
Galileo - HP Proliant ML110 G6 quad core Xeon 2.4GHz, 4GB RAM, 2x750GB RAID1 + 2x1TB RAID1 HDD

apastor
Posts: 175
Joined: Fri Jan 14, 2011 6:58 am

Re: Would like to minimize active processes

Postby apastor » Tue Jan 24, 2012 10:48 am

Thanks for the link!!
Proxmox Server: Currently Not Running Amahi
CPU: AMD FX 6100 Six Core
RAM: 8GB DDR3
HDD: 4x1TB RAID10 (Adaptec)

User avatar
moredruid
Expert
Posts: 791
Joined: Tue Jan 20, 2009 1:33 am
Location: Netherlands
Contact:

Re: Would like to minimize active processes

Postby moredruid » Wed Jan 25, 2012 3:18 am

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.
echo '16i[q]sa[ln0=aln100%Pln100/snlbx]sbA0D2173656C7572206968616D41snlbxq' | dc
Galileo - HP Proliant ML110 G6 quad core Xeon 2.4GHz, 4GB RAM, 2x750GB RAID1 + 2x1TB RAID1 HDD

Who is online

Users browsing this forum: No registered users and 18 guests