File:  [ELWIX - Embedded LightWeight unIX -] / elwix / config / etc / default / sysctl.conf
Revision 1.4: download - view: text, annotated - select for diffs - revision graph
Fri Oct 12 08:22:44 2012 UTC (11 years, 9 months ago) by misho
Branches: MAIN
CVS tags: elwix1_7, HEAD, ELWIX1_6
ELWIX 1.6

    1: #!/bin/sh
    2: #
    3: # elwix sysctl.conf
    4: #
    5: # $Id: sysctl.conf,v 1.4 2012/10/12 08:22:44 misho Exp $
    6: 
    7: sysctl -w net.inet.ip.forwarding=1
    8: sysctl -w net.inet.ip.fastforwarding=1
    9: sysctl -w net.inet.tcp.ecn.enable=1
   10: sysctl -w kern.maxfilesperproc=4096
   11: sysctl -w kern.maxfiles=1024
   12: sysctl -w kern.ipc.somaxconn=1024
   13: #sysctl -w kern.ipc.maxsockets=16384
   14: #sysctl -w kern.ipc.maxsockbuf=16777216
   15: #sysctl -w kern.ipc.maxpipekva=16777216
   16: #sysctl -w net.graph.maxalloc=2048
   17: sysctl -w net.graph.maxdgram=128000
   18: sysctl -w net.graph.recvspace=128000
   19: 
   20: #net.inet.tcp.mssdflt=1452
   21: #net.inet.tcp.hostcache.expire=1
   22: 
   23: #dev.ath.0.hal.ar5416_biasadj=1

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>