Follow us on...
Follow us on G+ Follow us on Twitter Follow us on Facebook Watch us on YouTube
Register
Results 1 to 7 of 7
  1. #1
    Status
    Offline
    kweteng's Avatar
    VIP Member
    Join Date
    Nov 2009
    Location
    batu wae
    Posts
    796
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0

    [SHARE] Yang mau tunning server masuk sini

    buat agan2 yang seneng tunning server, sebaiknya servis2 yang tidak perlu di disable agar memory tidak terbuang percuma, contoh jika tidak menggunakan mysql sebaiknya jangan install mysql utk proxy, mysql itu haus memory.

    mari kita mulai tunning :

    ubuntu :
    update-rc.d -f nfs-common remove
    update-rc.d -f exim4 remove

    dll

    cek di ls -ll /etc/init.d/

    redhat base :

    chkconfig bluetooth off
    chkconfig isdn off
    dll

    dan servis ini perlu di disable (di pager) sebagian, sebab setiap spawn memerlukan 4 mb memory

    all linux
    vim /etc/inittab
    #3:23:respawn:/sbin/getty 38400 tty3
    #4:23:respawn:/sbin/getty 38400 tty4
    #5:23:respawn:/sbin/getty 38400 tty5
    #6:23:respawn:/sbin/getty 38400 tty6

    FreeBSD
    vim /etc/ttys
    #ttyv3 "/usr/libexec/getty Pc" cons25 on secure
    #ttyv4 "/usr/libexec/getty Pc" cons25 on secure
    #ttyv5 "/usr/libexec/getty Pc" cons25 on secure
    #ttyv6 "/usr/libexec/getty Pc" cons25 on secure

    silahkan kalau ada yang nambahin
    Click here to enlarge Click here to enlarge

  2. The Following 10 Users Say Thank You to kweteng For This Useful Post:


  3. #2
    Status
    Offline
    mach_hilal's Avatar
    Member
    Join Date
    Feb 2010
    Posts
    229
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    mohon maaf bila salah Room.,,
    request boleh nggak?
    step by step install lightsquid (monitoring squid) versi cupu Click here to enlarge

    udah nyoba masih bingung....

    *baru kenal MT 3 bulan, kenal ubuntu belum sebulan

  4. #3
    Status
    Offline
    sum14rdi's Avatar
    VIP Member
    Join Date
    Sep 2007
    Location
    Tambun-Bekasi
    Posts
    860
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    1 (100%)
    siip....dilanjut juraganClick here to enlarge

  5. #4
    Status
    Offline
    dionipe's Avatar
    Member Senior
    Join Date
    Dec 2009
    Location
    Malang, Indonesia
    Posts
    455
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    1
    Feedback Score
    0
    ijin menyimak gan, mudah-mudahan bisa kita terapkan bersama, dan saling berbagi pengalaman.

  6. #5
    Status
    Offline
    m3tr0mini's Avatar
    Member Super Senior
    Join Date
    Sep 2007
    Posts
    660
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    bisa ditambahkan opsi untuk tuning kernel Ubuntu
    # cp /etc/sysctl.conf /etc/sysctl.conf.bak
    # Vi /etc/sysctl.conf

    ganti semua isinnya dengan ini
    Code:
    kernel.core_uses_pid=1
    kernel.sysrq=1
    net.core.optmem_max=28672
    net.core.rmem_max=1280000
    net.ipv4.tcp_rmem=4096 87380 1280000
    net.core.wmem_max=1280000
    net.ipv4.tcp_wmem=4096 87380 1280000
    net.ipv4.conf.default.rp_filter=1
    net.ipv4.conf.all.rp_filter=1
    net.ipv4.conf.all.log_martians=0
    net.ipv4.conf.all.accept_source_route=0
    net.ipv4.conf.all.accept_redirects=0
    net.ipv4.tcp_max_tw_buckets=720000
    net.ipv4.tcp_window_scaling=0
    net.ipv4.tcp_keepalive_time=1200
    net.ipv4.tcp_timestamps=0
    net.ipv4.tcp_fin_timeout=15
    net.ipv4.tcp_sack=0
    net.ipv4.tcp_syncookies=1
    net.ipv4.icmp_echo_ignore_all=1
    net.ipv4.icmp_echo_ignore_broadcasts=1
    net.ipv4.icmp_ignore_bogus_error_responses=1
    net.ipv4.ip_local_port_range=1024 65535
    net.ipv4.ip_forward=1
    net.ipv4.ip_dynaddr=0
    setelah itu save dan keluar

    #sysctl -p
    #reboot

    bisa juga pada saat akan mengkompilasi squid, anda sebaiknya mempatch memori dengan malloc memori patch...(sori lupa tutornya)
    Click here to enlargeClick here to enlarge

  7. The Following 2 Users Say Thank You to m3tr0mini For This Useful Post:


  8. #6
    Status
    Offline
    ucok_karnadi's Avatar
    ..:: Masih Bodoh ::..
    Join Date
    Jan 2009
    Location
    PATI - JAWA TENGAH
    Posts
    1,178
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    Click here to enlarge Originally Posted by m3tr0mini Click here to enlarge
    bisa ditambahkan opsi untuk tuning kernel Ubuntu
    # cp /etc/sysctl.conf /etc/sysctl.conf.bak
    # Vi /etc/sysctl.conf

    ganti semua isinnya dengan ini
    Code:
    kernel.core_uses_pid=1
    kernel.sysrq=1
    net.core.optmem_max=28672
    net.core.rmem_max=1280000
    net.ipv4.tcp_rmem=4096 87380 1280000
    net.core.wmem_max=1280000
    net.ipv4.tcp_wmem=4096 87380 1280000
    net.ipv4.conf.default.rp_filter=1
    net.ipv4.conf.all.rp_filter=1
    net.ipv4.conf.all.log_martians=0
    net.ipv4.conf.all.accept_source_route=0
    net.ipv4.conf.all.accept_redirects=0
    net.ipv4.tcp_max_tw_buckets=720000
    net.ipv4.tcp_window_scaling=0
    net.ipv4.tcp_keepalive_time=1200
    net.ipv4.tcp_timestamps=0
    net.ipv4.tcp_fin_timeout=15
    net.ipv4.tcp_sack=0
    net.ipv4.tcp_syncookies=1
    net.ipv4.icmp_echo_ignore_all=1
    net.ipv4.icmp_echo_ignore_broadcasts=1
    net.ipv4.icmp_ignore_bogus_error_responses=1
    net.ipv4.ip_local_port_range=1024 65535
    net.ipv4.ip_forward=1
    net.ipv4.ip_dynaddr=0
    setelah itu save dan keluar

    #sysctl -p
    #reboot

    bisa juga pada saat akan mengkompilasi squid, anda sebaiknya mempatch memori dengan malloc memori patch...(sori lupa tutornya)
    Click here to enlargeClick here to enlarge
    boleh minta penjelasannya gan dari masing masing line. atau kalau kita punya memory sekian dan prosesor sekian cara ngitungnya gimana??
    terimakasih gan. semoga saya terbantu atas penjelasannya. terimakasih

  9. The Following User Says Thank You to ucok_karnadi For This Useful Post:


  10. #7
    Status
    Offline
    m3tr0mini's Avatar
    Member Super Senior
    Join Date
    Sep 2007
    Posts
    660
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    parameter-parameter tersebut merupakan parameter kernel linux
    dengan sedikit mentuning paramter kernel tersebut, maka server box anda akan semakin kencang.

    silahkan googling dengan keyword
    "linux kernel tuning"

  11. The Following User Says Thank You to m3tr0mini For This Useful Post:


 

 

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Warnet+game Online Masuk Sini
    By dingo in forum General Networking
    Replies: 1467
    Last Post: 30-12-2017, 00:13
  2. Yang aneh masuk sini
    By brobdingnag in forum Chit Chat
    Replies: 10
    Last Post: 10-09-2010, 01:03
  3. Yang Punya Masalah soal CF masuk sini
    By mtomstone in forum General Networking
    Replies: 7
    Last Post: 28-08-2009, 00:34

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •