Skip to content

Tag Archives: kernel

Tuning FreeBSD for Samba network performance

16-Mar-10

I’ve already compiled a custom kernel that enables polling. I’m now following http://forums.freebsd.org/showthread.php?t=9187: in loader.conf: aio_load="YES" Luckily, I had already built samba with AIO support. In smb.conf: min receivefile size = 131072 aio read size = 1 aio write size = 1 use sendfile = yes In rc.conf: ifconfig_re0="DHCP polling" in sysctl.conf: kern.ipc.maxsockbuf=16777216 kern.ipc.nmbclusters=32768 kern.ipc.somaxconn=32768 [...]

Archiving syslog (dmesg)

09-Mar-10

I’m about to build a FreeBSD kernel, so I decided to keep track of my boot-up console messages. I ran the following: cat /var/run/dmesg.boot | mutt -nx -s "syslog" $EMAILADDRESS (Replace $EMAILADDRESS with a real email address.) Copyright (c) 1992-2009 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 [...]