Guest User

Kernel Tweaks

a guest
Mar 9th, 2016
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.78 KB | None | 0 0
  1. [root@cw002 /var/crash]# cat /boot/loader.conf
  2. zpool_cache_load="YES"
  3. zpool_cache_type="/boot/zfs/zpool.cache"
  4. zpool_cache_name="/boot/zfs/zpool.cache"
  5. aio_load="YES"
  6. zfs_load="YES"
  7. ipmi_load="YES"
  8. hw.mca.enabled="1"
  9. hw.igb.max_interrupt_rate="32000"
  10. net.inet.tcp.syncache.hashsize="2048"
  11. net.inet.tcp.syncache.bucketlimit="150"
  12.  
  13. ####################################################
  14.  
  15. [root@cw002 /var/crash]# cat /etc/sysctl.conf
  16. # $FreeBSD: releng/10.1/etc/sysctl.conf 112200 2003-03-13 18:43:50Z mux $
  17. #
  18. # This file is read when going to multi-user and its contents piped thru
  19. # ``sysctl'' to adjust kernel values. ``man 5 sysctl.conf'' for details.
  20. #
  21.  
  22. # Uncomment this to prevent users from seeing information about processes that
  23. # are being run under another UID.
  24. #security.bsd.see_other_uids=0
  25. kern.ipc.somaxconn=6000
  26. # set to at least 16MB for 10GE hosts
  27. kern.ipc.maxsockbuf=16777216
  28. # socket buffers
  29. net.inet.tcp.recvspace=4194304
  30. net.inet.tcp.sendspace=10097152
  31. net.inet.tcp.sendbuf_max=16777216
  32. net.inet.tcp.recvbuf_max=16777216
  33. net.inet.tcp.sendbuf_auto=1
  34. net.inet.tcp.recvbuf_auto=1
  35. net.inet.tcp.sendbuf_inc=16384
  36. net.inet.tcp.recvbuf_inc=524288
  37. # security
  38. security.bsd.see_other_uids=0
  39. security.bsd.see_other_gids=0
  40. # drop UDP packets destined for closed sockets
  41. net.inet.udp.blackhole=1
  42. # drop TCP packets destined for closed sockets
  43. net.inet.tcp.blackhole=2
  44. # ipfw
  45. net.inet.ip.fw.verbose_limit=3
  46. # maximum incoming and outgoing IPv4 network queue sizes
  47. net.inet.ip.intr_queue_maxlen=2048
  48. net.route.netisr_maxqlen=2048
  49.  
  50. net.inet.icmp.icmplim: 400
  51. net.inet.tcp.fast_finwait2_recycle=1
  52. kern.random.sys.harvest.ethernet=0
  53. net.inet.ip.portrange.randomized=0
  54. net.link.lagg.0.use_flowid=0
  55. net.inet.ip.portrange.first=10000
  56. net.inet.ip.portrange.last=65535
Add Comment
Please, Sign In to add comment