File:  [ELWIX - Embedded LightWeight unIX -] / elwix / config / etc / uboot / sysctl.conf
Revision 1.3.2.1: download - view: text, annotated - select for diffs - revision graph
Thu Jun 8 11:12:45 2017 UTC (7 years, 2 months ago) by misho
Branches: elwix2_6
Diff to: branchpoint 1.3: preferred, unified
improve sysctl settings for network performance

    1: #!/bin/sh
    2: #
    3: # elwix sysctl.conf
    4: #
    5: # $Id: sysctl.conf,v 1.3.2.1 2017/06/08 11:12:45 misho Exp $
    6: 
    7: sysctl -w kern.coredump=0
    8: sysctl -w kern.ipc.somaxconn=1024
    9: sysctl -w kern.ipc.nmbclusters=1024
   10: sysctl -w kern.eventtimer.periodic=1
   11: sysctl -w net.inet.ip.forwarding=1
   12: sysctl -w net.inet.ip.fastforwarding=1
   13: sysctl -w net.inet.tcp.ecn.enable=1
   14: sysctl -w net.inet6.ip6.forwarding=1
   15: sysctl -w net.inet6.ip6.accept_rtadv=0
   16: sysctl -w net.inet6.ip6.no_radr=0
   17: sysctl -w kern.maxfilesperproc=4096
   18: sysctl -w kern.maxfiles=1024
   19: #sysctl -w kern.ipc.maxsockets=16384
   20: #sysctl -w kern.ipc.maxsockbuf=16777216
   21: #sysctl -w kern.ipc.maxpipekva=16777216
   22: 
   23: #sysctl -w hw.ath.bstuck=8
   24: #net.inet.tcp.mssdflt=1452
   25: #net.inet.tcp.hostcache.expire=1
   26: #dev.ath.0.hal.ar5416_biasadj=1

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