Articles Comments

{ Berbagi, Menulis, Dan Mengajar } Ilmu… » Free-BSD » Options Configuration Kernel FreeBSD

Options Configuration Kernel FreeBSD

Bikin Kernel “FreeBSD” Tambah Garang
#Tuning For Squid
options MSGMNB=16384 # max # of bytes in a queue
options MSGMNI=41 # number of message queue identifiers
options MSGSEG=2049 # number of message segments per queue
options MSGSSZ=64 # size of a message segment
options MSGTQL=512 # max messages in system
options SHMSEG=16
options SHMMNI=32
options SHMMAX=2097152
options SHMALL=4096
options MAXFILES=8192
options NMBCLUSTERS=32768
options VFS_AIO

#IPFW
options IPFIREWALL
options IPFIREWALL_VERBOSE
options IPFIREWALL_FORWARD
options IPFIREWALL_DEFAULT_TO_ACCEPT
options IPDIVERT

# options Bandwidth Management
options DUMMYNET
options BRIDGE
options HZ=1000

#IPF “Don’t Use
# options IPFILTER
# options IPFILTER_LOG
# options IPFILTER_DEFAULT_BLOCK
# options RANDOM_IP_ID

# PF Device ENABLE
device pf
device pflog
device pfsync

# ALTQ ENABLED
device bpf # default
options INET # default
options INET6 # default
#options RANDOM_IP_ID
#options PFIL_HOOKS
options ALTQ
options ALTQ_CBQ # Class Bases Queuing (CBQ)
options ALTQ_RED # Random Early Detection (RED)
options ALTQ_RIO # RED In/Out
options ALTQ_HFSC # Hierarchical Packet Scheduler (HFSC)
options ALTQ_PRIQ # Priority Queuing (PRIQ)
options ALTQ_NOPCC # Required for SMP build

#—– VLAN ENABLE
device vlan

.:GoodLuck:.

Filed under: Free-BSD

Leave a Reply

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>