3.0 Alpha and services

  • mick.ca
Posted: Sun, 01/25/2009 - 00:36
Recently i noticed an increase in my memory usage. I then started investigating what services were running in the background and what resources they could be chewing up. I have (according to system monitor) 879.XX MB of ram. 32% was in use. Some might think this is beans but I started looking into what was actually taking 32%. I started by turning off services that i absolutely knew i never use. 1. CUPS (i have no printer) 2. apmd (laptop battery manager and mine's a desktop) 3. acpi-support (there was a little hidden one there for laptop effecting power management when the lid was closed.) Not to be confused with acpid which is your system power management 4. SHH (i don't ever login remotely, nor do i want anyone else to so...) 5. anacron (my PC stays on 24/7 for the most part and i do all my own "scheduled task") 6. atd (like anacron but not needed) After this i gained 17% of my memory back and even with the system monitor open i was running at a mere 12% of memory usage!! SO if you are using a desktop...some of these automatic services can be turned off to gain a small but maybe much needed memory. Especially for those with older systems with limited amounts of RAM. hope this helps some. MiCK

M-Audio 48k

  • skullnotions
  • 09/29/07
  • Mon, 01/26/2009 - 08:10
Is there much difference in qjackctl% & xruns when you change between the two different settings with your sound card?. Cheers! dave

48k

  • mick.ca
  • 05/23/07
  • Sun, 01/25/2009 - 14:36
Typically yes i do record @ 48k. however, some older projects did in Ardour .99 I've had to roll back to 44k to work on them...once i'm finished with those i will be back at 48k I found that envy24 works fantastic wth M-Audio. I need to satrt another thread regarding multi-channeling with hydrogen.. there is a way but having a time figuring it out... MiCK

Re: Sound Card

  • skullnotions
  • 09/29/07
  • Sun, 01/25/2009 - 14:32
I use dmx6fire 24/96 which uses the envy24 chip. I set it to 48k in the envy24 control panel & qjackctl settings. Do you setup to 48k? If you've had your home folder for a long time there could be old config files laying around, but I don't think you will have problems with services. Root controls services, so if you've disabled them they wont start. Cheers! dave

Sound Card

  • mick.ca
  • 05/23/07
  • Sun, 01/25/2009 - 14:14
i have a M-Audio 24/96 - The question at the end: the services you turn on and/or off on your system; those settings are stored obviously. Are they store in your home directory as part of your profile or in root. Because if they are in your home directory then they stay off if you reload and keep your home directory intact. I use M-audio 24/96 interface by a Peavey Mix board. What do you use?

Compiz & Sevices

  • skullnotions
  • 09/29/07
  • Mon, 01/26/2009 - 08:01
I don't see why removing compiz would be a problem, but disabling it is enough really, it wont be started. The services list is a general one that I know I don't use. I'd google anyway just to double check what you don't need. To see all services run: $ ps -Al I don't understand the last part of your post? The command above will show you all started/running services. $ ps aux Is also good for information, as is running "top". $ cd /etc/init.d/ $ ls -a Will show you the services scripts... tty configuration $ sudo gedit /etc/default/console-setup Change: ACTIVE_CONSOLES="/dev/tty[1-6]" to ACTIVE_CONSOLES="/dev/tty[1-3]" $ sudo gedit /etc/event.d/tty4 comment out: start on runlevel 2 comment out: start on runlevel 3 Do the same with $ sudo gedit /etc/event.d/tty5 $ sudo gedit /etc/event.d/tty6 ReBoot for changes to take effect. What sound card do you use? Cheers! dave

Compiz removal/ home directory

  • mick.ca
  • 05/23/07
  • Sun, 01/25/2009 - 13:01
Is it safe to remove compiz altogether? I have found a new breath of fresh air without the 3d acceleration on my desktop and dude, what a heck of a difference in performance. Look like VESA driver for me from now on. but that aside some of the services you mentioned aren't on in my machine...which makes me wonder? **do your services/preferences stay static in your home directory? making them "policy" on a reload if you keep your home directory intact?**

Re: 3.0 Alpha and services

  • skullnotions
  • 09/29/07
  • Sun, 01/25/2009 - 11:35
Same here MiCK, The services are hungry little blighters, These are the ones I google for info & consider for removal. anacron, atd, avahi-daemon, bluetooth, cupsys, lm-sensors, nfs-common, pcmciautils, portmap, xserver-xorg-input-wacom. Compiz is also enabled by default in 3.0 alpha, when I disabled it my desktop is more responsive and my qjackctl% usage improved. Start up sees 6 tty's getty's started by default, reducing to 3 helps also. Cheers! dave