[ LUGOS ] hitrost

jernej horvat j na kid.kibla.org
Čet Jun 1 22:02:18 CEST 2000


<Dejan.Beznec na ijs.si>Thu, 1 Jun 2000 na 20:18>Re: [ LUGOS ] hitrost<

> To popravis tako, da v /etc/lilo.conf dodas mislim, da:
> append="mem=128M"

Skripta za "optimizacijo" in ostale stvari.
#!/bin/bash

# nastavite glede na vas trdi disk !!!
/sbin/hdparm -c1 -d1 -m16 -u1 -k1 /dev/hda

/bin/echo "100 1200 128 512 500 3000 500 1884 2" > /proc/sys/vm/bdflush

/bin/echo "8192" > /proc/sys/fs/file-max
/bin/echo "32768" > /proc/sys/fs/inode-max
/bin/echo "4 10 60" >/proc/sys/vm/buffermem

/bin/echo "32768 61000" > /proc/sys/net/ipv4/ip_local_port_range
/bin/echo "1" > /proc/sys/net/ipv4/tcp_syncookies
#/bin/echo "0" > /proc/sys/net/ipv4/icmp_echo_ignore_all
#/bin/echo "0" > /proc/sys/net/ipv4/ip_forward
/bin/echo "1" > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts
/bin/echo "1" > /proc/sys/net/ipv4/conf/all/rp_filter

for EveryInterface in /proc/sys/net/ipv4/conf/*/rp_filter; do
       echo "1" > $EveryInterface
done

/sbin/kbdrate -r 30 -d 250


-- 




Dodatne informacije o seznamu Starilist