Speed your Linux


Disable IPV6

vim /etc/sysconfig/network

CODE:

NETWORKING_IPV6=no

Maksimalkan penggunaan RAM daripada Swap

Cek default “swappiness.” cat /proc/sys/vm/swappiness. Untuk mengubahnya gunakan perintah :

CODE:

sysctl -w vm.swappiness=10

CODE:

vim /etc/sysctl.conf

masukkan nilai ini di bagian paling bawah:

CODE:

vm.swappiness=10

Selesai.

Speed Up Boot

Matikan Service² yang tidak diperlukan seperti apmd, autofs, identd, ip6tables, iptables, isdn, lpd, nfs, portmap, talkd and sendmail. (hanya contoh, sesuaikan dengan kebutuhan)

Add your hostname to Hosts

Biasanya file host seperti ini:

CODE:

127.0.0.1 localhost

Ada juga yang seperti ini:

CODE:

127.0.0.1 localhost

dan tambahkan baris:

CODE:

127.0.0.1 hostname


3 comments

  1. thx tipsnya…
    vm.swappiness=10 artinya apa?

  2. /etc/sysconfig/network g ada di debian…
    gantinya apaan ya?

  3. debian buat disable ipv6

    tambahkan nilai berikut ini ke /etc/modprobe.d/00local (jika belom ada bikin sendiri)

    alias net-pf-10 off
    alias ipv6 off

    ato

    • Debian kernel 2.4:

    * In /etc/modutils, change the line
    alias net-pf-10 ipv6
    to
    alias net-pf-10 off
    alias ipv6 off
    * Reboot.

    • Debian kernel 2.6/Ubuntu (“official” method)/Fedora Core (method 1):

    * In /etc/modprobe.d/aliases, change the line
    alias net-pf-10 ipv6
    to
    alias net-pf-10 off
    alias ipv6 off
    * Reboot.

    • Debian kernel 2.6/Ubuntu (alternate method):

    * In /etc/modprobe.d/blacklist, add a line
    blacklist ipv6
    * Reboot.

    ==================================================
    Swappiness is a kernel “knob” (located in /proc/sys/vm/swappiness) used to tweak how much the kernel favors swap over RAM; high swappiness means the kernel will swap out a lot, and low swappiness means the kernel will try not to use swap space.

    coba baca sendiri yah di http://kerneltrap.org/node/1044

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: