This is a static archive of the old Zorin Forum.

The information below may be outdated. Visit the new Zorin Forum here ›

If you have registered on the old forum, you will need to create an account on the new forum.

slimming down zorin lite

hofy

Fri Nov 07, 2014 7:55:17 am

Hi,

I think I have an awful lot of modules loaded upon boot, and I suspect I don't need most of them. here is a selection of those I am not sure about. If you spot one I should keep going, tell me. I'd like to blacklist the rest.


michael_mic 12540 4
arc4 12536 2
zram 18032 1
binfmt_misc 13140 1
dm_multipath 22402 0
scsi_dh 14458 1 dm_multipath
r852 17722 0
sm_common 16772 1 r852
pcmcia 51828 0
nand 58760 2 r852,sm_common
nand_ecc 13136 1 nand
serio_raw 13230 0
nand_bch 13067 1 nand
bch 17197 1 nand_bch
lpc_ich 16864 0
nand_ids 8547 1 nand
yenta_socket 40201 0
r592 17711 0
mtd 52813 2 nand,sm_common
pcmcia_rsrc 18319 1 yenta_socket
memstick 16174 1 r592
pcmcia_core 22328 3 pcmcia,pcmcia_rsrc,yenta_socket
asus_laptop 23897 0
sparse_keymap 13708 1 asus_laptop
input_polldev 13648 1 asus_laptop
mac_hid 13037 0
dm_mirror 21756 0
dm_region_hash 20121 1 dm_mirror
dm_log 18072 2 dm_region_hash,dm_mirror
hid_generic 12492 0
usbhid 47070 0
hid 87604 2 hid_generic,usbhid
firewire_ohci 35529 0
i2c_algo_bit 13197 1 i915
firewire_core 61867 1 firewire_ohci
psmouse 91357 0
sdhci_pci 18535 0
sdhci 37779 1 sdhci_pci
crc_itu_t 12627 1 firewire_core

I don't use:
firewire, sd card reader, printer, mouse, microphone,...

thanks!

Swarfendor437

Fri Nov 07, 2014 4:07:49 pm

Hi, you have to remember that a lot of stuff now resides in the GNU/Linux Kernel for hardware drivers so 'blacklisting' is the way to do it from what I can gather:

http://ubuntuforums.org/showthread.php?t=1807422

And as for services at startup:

1. open a terminal (Menu | Accessories | Terminal or Ctrl+ Alt+ T) and enter:

Code:
sudo apt-get install bum


2. After install, with the terminal left open enter:

Code:
bum
[You will be asked to run as root and enter your password in a separate window]

Then go to 'Services' Tab, click on Advanced, select the service to 'stop and apply now' to prevent running at reboot.

Acknowldegements to: howtechpc - http://www.youtube.com/watch?v=BMWy66XkDmU

hofy

Sun Nov 09, 2014 11:20:57 pm

bum is useless. doesn't show almost any services running. And of those it shows (e.g. cups) it isn't able to shutdown the process when I click stop now. It returns the message 'service stopped' but doesn't actually do anything and the lightbulb icon remains on.

blacklisting works partially. some of the modules I blacklisted no longer load (that's good) while other keep loading on every boot despite being blacklisted (not good).

any other tool out there to trim the running processes? thanks

Swarfendor437

Mon Nov 10, 2014 12:59:03 pm

I agree, - all I could find most appropriate to your followup:

http://askubuntu.com/questions/2194/how ... erformance