RSS2.0

Tuesday, March 17, 2009

openSUSE 11 Speed Tweaks

1. Disable Swap.
Swap is provide to anticipate lack of memory when using heavy application like graphical application. But sometime i using it.
To disable swap, in terminal konsole as root type /sbin/swapoff -a, anyway it can enable anytime with /sbin/swapon -a.

add on : Oct 17, 2008
Just found the effect when i swap off 256 MB RAM on my friend PC. It’s resulting Hang. I’m not recommend to disable swap if RAM size <=256MB

2. Inactivate Unnecessary Service
Open Yast | System | System Service (Runlevel) and click Expert Mode radio button. Disable service below by pressing STOP button then following with SET button to disable.
1. aaventd
2. boot.aapmor
3. atd
4. auditd
5. autofs
6. autoyast
7. fbset
8. gpm
9. joystick
10. mdadmd
11. portmap
12. nfs
13. nscd
14. ntp
15. openct
16. pcscd
17. postfix
18. powerd
19. powersaved
20. raw
21. rpasswdd
22. smbfs
23. spamd
24. xfs
25. xinetd
26. ypbind

3. Edit Innitab
At terminal konsole type vi /etc/inittab then push insert button on keyboard and give comment with # at following line :
1:2345:respawn:/sbin/mingetty –noclear tty1
2:2345:respawn:/sbin/mingetty tty2
#3:2345:respawn:/sbin/mingetty tty3
#4:2345:respawn:/sbin/mingetty tty4
#5:2345:respawn:/sbin/mingetty tty5
#6:2345:respawn:/sbin/mingetty tty6

This will inactivate ty3~tty6

4. Modify sysconfig
open Yast | System | /etc/sysconfig Editor, click plus on SYSTEM then KERNEL tree and change
SCHED_MINTIMESLICE to 1000
SCHED_MAXTIMESLICE to 40000
next click File systems then mdadm, change MDADM_DELAY to 0.

5. Edit Service Manager
open K menu | Personal Settings | advance tab | Service Manager
Let below service running :
KDED Favicon Module
Konqueror preloader (if using Konqueror)
Kwallet Daemon Module

And disable others than above.

6. Inactivate Beagle
open Yast | Software | Software Management
search for beagle and tick to remove this application then click Accept Button.

1 comment:

tiki tongas said...

hi
you should include more info in each tweak. people need to be sure of what they are doing and also to learn what and why they are commenting out a line of code or disabling a service.